com.mindfusion.diagramming
Class DiagramAdapter

java.lang.Object
  extended by com.mindfusion.diagramming.DiagramAdapter
All Implemented Interfaces:
DiagramListener, java.util.EventListener

public class DiagramAdapter
extends java.lang.Object
implements DiagramListener

Provides empty implementations for the methods defined in the DiagramListener interface. This lets you override only the handlers for the events you are interested in, instead of implementing all methods of DiagramListener.


Constructor Summary
DiagramAdapter()
           
 
Method Summary
 void actionRecorded(UndoEvent e)
          Raised when an action is recorded in the undo buffer.
 void actionRecording(UndoValidationEvent e)
          A validation event raised before an action is recorded in the undo buffer.
 void actionRedone(UndoEvent e)
          Raised when an action is redone.
 void actionUndone(UndoEvent e)
          Raised when an action is undone.
 void activeLayerChanged(java.util.EventObject e)
          Raised when the diagram's active layer has changed.
 void cellClicked(CellEvent e)
          Called when a table cell is clicked.
 void cellDoubleClicked(CellEvent e)
          Raised when the user double-clicks a table's cell.
 void cellTextEdited(EditCellTextEvent e)
          Raised when the user edits the text of a table's cell.
 void cellTextEditing(CellValidationEvent e)
          A validation event that lets you prevent users from editing the text of a table's cell.
 void clicked(DiagramEvent e)
          Raised when the user clicks the diagram at a point where no items are located.
 void containerChildAdded(ContainerChildEvent e)
          Raised when a node is added to a ContainerNode, either programmatically or by the user.
 void containerChildRemoved(ContainerChildEvent e)
          Raised when a node is removed from a ContainerNode, either programmatically or by the user.
 void containerFolded(NodeEvent e)
          Raised when the user folds a container by clicking the arrow-up button in the container's caption area.
 void containerUnfolded(NodeEvent e)
          Raised when the user unfolds a container by clicking the arrow-down button in the container's caption area.
 void deserializeControl(ControlNodeEvent e)
          Lets you load the attributes of controls hosted inside ControlNode objects.
 void deserializeTag(SerializeTagEvent e)
          Raised when the tag of a diagram item must be deserialized from XML format.
 void doubleClicked(DiagramEvent e)
          Raised when the user double-clicks the diagram at a point where no items are located.
 void drawAdjustmentHandles(DrawItemEvent e)
          Raised when custom adjustment handles must be drawn.
 void drawAnchorPoint(DrawAnchorPointEvent e)
          Raised when an anchor point must be custom drawn.
 void drawBackground(DiagramEvent e)
          Raised to let you custom draw the diagram background.
 void drawCell(DrawCellEvent e)
          Raised when a table's cell must be custom drawn.
 void drawForeground(DiagramEvent e)
          Raised to let you custom draw the diagram foreground.
 void drawLink(DrawLinkEvent e)
          Raised when a diagram link must be custom drawn.
 void drawNode(DrawNodeEvent e)
          Raised when a diagram node must be custom drawn.
 void enterInplaceEditMode(InPlaceEditEvent e)
          Called when entering inplace-edit mode.
 void expandButtonClicked(NodeEvent e)
          Raised when the user clicks the [±] button of a expandable node.
 void groupDestroyed(GroupEvent e)
          Raised when a Group object is destroyed.
 void hitTestAdjustmentHandles(HitTestEvent e)
          Raised to perform custom hit testing of item's adjustment handles.
 void imageLoaded(ImageLoadedEvent e)
          Called when image download initiated with Diagram.setImageUrl completes
 void initializeLink(LinkEvent e)
          Raised when the user starts drawing a new link, just after the DiagramLink instance is created.
 void initializeNode(NodeEvent e)
          Raised when the user starts drawing a new node, just after the DiagramNode instance is created.
 void itemAdded(ItemEvent e)
          Raised when an item is added to the diagram, either programmatically or interactively.
 void itemLoaded(ItemEvent e)
          Raised when an item is loaded from a file.
 void itemRemoved(ItemEvent e)
          Raised when an item is removed from the diagram, either programmatically or interactively.
 void leaveInplaceEditMode(InPlaceEditEvent e)
          Called when an inplace edit is accepted or rejected
 void linkActivated(LinkEvent e)
          Raised when a link becomes the activeItem.
 void linkClicked(LinkEvent e)
          Raised when the user clicks a link.
 void linkCreated(LinkEvent e)
          Raised when the user draws a new link.
 void linkCreating(LinkValidationEvent e)
          A validation event raised while the user is drawing a new link.
 void linkDeactivated(LinkEvent e)
          Raised when a link is no longer the active Item.
 void linkDeleted(LinkEvent e)
          Raised when a link is deleted, either programmatically or by the user.
 void linkDeleting(LinkValidationEvent e)
          Raised when the user tries to delete a link, this event lets you cancel the operation.
 void linkDeselected(LinkEvent e)
          Raised when a link is deselected, either programmatically or by the user.
 void linkDoubleClicked(LinkEvent e)
          Raised when the user double-clicks a link.
 void linkModified(LinkEvent e)
          Raised when the user moves any control point of a link.
 void linkModifying(LinkValidationEvent e)
          A validation event raised while the user is modifying a link.
 void linkMouseEnter(LinkEvent e)
          Called when the mouse pointer enters a link.
 void linkMouseLeave(LinkEvent e)
          Called when the mouse pointer leaves a link.
 void linkRouted(LinkEvent e)
          Raised when a link is routed by the auto-routing algorithm.
 void linkSelected(LinkEvent e)
          Raised when a link is selected, either programmatically or by the user.
 void linkSelecting(LinkValidationEvent e)
          Raised when the user tries to select a link, this event lets you cancel the operation.
 void linkStartModifying(LinkValidationEvent e)
          A validation event raised when the user starts modifying a link.
 void linkTextEdited(EditLinkTextEvent e)
          Raised when the user edits the text of a link.
 void linkTextEditing(LinkValidationEvent e)
          A validation event that lets you approve or reject changes made to the text of a link.
 void nodeActivated(NodeEvent e)
          Raised when a node becomes the active Item.
 void nodeClicked(NodeEvent e)
          Raised when the user clicks a node.
 void nodeCreated(NodeEvent e)
          Raised when the user draws a new node.
 void nodeCreating(NodeValidationEvent e)
          A validation event raised while the user is drawing a new node.
 void nodeDeactivated(NodeEvent e)
          Raised when a node is no longer the active Item.
 void nodeDeleted(NodeEvent e)
          Raised when a node is deleted, either programmatically or by the user.
 void nodeDeleting(NodeValidationEvent e)
          Raised when the user tries to delete a node, this event lets you cancel the operation.
 void nodeDeselected(NodeEvent e)
          Raised when a node is deselected, either programmatically or by the user.
 void nodeDoubleClicked(NodeEvent e)
          Raised when the user double-clicks a node.
 void nodeModified(NodeEvent e)
          Raised when the user moves or resizes a node.
 void nodeModifying(NodeValidationEvent e)
          A validation event raised while the user is moving or resizing a node.
 void nodeMouseEnter(NodeEvent e)
          Called when the mouse pointer enters a node.
 void nodeMouseLeave(NodeEvent e)
          Called when the mouse pointer leaves a node.
 void nodeSelected(NodeEvent e)
          Raised when a node is selected, either programmatically or by the user.
 void nodeSelecting(NodeValidationEvent e)
          Raised when the user tries to select a node, this event lets you cancel the operation.
 void nodeStartModifying(NodeValidationEvent e)
          A validation event raised when the user starts modifying a node.
 void nodeTextEdited(EditNodeTextEvent e)
          Raised when the user edits the text of a node.
 void nodeTextEditing(NodeValidationEvent e)
          A validation event that lets you approve or reject changes made to the text of a node.
 void repaint(RepaintEvent e)
          Raised when the diagram views should be repainted.
 void requestCacheReset(java.util.EventObject e)
          Raised when an object within the diagram requests a reset of the cached bitmap.
 void selectionChanged(java.util.EventObject e)
          Called when an item is added to or removed from the selection.
 void selectionMoved(java.util.EventObject e)
          Called when multiple selected items are moved.
 void selectionMoving(ValidationEvent e)
          Raised while the user is moving multiple selected items, this event lets you cancel the modification.
 void serializeControl(ControlNodeEvent e)
          Lets you save the attributes of controls hosted inside ControlNode objects.
 void serializeTag(SerializeTagEvent e)
          Raised when the tag of a diagram item must be serialized into an XML document.
 void tableSectionCollapsed(RowEvent e)
          Called when a table section is collapsed
 void tableSectionExpanded(RowEvent e)
          Called when a table section is expanded
 void treeCollapsed(NodeEvent e)
          Raised when a user collapses a tree branch by clicking the [-] button of a expandable node.
 void treeExpanded(NodeEvent e)
          Raised when a user expands a tree branch by clicking the [+] button of a expandable node.
 void treeItemTextEdited(EditTreeItemTextEvent e)
          Raised when the user edits the text of a TreeViewItem.
 void validateAnchorPoint(LinkValidationEvent e)
          A validation event that lets you approve or reject connecting a link to an anchor point.
 void viewportChanged()
           
 void viewRemoved(ValidationEvent e)
          Raised when a DiagramView is detached from this diagram.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DiagramAdapter

public DiagramAdapter()
Method Detail

initializeLink

public void initializeLink(LinkEvent e)
Description copied from interface: DiagramListener
Raised when the user starts drawing a new link, just after the DiagramLink instance is created.

Specified by:
initializeLink in interface DiagramListener

linkCreated

public void linkCreated(LinkEvent e)
Raised when the user draws a new link.

Specified by:
linkCreated in interface DiagramListener

linkModified

public void linkModified(LinkEvent e)
Raised when the user moves any control point of a link.

Specified by:
linkModified in interface DiagramListener

linkClicked

public void linkClicked(LinkEvent e)
Raised when the user clicks a link.

Specified by:
linkClicked in interface DiagramListener

linkDoubleClicked

public void linkDoubleClicked(LinkEvent e)
Raised when the user double-clicks a link.

Specified by:
linkDoubleClicked in interface DiagramListener

linkSelected

public void linkSelected(LinkEvent e)
Raised when a link is selected, either programmatically or by the user.

Specified by:
linkSelected in interface DiagramListener

linkActivated

public void linkActivated(LinkEvent e)
Raised when a link becomes the activeItem.

Specified by:
linkActivated in interface DiagramListener

linkDeselected

public void linkDeselected(LinkEvent e)
Raised when a link is deselected, either programmatically or by the user.

Specified by:
linkDeselected in interface DiagramListener

linkDeactivated

public void linkDeactivated(LinkEvent e)
Raised when a link is no longer the active Item.

Specified by:
linkDeactivated in interface DiagramListener

linkDeleted

public void linkDeleted(LinkEvent e)
Raised when a link is deleted, either programmatically or by the user.

Specified by:
linkDeleted in interface DiagramListener

linkRouted

public void linkRouted(LinkEvent e)
Raised when a link is routed by the auto-routing algorithm.

Specified by:
linkRouted in interface DiagramListener

initializeNode

public void initializeNode(NodeEvent e)
Raised when the user starts drawing a new node, just after the DiagramNode instance is created.

Specified by:
initializeNode in interface DiagramListener

nodeCreated

public void nodeCreated(NodeEvent e)
Raised when the user draws a new node.

Specified by:
nodeCreated in interface DiagramListener

nodeModified

public void nodeModified(NodeEvent e)
Raised when the user moves or resizes a node.

Specified by:
nodeModified in interface DiagramListener

nodeClicked

public void nodeClicked(NodeEvent e)
Raised when the user clicks a node.

Specified by:
nodeClicked in interface DiagramListener

nodeDoubleClicked

public void nodeDoubleClicked(NodeEvent e)
Raised when the user double-clicks a node.

Specified by:
nodeDoubleClicked in interface DiagramListener

nodeSelected

public void nodeSelected(NodeEvent e)
Raised when a node is selected, either programmatically or by the user.

Specified by:
nodeSelected in interface DiagramListener

nodeActivated

public void nodeActivated(NodeEvent e)
Raised when a node becomes the active Item.

Specified by:
nodeActivated in interface DiagramListener

nodeDeselected

public void nodeDeselected(NodeEvent e)
Raised when a node is deselected, either programmatically or by the user.

Specified by:
nodeDeselected in interface DiagramListener

nodeDeactivated

public void nodeDeactivated(NodeEvent e)
Raised when a node is no longer the active Item.

Specified by:
nodeDeactivated in interface DiagramListener

nodeDeleted

public void nodeDeleted(NodeEvent e)
Raised when a node is deleted, either programmatically or by the user.

Specified by:
nodeDeleted in interface DiagramListener

expandButtonClicked

public void expandButtonClicked(NodeEvent e)
Raised when the user clicks the [±] button of a expandable node.

Specified by:
expandButtonClicked in interface DiagramListener

treeExpanded

public void treeExpanded(NodeEvent e)
Raised when a user expands a tree branch by clicking the [+] button of a expandable node.

Specified by:
treeExpanded in interface DiagramListener

treeCollapsed

public void treeCollapsed(NodeEvent e)
Raised when a user collapses a tree branch by clicking the [-] button of a expandable node.

Specified by:
treeCollapsed in interface DiagramListener

containerFolded

public void containerFolded(NodeEvent e)
Raised when the user folds a container by clicking the arrow-up button in the container's caption area.

Specified by:
containerFolded in interface DiagramListener

containerUnfolded

public void containerUnfolded(NodeEvent e)
Raised when the user unfolds a container by clicking the arrow-down button in the container's caption area.

Specified by:
containerUnfolded in interface DiagramListener

containerChildAdded

public void containerChildAdded(ContainerChildEvent e)
Raised when a node is added to a ContainerNode, either programmatically or by the user.

Specified by:
containerChildAdded in interface DiagramListener

containerChildRemoved

public void containerChildRemoved(ContainerChildEvent e)
Raised when a node is removed from a ContainerNode, either programmatically or by the user.

Specified by:
containerChildRemoved in interface DiagramListener

linkCreating

public void linkCreating(LinkValidationEvent e)
A validation event raised while the user is drawing a new link.

Specified by:
linkCreating in interface DiagramListener

linkModifying

public void linkModifying(LinkValidationEvent e)
A validation event raised while the user is modifying a link.

Specified by:
linkModifying in interface DiagramListener

linkStartModifying

public void linkStartModifying(LinkValidationEvent e)
A validation event raised when the user starts modifying a link.

Specified by:
linkStartModifying in interface DiagramListener

linkSelecting

public void linkSelecting(LinkValidationEvent e)
Raised when the user tries to select a link, this event lets you cancel the operation.

Specified by:
linkSelecting in interface DiagramListener

linkDeleting

public void linkDeleting(LinkValidationEvent e)
Raised when the user tries to delete a link, this event lets you cancel the operation.

Specified by:
linkDeleting in interface DiagramListener

validateAnchorPoint

public void validateAnchorPoint(LinkValidationEvent e)
A validation event that lets you approve or reject connecting a link to an anchor point.

Specified by:
validateAnchorPoint in interface DiagramListener

linkTextEditing

public void linkTextEditing(LinkValidationEvent e)
A validation event that lets you approve or reject changes made to the text of a link.

Specified by:
linkTextEditing in interface DiagramListener

nodeCreating

public void nodeCreating(NodeValidationEvent e)
A validation event raised while the user is drawing a new node.

Specified by:
nodeCreating in interface DiagramListener

nodeModifying

public void nodeModifying(NodeValidationEvent e)
A validation event raised while the user is moving or resizing a node.

Specified by:
nodeModifying in interface DiagramListener

nodeStartModifying

public void nodeStartModifying(NodeValidationEvent e)
A validation event raised when the user starts modifying a node.

Specified by:
nodeStartModifying in interface DiagramListener

nodeSelecting

public void nodeSelecting(NodeValidationEvent e)
Raised when the user tries to select a node, this event lets you cancel the operation.

Specified by:
nodeSelecting in interface DiagramListener

nodeDeleting

public void nodeDeleting(NodeValidationEvent e)
Raised when the user tries to delete a node, this event lets you cancel the operation.

Specified by:
nodeDeleting in interface DiagramListener

nodeTextEditing

public void nodeTextEditing(NodeValidationEvent e)
A validation event that lets you approve or reject changes made to the text of a node.

Specified by:
nodeTextEditing in interface DiagramListener

cellClicked

public void cellClicked(CellEvent e)
Called when a table cell is clicked.

Specified by:
cellClicked in interface DiagramListener
Parameters:
e - A CellEvent object providing information about the event.

cellDoubleClicked

public void cellDoubleClicked(CellEvent e)
Raised when the user double-clicks a table's cell.

Specified by:
cellDoubleClicked in interface DiagramListener

cellTextEditing

public void cellTextEditing(CellValidationEvent e)
A validation event that lets you prevent users from editing the text of a table's cell.

Specified by:
cellTextEditing in interface DiagramListener

groupDestroyed

