|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.EventObject com.mindfusion.diagramming.NodeEvent com.mindfusion.diagramming.NodeValidationEvent
public class NodeValidationEvent
Contains the arguments passed to handlers of node validation events.
Field Summary |
---|
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
NodeValidationEvent(java.lang.Object source,
DiagramNode node)
Represents methods that will handle node validation events. |
|
NodeValidationEvent(java.lang.Object source,
DiagramNode node,
java.awt.geom.Point2D mousePosition,
int adjustmentHandle)
|
|
NodeValidationEvent(java.lang.Object source,
DiagramNode node,
java.awt.geom.Rectangle2D selectionRectangle)
|
Method Summary | |
---|---|
void |
cancelDrag()
Cancels the creation or modification of the node. |
boolean |
getCancel()
Gets a value indicating whether to cancel the current operation. |
java.awt.geom.Rectangle2D |
getSelectionRectangle()
Gets the current selection rectangle. |
void |
setCancel(boolean cancel)
Sets a value indicating whether to cancel the current operation. |
Methods inherited from class com.mindfusion.diagramming.NodeEvent |
---|
getAdjustmentHandle, getMouseButton, getMousePosition, getNode, setAdjustmentHandle, setMousePosition |
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 |
---|
public NodeValidationEvent(java.lang.Object source, DiagramNode node)
source
- The source of the event.node
- A DiagramNode
public NodeValidationEvent(java.lang.Object source, DiagramNode node, java.awt.geom.Point2D mousePosition, int adjustmentHandle)
public NodeValidationEvent(java.lang.Object source, DiagramNode node, java.awt.geom.Rectangle2D selectionRectangle)
Method Detail |
---|
public void cancelDrag()
public boolean getCancel()
public void setCancel(boolean cancel)
cancel
- true to cancel the operation; false to approve it.public java.awt.geom.Rectangle2D getSelectionRectangle()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |