public class UndoValidationEvent extends UndoEvent
| Constructor and Description |
|---|
UndoValidationEvent(java.lang.Object source,
Command command)
Initializes a new instance of the UndoValidationEvent class.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
getCancel()
Gets a value indicating whether the operation should be canceled.
|
void |
setCancel(boolean cancel)
Sets a value indicating whether the operation should be canceled.
|
getCommandpublic boolean getCancel()
public void setCancel(boolean cancel)
cancel - true to cancel the operation; false to approve it.