Defines events raised by DroidDiagram in response to users actions.
The following tables list the members exposed by the DiagramListener type.
Name | Description | |
---|---|---|
![]() |
Raised when an action is recorded in the undo buffer. |
|
![]() |
A validation event raised before an action is recorded in the undo buffer. |
|
![]() |
Raised when an action is redone. |
|
![]() |
Raised when an action is undone. |
|
![]() |
Raised when the diagram's active layer has changed. |
|
![]() |
Called when a table cell is clicked. |
|
![]() |
Raised when the user double-clicks a table's cell. |
|
![]() |
Raised when the user edits the text of a table's cell. |
|
![]() |
A validation event that lets you prevent users from editing the text of a table's cell. |
|
![]() |
Raised when the user clicks the diagram at a point where no items are located. |
|
![]() |
Raised when a node is added to a ContainerNode, either programmatically or by the user. |
|
![]() |
Raised when a node is removed from a ContainerNode, either programmatically or by the user. |
|
![]() |
Raised when the user folds a container by clicking the arrow-up button in the container's caption area. |
|
![]() |
Raised when the user unfolds a container by clicking the arrow-down button in the container's caption area. |
|
![]() |
Lets you load the attributes of controls hosted inside ControlNode objects. |
|
![]() |
Raised when the Diagram.setTag of a diagram item must be deserialized from XML format. |
|
![]() |
Raised when the user double-clicks the diagram at a point where no items are located. |
|
![]() |
Raised when custom adjustment handles must be drawn. |
|
![]() |
Raised when an anchor point must be custom drawn. |
|
![]() |
Raised to let you custom draw the diagram background. |
|
![]() |
Raised when a table's cell must be custom drawn. |
|
![]() |
Raised to let you custom draw the diagram foreground. |
|
![]() |
Raised when a diagram link must be custom drawn. |
|
![]() |
Raised when a diagram node must be custom drawn. |
|
![]() |
Called when entering in-place editing mode. |
|
![]() |
Raised when the user clicks the [+/-] button of a DiagramNode.setExpandable node. |
|
![]() |
Raised when a Group object is destroyed. |
|
![]() |
Raised to perform custom hit testing of item's adjustment handles. |
|
![]() |
Raised when the user starts drawing a new link, just after the DiagramLink instance is created. |
|
![]() |
Raised when the user starts drawing a new node, just after the DiagramNode instance is created. |
|
![]() |
Raised when an item is added to the diagram, either programmatically or interactively. |
|
![]() |
Raised when an item is loaded from a file. |
|
![]() |
Raised when an item is removed from the diagram, either programmatically or interactively. |
|
![]() |
Called when an in-place editing is accepted or rejected. |
|
![]() |
Raised when a link becomes the Diagram.setActiveItem. |
|
![]() |
Raised when the user clicks a link. |
|
![]() |
Raised when the user draws a new link. |
|
![]() |
A validation event raised while the user is drawing a new link. |
|
![]() |
Raised when a link is no longer the Diagram.setActiveItem. |
|
![]() |
Raised when a link is deleted, either programmatically or by the user. |
|
![]() |
Raised when the user tries to delete a link, this event lets you cancel the operation. |
|
![]() |
Raised when a link is deselected, either programmatically or by the user. |
|
![]() |
Raised when the user double-clicks a link. |
|
![]() |
Raised when the user moves any control point of a link. |
|
![]() |
A validation event raised while the user is modifying a link. |
|
![]() |
Called when the pointer enters a link. Use the setTrackPointedItem method to enable this event. |
|
![]() |
Called when the pointer leaves a link. Use the setTrackPointedItem method to enable this event. |
|
![]() |
Raised when a link is routed by the auto-routing algorithm. |
|
![]() |
Raised when a link is selected, either programmatically or by the user. |
|
![]() |
Raised when the user tries to select a link, this event lets you cancel the operation. |
|
![]() |
Raised when the user splits a link segment interactively. |
|
![]() |
A validation event raised when the user starts modifying a link. |
|
![]() |
Raised when the user edits the text of a link. |
|
![]() |
A validation event that lets you approve or reject changes made to the text of a link. |
|
![]() |
Raised when a node becomes the Diagram.setActiveItem. |
|
![]() |
Raised when the user clicks a node. |
|
![]() |
Raised when the user draws a new node. |
|
![]() |
A validation event raised while the user is drawing a new node. |
|
![]() |
Raised when a node is no longer the active item. |
|
![]() |
Raised when a node is deleted, either programmatically or by the user. |
|
![]() |
Raised when the user tries to delete a node, this event lets you cancel the operation. |
|
![]() |
Raised when a node is deselected, either programmatically or by the user. |
|
![]() |
Raised when the user double-clicks a node. |
|
![]() |
Raised when the user moves or resizes a node. |
|
![]() |
A validation event raised while the user is moving or resizing a node. |
|
![]() |
Called when the pointer enters a node. Use the setTrackPointedItem method to enable this event. |
|
![]() |
Called when the pointer leaves a node. Use the setTrackPointedItem method to enable this event. |
|
![]() |
Raised when a node is selected, either programmatically or by the user. |
|
![]() |
Raised when the user tries to select a node, this event lets you cancel the operation. |
|
![]() |
A validation event raised when the user starts modifying a node. |
|
![]() |
Raised when the user edits the text of a node. |
|
![]() |
A validation event that lets you approve or reject changes made to the text of a node. |
|
![]() |
Raised when the diagram views should be repainted. |
|
![]() |
Raised when an object within the diagram requests a reset of the cached bitmap. |
|
![]() |
Called when an item is added to or removed from the selection. |
|
![]() |
Called when multiple selected items are moved or resized. |
|
![]() |
Raised while the user is moving or resizing multiple selected items, this event lets you cancel the modification. |
|
![]() |
Lets you save the attributes of controls hosted inside ControlNode objects. |
|
![]() |
Raised when the tag of a diagram item must be serialized into an XML document. |
|
![]() |
Called when a table section is collapsed |
|
![]() |
Called when a table section is expanded |
|
![]() |
Raised when a user collapses a tree branch by clicking the [-] button of a expandable node. |
|
![]() |
Raised when a user expands a tree branch by clicking the [+] button of a expandable node. |
|
![]() |
Raised when the user edits the text of a tree item. |
|
![]() |
A validation event that lets you approve or reject connecting a link to an anchor point. |
|
![]() |
|
|
![]() |
Raised when a DiagramView is detached from this diagram. |