Inheritance diagram for org.jgraph.graph.EdgeView.EdgeHandle:
Public Member Functions | |
EdgeHandle (EdgeView edge, GraphContext ctx) | |
void | paint (Graphics g) |
void | overlay (Graphics g) |
boolean | isConstrainedMoveEvent (MouseEvent e) |
boolean | isAddPointEvent (MouseEvent event) |
boolean | isRemovePointEvent (MouseEvent event) |
void | mouseMoved (MouseEvent event) |
void | mousePressed (MouseEvent event) |
void | mouseDragged (MouseEvent event) |
void | mouseReleased (MouseEvent e) |
Protected Member Functions | |
void | reloadPoints (EdgeView edge) |
void | paintPort (Graphics g, CellView p) |
boolean | snap (boolean source, Point2D point) |
boolean | isSourceEditing () |
boolean | isTargetEditing () |
boolean | isEditing () |
void | processNestedMap (Map nested, boolean clone) |
ConnectionSet | createConnectionSet (EdgeView view, boolean verbose) |
void | invalidate () |
Protected Attributes | |
JGraph | graph |
EdgeView | edge |
EdgeView | orig |
boolean | label = false |
boolean | source = false |
boolean | target = false |
int | currentLabel = -1 |
int | currentIndex = -1 |
Point2D | currentPoint |
transient Rectangle2D[] | r |
transient Rectangle2D | loc |
transient Rectangle2D[] | extraLabelLocations |
boolean | firstOverlayCall = true |
boolean | isEdgeConnectable = true |
EdgeView | relevantEdge = null |
boolean | editing = false |
Point2D | initialLabelLocation = null |
boolean | edgeModified = false |
|
|
|
|
|
|
|
Returning true signifies a mouse manas.event adds a new point to an edge. Reimplemented in manas.event.MyEdgeHandle, and manas.gui.DesignPanel.MyEdgeHandle. |
|
|
|
|
|
Returning true signifies a mouse manas.event removes a given point. Reimplemented in manas.event.MyEdgeHandle, and manas.gui.DesignPanel.MyEdgeHandle. |
|
|
|
|
|
Messaged when the user drags the selection. The Controller is responsible to determine whether the mouse is inside the parent graph or not.
Implements org.jgraph.graph.CellHandle. |
|
Invoked when the mouse pointer has been moved on a component (with no buttons down). Implements org.jgraph.graph.CellHandle. |
|
Messaged when a mouse button is pressed.
Implements org.jgraph.graph.CellHandle. |
|
Messaged when the drag operation has terminated with a drop.
Implements org.jgraph.graph.CellHandle. |
|
Paint the handle on the given graphics object during mouse operations.
Implements org.jgraph.graph.CellHandle. |
|
Paint the handle on the given graphics object once.
Implements org.jgraph.graph.CellHandle. |
|
|
|
|
|
|
|
|
|
|
|
Holds the index of the current (editing) label or point. |
|
|
|
|
|
Indicates whether the edge has been modified during the last mouse pressed and dragged operations. |
|
True if the cell is being edited. |
|
|
|
|
|
|
|
Holds the initial location of the label. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|