|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
The VetoableVisualGraphListener interface defines an object that
is able to receive events that are related to a VisualGraph
instance and is able to veto the received events.
To veto an event means that the processing of the event is completely
stopped.
To veto an event the listener has to throw a
VisualGraphEventVetoException.
VetoableVisualGraphListeners should not process an event like
a normal VisualGraphListener may does. Their sole task is to
veto an event if necessary.
| Method Summary | |
void |
vetoableIsolatedVisualEdgePreAdd(VisualGraphEvent visualgraphevent)
This mehtod is called when an isolated VisualEdge is about
to be added to a VisualGraph. |
void |
vetoableIsolatedVisualEdgePreRemove(VisualGraphEvent visualgraphevent)
This method is called when an isolated VisualEdge is about
to be removed from a VisualGraph. |
void |
vetoableVisualEdgePreAdd(VisualGraphEvent visualgraphevent)
This mehtod is called when an VisualEdge is about to be
added to a VisualGraph. |
void |
vetoableVisualEdgePreRemove(VisualGraphEvent visualgraphevent)
This method is called when an VisualEdge is about to be
removed from a VisualGraph. |
void |
vetoableVisualNodePreAdd(VisualGraphEvent visualgraphevent)
This method is called when a VisualNode is about to be added
to a VisualGraph. |
void |
vetoableVisualNodePreRemove(VisualGraphEvent visualgraphevent)
This method is called when a VisualNode is about to be
removed from a VisualGraph. |
| Method Detail |
public void vetoableVisualNodePreAdd(VisualGraphEvent visualgraphevent)
throws VisualGraphEventVetoException
VisualNode is about to be added
to a VisualGraph.VisualGraphEventVetoException
the event will be veto'd and the corresponding action will not be
completed.
visualgraphevent - the VisualGraphEvent structure
carrying event information.
VisualGraphEventVetoException - that indicates the
VisualGraphEvent is not desired.
public void vetoableVisualNodePreRemove(VisualGraphEvent visualgraphevent)
throws VisualGraphEventVetoException
VisualNode is about to be
removed from a VisualGraph.VisualGraphEventVetoException
the event will be veto'd and the corresponding action will not be
completed.
visualgraphevent - the VisualGraphEvent structure
carrying event information.
VisualGraphEventVetoException - that indicates the
VisualGraphEvent is not desired.
public void vetoableVisualEdgePreAdd(VisualGraphEvent visualgraphevent)
throws VisualGraphEventVetoException
VisualEdge is about to be
added to a VisualGraph.VisualGraphEventVetoException
the event will be veto'd and the corresponding action will not be
completed.
visualgraphevent - the VisualGraphEvent structure
carrying event information.
VisualGraphEventVetoException - that indicates the
VisualGraphEvent is not desired.
public void vetoableVisualEdgePreRemove(VisualGraphEvent visualgraphevent)
throws VisualGraphEventVetoException
VisualEdge is about to be
removed from a VisualGraph.VisualGraphEventVetoException
the event will be veto'd and the corresponding action will not be
completed.
visualgraphevent - the VisualGraphEvent structure
carrying event information.
VisualGraphEventVetoException - that indicates the
VisualGraphEvent is not desired.
public void vetoableIsolatedVisualEdgePreAdd(VisualGraphEvent visualgraphevent)
throws VisualGraphEventVetoException
VisualEdge is about
to be added to a VisualGraph.VisualGraphEventVetoException
the event will be veto'd and the corresponding action will not be
completed.
visualgraphevent - the VisualGraphEvent structure
carrying event information.
VisualGraphEventVetoException - that indicates the
VisualGraphEvent is not desired.
public void vetoableIsolatedVisualEdgePreRemove(VisualGraphEvent visualgraphevent)
throws VisualGraphEventVetoException
VisualEdge is about
to be removed from a VisualGraph.VisualGraphEventVetoException
the event will be veto'd and the corresponding action will not be
completed.
visualgraphevent - the VisualGraphEvent structure
carrying event information.
VisualGraphEventVetoException - that indicates the
VisualGraphEvent is not desired.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||