|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.EventObject
hades.gui.Command
hades.gui.DeleteAllCommand
DeleteAllCommand - delete all objects from an HADES Design.
| Field Summary | |
(package private) java.util.Hashtable |
c_table
|
(package private) java.util.Hashtable |
s_table
|
| Fields inherited from class hades.gui.Command |
console, debug, editor, ready, versionString |
| Fields inherited from class java.util.EventObject |
source |
| Constructor Summary | |
DeleteAllCommand(Editor editor)
construct an DeleteAllCommand, before we know whether to delete a component (SimObject) or a Signal. |
|
| Method Summary | |
void |
execute()
perform the action corresponding to this DeleteAllCommand object and register it with the UndoStack. |
java.lang.String |
getDescription()
|
boolean |
isReady()
check whether the current DeleteAllCommand object is ready (has all required parameters, etc.). |
void |
mousePressed(FigCanvasEvent ME)
extract the screen and world coordinates of this Event, and dispatch to setPosition(). |
void |
setPosition(java.awt.Point SP,
java.awt.Point WP)
the following method is used to pass the (snapped!) |
java.lang.String |
toString()
toString(): identify this DeleteAllCommand |
void |
undo()
try to undo the action corresponding to this DeleteAllCommand object. |
| Methods inherited from class hades.gui.Command |
actionPerformed, cancel, dbg, initialize, keyPressed, keyReleased, keyTyped, message, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, statusMessage |
| Methods inherited from class java.util.EventObject |
getSource |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
java.util.Hashtable c_table
java.util.Hashtable s_table
| Constructor Detail |
public DeleteAllCommand(Editor editor)
| Method Detail |
public boolean isReady()
isReady in class Commandpublic void execute()
execute in class Commandpublic void undo()
undo in class Commandpublic void mousePressed(FigCanvasEvent ME)
mousePressed in interface FigCanvasListenermousePressed in class Command
public void setPosition(java.awt.Point SP,
java.awt.Point WP)
Command
setPosition in class Commandpublic java.lang.String toString()
toString in class Commandpublic java.lang.String getDescription()
getDescription in class Command
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||