public abstract class ElementCommand extends java.lang.Object implements IElementCommand
| 构造器和说明 |
|---|
ElementCommand() |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
canRedo()
Tells if this record can be redone.
|
boolean |
canUndo()
Tells if this record can be undone.
|
abstract void |
execute()
Executes the record.
|
java.lang.String |
getLabel()
Gets the label of this record.
|
abstract void |
redo()
Redoes the record.
|
abstract void |
undo()
Undoes the record.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetElementHandlepublic abstract void execute()
IElementCommandexecute 在接口中 IElementCommandpublic abstract void undo()
IElementCommandundo 在接口中 IElementCommandpublic abstract void redo()
IElementCommandredo 在接口中 IElementCommandpublic boolean canUndo()
IElementCommandcanUndo 在接口中 IElementCommandpublic boolean canRedo()
IElementCommandcanRedo 在接口中 IElementCommandpublic java.lang.String getLabel()
IElementCommandgetLabel 在接口中 IElementCommandCopyright © 2008 Actuate Corp. All rights reserved.