public void groupDestroyed(GroupEvent e)
Raised when a Group object is destroyed.

Specified by:
groupDestroyed in interface DiagramListener

tableSectionExpanded

public void tableSectionExpanded(RowEvent e)
Called when a table section is expanded

Specified by:
tableSectionExpanded in interface DiagramListener
Parameters:
e - A RowEvent object providing information about the event.

tableSectionCollapsed

public void tableSectionCollapsed(RowEvent e)
Called when a table section is collapsed

Specified by:
tableSectionCollapsed in interface DiagramListener
Parameters:
e - A RowEvent object providing information about the event.

drawBackground

public void drawBackground(DiagramEvent e)
Raised to let you custom draw the diagram background.

Specified by:
drawBackground in interface DiagramListener

drawForeground

public void drawForeground(DiagramEvent e)
Raised to let you custom draw the diagram foreground.

Specified by:
drawForeground in interface DiagramListener

clicked

public void clicked(DiagramEvent e)
Raised when the user clicks the diagram at a point where no items are located.

Specified by:
clicked in interface DiagramListener

doubleClicked

public void doubleClicked(DiagramEvent e)
Raised when the user double-clicks the diagram at a point where no items are located.

Specified by:
doubleClicked in interface DiagramListener

drawLink

public void drawLink(DrawLinkEvent e)
Raised when a diagram link must be custom drawn.

Specified by:
drawLink in interface DiagramListener

drawNode

public void drawNode(DrawNodeEvent e)
Raised when a diagram node must be custom drawn.

Specified by:
drawNode in interface DiagramListener

drawCell

public void drawCell(DrawCellEvent e)
Raised when a table's cell must be custom drawn.

Specified by:
drawCell in interface DiagramListener

drawAnchorPoint

public void drawAnchorPoint(DrawAnchorPointEvent e)
Raised when an anchor point must be custom drawn.

Specified by:
drawAnchorPoint in interface DiagramListener

linkTextEdited

public void linkTextEdited(EditLinkTextEvent e)
Raised when the user edits the text of a link.

Specified by:
linkTextEdited in interface DiagramListener

nodeTextEdited

public void nodeTextEdited(EditNodeTextEvent e)
Raised when the user edits the text of a node.

Specified by:
nodeTextEdited in interface DiagramListener

cellTextEdited

public void cellTextEdited(EditCellTextEvent e)
Raised when the user edits the text of a table's cell.

Specified by:
cellTextEdited in interface DiagramListener

actionRecorded

public void actionRecorded(UndoEvent e)
Raised when an action is recorded in the undo buffer.

Specified by:
actionRecorded in interface DiagramListener

actionUndone

public void actionUndone(UndoEvent e)
Raised when an action is undone.

Specified by:
actionUndone in interface DiagramListener

actionRedone

public void actionRedone(UndoEvent e)
Raised when an action is redone.

Specified by:
actionRedone in interface DiagramListener

actionRecording

public void actionRecording(UndoValidationEvent e)
A validation event raised before an action is recorded in the undo buffer.

Specified by:
actionRecording in interface DiagramListener

selectionMoving

public void selectionMoving(ValidationEvent e)
Raised while the user is moving multiple selected items, this event lets you cancel the modification.

Specified by:
selectionMoving in interface DiagramListener

nodeMouseEnter

public void nodeMouseEnter(NodeEvent e)
Called when the mouse pointer enters a node. Use the setTrackPointedItem method to enable this event.

Specified by:
nodeMouseEnter in interface DiagramListener
Parameters:
e - A NodeEvent object providing information about the event.

nodeMouseLeave

public void nodeMouseLeave(NodeEvent e)
Called when the mouse pointer leaves a node. Use the setTrackPointedItem method to enable this event.

Specified by:
nodeMouseLeave in interface DiagramListener
Parameters:
e - A NodeEvent object providing information about the event.

linkMouseEnter

public void linkMouseEnter(LinkEvent e)
Called when the mouse pointer enters a link. Use the setTrackPointedItem method to enable this event.

Specified by:
linkMouseEnter in interface DiagramListener
Parameters:
e - A LinkEvent object providing information about the event.

linkMouseLeave

public void linkMouseLeave(LinkEvent e)
Called when the mouse pointer leaves a link. Use the setTrackPointedItem method to enable this event.

Specified by:
linkMouseLeave in interface DiagramListener
Parameters:
e - A LinkEvent object providing information about the event.

