public class ValidationEvent
extends java.util.EventObject
DiagramListener.| Constructor and Description |
|---|
ValidationEvent(java.lang.Object source)
Initializes a new ValidationEvent instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
cancelDrag()
Immediately cancels the item's creation or modification.
|
boolean |
getCancel()
Gets a value indicating whether to prevrent the user from completing the operation.
|
void |
setCancel(boolean cancel)
Sets a value indicating whether to prevrent the user from completing the operation
|
public ValidationEvent(java.lang.Object source)
public void cancelDrag()
public boolean getCancel()
public void setCancel(boolean cancel)
cancel - true to cancel the operation; false to approve it.