|
UC Berkeley Group for User Interface Research Updated November 17, 2000 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Satin specific commands. Command objects make operations first-order objects, allowing us to easily undo and redo things.
This software is distributed under the Berkeley Software License.
Revisions: - SATIN-v1.0-1.0.0, Jun 22 1999, JH Created class - SATIN-v2.1-1.0.0, Aug 11 2000, JH Touched for SATIN release
Inner classes inherited from class edu.berkeley.guir.lib.satin.SatinConstants |
SatinConstants.ObjectPoolAffineTransform, SatinConstants.ObjectPoolPoint2D, SatinConstants.ObjectPoolPolygon2D, SatinConstants.ObjectPoolRectangle2D, SatinConstants.ObjectPoolStringBuffer, SatinConstants.UniqueAffineTransform, SatinConstants.UniquePoint2D, SatinConstants.UniquePolygon2D, SatinConstants.UniqueRectangle2D |
Method Summary | |
void |
disable()
Disable this command, disallowing execution. |
void |
enable()
Enable this command, allowing execution. |
void |
execute()
Execute the command this object represents. |
long |
getExecutionTime()
Get the system time this command was first executed. |
boolean |
isDisabled()
Test if this command is disabled or not. |
boolean |
isEnabled()
Test if this command is enabled or not. |
void |
setExecutionTime()
Set the time this command was executed to the current time. |
void |
setExecutionTime(long l)
Set the time this command was executed to the specified time. |
Methods inherited from interface javax.swing.undo.UndoableEdit |
addEdit, canRedo, canUndo, die, getPresentationName, getRedoPresentationName, getUndoPresentationName, isSignificant, redo, replaceEdit, undo |
Method Detail |
public void execute()
public boolean isEnabled()
public boolean isDisabled()
public void enable()
public void disable()
public void setExecutionTime()
public void setExecutionTime(long l)
l
- is the time to set the execution time to.public long getExecutionTime()
|
Copyright Information | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |