gistoolkit.application.command
Class ShowAttributeCommand

java.lang.Object
  extended byjavax.swing.AbstractAction
      extended bygistoolkit.application.command.SimpleCommand
          extended bygistoolkit.application.command.ShowAttributeCommand
All Implemented Interfaces:
javax.swing.Action, java.awt.event.ActionListener, AttributeTableViewerListener, java.lang.Cloneable, Command, java.util.EventListener, java.io.Serializable

public class ShowAttributeCommand
extends SimpleCommand
implements AttributeTableViewerListener

Command to select all the visible records within the selected layer. Creation date: (4/24/2001 2:17:21 PM)

See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class javax.swing.AbstractAction
 
Field Summary
 Layer myLayer
          The layer to use when the dialog is called.
 
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
 
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
ShowAttributeCommand(GISEditor inEditor)
          Construct a simple command with this editor.
 
Method Summary
 void execute()
          Sets the draw model in the display.
static java.lang.String getName()
          The identifying name for this command
 void recordSelected(Record inRecord)
          Called when a row is selected.
 
Methods inherited from class gistoolkit.application.command.SimpleCommand
actionPerformed, executeAlternate, executeDraw, getGISDisplay, getGISEditor, getIcon, removeDraw, setGISDisplay, setGISEditor, showError, showInformation
 
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

myLayer

public Layer myLayer
The layer to use when the dialog is called.

Constructor Detail

ShowAttributeCommand

public ShowAttributeCommand(GISEditor inEditor)
Construct a simple command with this editor.

Method Detail

getName

public static java.lang.String getName()
The identifying name for this command


execute

public void execute()
Sets the draw model in the display.

Specified by:
execute in interface Command
Overrides:
execute in class SimpleCommand

recordSelected

public void recordSelected(Record inRecord)
Called when a row is selected.

Specified by:
recordSelected in interface AttributeTableViewerListener