com.mindfusion.diagramming
Class CellValidationEvent

java.lang.Object
  extended by java.util.EventObject
      extended by com.mindfusion.diagramming.CellEvent
          extended by 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

Field Summary
 
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 com.mindfusion.diagramming.CellEvent
getCell, getColumn, getMouseButton, getMousePosition, getRow, getTable
 
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
 

Constructor Detail

CellValidationEvent

public CellValidationEvent(java.lang.Object source,
                           Cell cell,
                           int mouseButton,
                           java.awt.geom.Point2D mousePosition,
                           int column,
                           int row)
Method Detail

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 -