com.mindfusion.diagramming
Class DiagramPageValidationEvent

java.lang.Object
  extended by java.util.EventObject
      extended by com.mindfusion.diagramming.DiagramPageEvent
          extended by com.mindfusion.diagramming.DiagramPageValidationEvent
All Implemented Interfaces:
java.io.Serializable

public class DiagramPageValidationEvent
extends DiagramPageEvent

Contains the arguments passed to handlers of DiagramPage validation events.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
DiagramPageValidationEvent(java.lang.Object source, DiagramPage diagramPage)
          Initializes a new instance of the DiagramPageValidationEvent class.
 
Method Summary
 boolean getCancel()
          Gets a value indicating whether to cancel the current operation.
 void setCancel(boolean value)
          Gets a value indicating whether to cancel the current operation.
 
Methods inherited from class com.mindfusion.diagramming.DiagramPageEvent
getDiagramPage
 
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

DiagramPageValidationEvent

public DiagramPageValidationEvent(java.lang.Object source,
                                  DiagramPage diagramPage)
Initializes a new instance of the DiagramPageValidationEvent class.

Parameters:
source - The object on which the event initially occurred.
diagramPage - The DiagramPage related to the event.
Method Detail

getCancel

public boolean getCancel()
Gets a value indicating whether to cancel the current operation.


setCancel

public void setCancel(boolean value)
Gets a value indicating whether to cancel the current operation. Set this property to true to prevent the user from completing the operation.