|
||||||||||
| 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.DeleteProbeFromSignalCommand
DeleteProbeFromSignalCommand - delete a Waveform probe from a Signal
| Field Summary | |
(package private) ObjectCanvas |
canvas
|
(package private) java.awt.Point |
pos1
|
(package private) ProbeSymbol |
probeSymbol
|
(package private) Signal |
signal
|
(package private) Waveform |
waveform
|
| Fields inherited from class hades.gui.Command |
console, debug, editor, ready, versionString |
| Fields inherited from class java.util.EventObject |
source |
| Constructor Summary | |
DeleteProbeFromSignalCommand(Editor editor)
The standard constructor for a DeleteProbeFromSignalCommand |
|
| Method Summary | |
void |
execute()
delete the probe and register this command with the UndoStack |
java.lang.String |
getDescription()
|
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)
We expect the position of a vertex of the Signal whose probe shall be removed. |
java.lang.String |
toString()
toString(): identify this DeleteProbeFromSignalCommand |
void |
undo()
undo the action corresponding to this DeleteProbeFromSignalCommand: not yet... |
| Methods inherited from class hades.gui.Command |
actionPerformed, cancel, dbg, initialize, isReady, 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.awt.Point pos1
Signal signal
Waveform waveform
ObjectCanvas canvas
ProbeSymbol probeSymbol
| Constructor Detail |
public DeleteProbeFromSignalCommand(Editor editor)
| Method Detail |
public 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)
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 | |||||||||