public abstract class ElementCommand extends java.lang.Object implements IElementCommand
Constructor and Description |
---|
ElementCommand() |
Modifier and Type | Method and Description |
---|---|
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, wait
getElementHandle
public abstract void execute()
IElementCommand
execute
in interface IElementCommand
public abstract void undo()
IElementCommand
undo
in interface IElementCommand
public abstract void redo()
IElementCommand
redo
in interface IElementCommand
public boolean canUndo()
IElementCommand
canUndo
in interface IElementCommand
public boolean canRedo()
IElementCommand
canRedo
in interface IElementCommand
public java.lang.String getLabel()
IElementCommand
getLabel
in interface IElementCommand
Copyright © 2008 Actuate Corp. All rights reserved.