enterInplaceEditMode

public void enterInplaceEditMode(InPlaceEditEvent e)
Called when entering inplace-edit mode.

Specified by:
enterInplaceEditMode in interface DiagramListener
Parameters:
e - An InPlaceEditEvent object providing information about the event.

leaveInplaceEditMode

public void leaveInplaceEditMode(InPlaceEditEvent e)
Called when an inplace edit is accepted or rejected

Specified by:
leaveInplaceEditMode in interface DiagramListener
Parameters:
e - An InPlaceEditEvent object providing information about the event.

repaint

public void repaint(RepaintEvent e)
Raised when the diagram views should be repainted.

Specified by:
repaint in interface DiagramListener

viewportChanged

public void viewportChanged()
Specified by:
viewportChanged in interface DiagramListener

imageLoaded

public void imageLoaded(ImageLoadedEvent e)
Called when image download initiated with Diagram.setImageUrl completes

Specified by:
imageLoaded in interface DiagramListener
Parameters:
e - An ImageLoadedEvent object that provides more information about the event.

selectionMoved

public void selectionMoved(java.util.EventObject e)
Called when multiple selected items are moved.

Specified by:
selectionMoved in interface DiagramListener
Parameters:
e - An EventObject providing information about the event.

selectionChanged

public void selectionChanged(java.util.EventObject e)
Called when an item is added to or removed from the selection.

Specified by:
selectionChanged in interface DiagramListener
Parameters:
e - An EventObject providing information about the event.

itemAdded

public void itemAdded(ItemEvent e)
Raised when an item is added to the diagram, either programmatically or interactively.

Specified by:
itemAdded in interface DiagramListener

itemLoaded

public void itemLoaded(ItemEvent e)
Raised when an item is loaded from a file.

Specified by:
itemLoaded in interface DiagramListener

itemRemoved

public void itemRemoved(ItemEvent e)
Raised when an item is removed from the diagram, either programmatically or interactively.

Specified by:
itemRemoved in interface DiagramListener

viewRemoved

public void viewRemoved(ValidationEvent e)
Raised when a DiagramView is detached from this diagram.

Specified by:
viewRemoved in interface DiagramListener

serializeTag

public void serializeTag(SerializeTagEvent e)
Raised when the tag of a diagram item must be serialized into an XML document.

Specified by:
serializeTag in interface DiagramListener

deserializeTag

public void deserializeTag(SerializeTagEvent e)
Raised when the tag of a diagram item must be deserialized from XML format.

Specified by:
deserializeTag in interface DiagramListener

treeItemTextEdited

public void treeItemTextEdited(EditTreeItemTextEvent e)
Raised when the user edits the text of a TreeViewItem.

Specified by:
treeItemTextEdited in interface DiagramListener
Parameters:
e - An EditTreeItemTextEvent instance providing more information about the event.

serializeControl

public void serializeControl(ControlNodeEvent e)
Lets you save the attributes of controls hosted inside ControlNode objects.

Specified by:
serializeControl in interface DiagramListener
Parameters:
e - A ControlNodeEvent instance providing more information about the event.

deserializeControl

public void deserializeControl(ControlNodeEvent e)
Lets you load the attributes of controls hosted inside ControlNode objects.

Specified by:
deserializeControl in interface DiagramListener
Parameters:
e - A ControlNodeEvent instance providing more information about the event.

requestCacheReset

public void requestCacheReset(java.util.EventObject e)
Raised when an object within the diagram requests a reset of the cached bitmap.

Specified by:
requestCacheReset in interface DiagramListener

drawAdjustmentHandles

public void drawAdjustmentHandles(DrawItemEvent e)
Raised when custom adjustment handles must be drawn.

Specified by:
drawAdjustmentHandles in interface DiagramListener
Parameters:
e - A DrawItemEvent instance providing more information about the event.

hitTestAdjustmentHandles

public void hitTestAdjustmentHandles(HitTestEvent e)
Raised to perform custom hit testing of item's adjustment handles.

Specified by:
hitTestAdjustmentHandles in interface DiagramListener
Parameters:
e - A HitTestEvent instance providing more information about the event.

activeLayerChanged

public void activeLayerChanged(java.util.EventObject e)
Raised when the diagram's active layer has changed.

Specified by:
activeLayerChanged in interface DiagramListener
Parameters:
e - An EventObject instance providing more information about the event.