|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.AbstractAction
gistoolkit.application.command.SimpleCommand
gistoolkit.application.command.EditCommand
Command to select objects on the display to edit, and then edit (move the nodes of the selected object) Creation date: (4/24/2001 2:17:21 PM)
Nested Class Summary |
Nested classes inherited from class javax.swing.AbstractAction |
|
Field Summary |
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 | |
EditCommand()
SelectCommand constructor comment. |
|
EditCommand(GISEditor inEditor)
Construct a simple command with this display. |
Method Summary | |
void |
actionPerformed(java.awt.event.ActionEvent inActionEvent)
Respont to the actions of the buttons |
void |
execute()
Sets the draw model in the display. |
void |
executeDraw(DrawModel inDrawModel)
On the first call for the select model, it will change the model to the edit model. |
EditNodesDrawModel |
getEditModel()
Insert the method's description here. |
boolean |
isSelected()
Determines if the command has selected a shape to edit yet. |
void |
pointAdded(Point inPoint)
Called when a point is added to the shape. |
void |
pointDeselected(Point inPoint)
Called when a point is deselected. |
void |
pointRemoved(Point inPoint)
Called when a point is removed. |
void |
pointSelected(Point inPoint)
Called when a point is selected. |
void |
removeDraw(DrawModel inDrawModel)
Removes the additional buttons from visibility. |
void |
setAdd()
Set the state of the EditNodesDrawModel to Add. |
void |
setButton(GISMenuButton inButton)
Set the button in this command. |
void |
setDelete()
Set the state of the EditNodesDrawModel to Delete. |
void |
setEditModel(EditNodesDrawModel newEditModel)
Insert the method's description here. |
void |
setMove()
Set the state of the EditNodesDrawModel to Move. |
void |
shapeUpdated(EditNodesDrawModelEvent inEvent)
called when the shape is updated in any way. |
void |
shapeUpdated(Shape inShape)
Called when any update happens to the shape. |
Methods inherited from class gistoolkit.application.command.SimpleCommand |
executeAlternate, getGISDisplay, getGISEditor, getIcon, 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 |
Constructor Detail |
public EditCommand()
public EditCommand(GISEditor inEditor)
Method Detail |
public void execute()
execute
in interface Command
execute
in class SimpleCommand
public void executeDraw(DrawModel inDrawModel)
executeDraw
in interface Command
executeDraw
in class SimpleCommand
public EditNodesDrawModel getEditModel()
public boolean isSelected()
public void setAdd()
public void setDelete()
public void setEditModel(EditNodesDrawModel newEditModel)
newEditModel
- display.drawmodel.EditNodesDrawModelpublic void setMove()
public void actionPerformed(java.awt.event.ActionEvent inActionEvent)
actionPerformed
in interface java.awt.event.ActionListener
actionPerformed
in class SimpleCommand
public void removeDraw(DrawModel inDrawModel)
removeDraw
in interface Command
removeDraw
in class SimpleCommand
public void setButton(GISMenuButton inButton)
public void pointRemoved(Point inPoint)
pointRemoved
in interface ShapeEditorListener
public void pointAdded(Point inPoint)
pointAdded
in interface ShapeEditorListener
public void pointDeselected(Point inPoint)
pointDeselected
in interface ShapeEditorListener
public void shapeUpdated(Shape inShape)
shapeUpdated
in interface ShapeEditorListener
public void pointSelected(Point inPoint)
pointSelected
in interface ShapeEditorListener
public void shapeUpdated(EditNodesDrawModelEvent inEvent)
shapeUpdated
in interface EditNodesDrawModelListener
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |