com.mindfusion.diagramming
Class CellValidationEvent
java.lang.Object
java.util.EventObject
com.mindfusion.diagramming.CellEvent
com.mindfusion.diagramming.CellValidationEvent
- All Implemented Interfaces:
- java.io.Serializable
public class CellValidationEvent
- extends CellEvent
Contains the arguments passed to event handlers, such as CellTextEditing.
- See Also:
- Serialized Form
Fields inherited from class java.util.EventObject |
source |
Constructor Summary |
CellValidationEvent(java.lang.Object source,
Cell cell,
int mouseButton,
java.awt.geom.Point2D mousePosition,
int column,
int row)
|
Method Summary |
boolean |
getCancel()
Gets a value indicating whether to prevent the user from completing the operation. |
void |
setCancel(boolean cancel)
Sets a value indicating whether to prevent the user from completing the operation. |
Methods inherited from class java.util.EventObject |
getSource, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
CellValidationEvent
public CellValidationEvent(java.lang.Object source,
Cell cell,
int mouseButton,
java.awt.geom.Point2D mousePosition,
int column,
int row)
getCancel
public boolean getCancel()
- Gets a value indicating whether to prevent the user from completing the operation.
- Returns:
- true to cancel the operation; false to approve it.
setCancel
public void setCancel(boolean cancel)
- Sets a value indicating whether to prevent the user from completing the operation.
- Parameters:
cancel
-