public class mxElbowEdgeHandler extends mxEdgeHandler
cloneEnabled, constrainedEvent, error, gridEnabledEvent, marker, pbounds, first, graphComponent, handles, handlesVisible, index, preview, state| Constructor and Description |
|---|
mxElbowEdgeHandler(mxGraphComponent graphComponent,
mxCellState state) |
| Modifier and Type | Method and Description |
|---|---|
protected java.awt.Rectangle[] |
createHandles()
Creates the rectangles that define the handles.
|
java.lang.String |
getToolTipText(java.awt.event.MouseEvent e)
Hook for subclassers to return tooltip texts for certain points on the
handle.
|
protected boolean |
isFlipEvent(java.awt.event.MouseEvent e) |
boolean |
isLabel(int index)
Returns true if the given index is the index of the last handle.
|
connect, convertPoint, createHandle, createHandle, createPoints, createPreview, getCursor, getHandleFillColor, getIndexAt, getPreviewBounds, getSelectionColor, getSelectionStroke, isCellBendable, isCloneEnabled, isHandleVisible, isIgnoredEvent, isSource, isTarget, mouseDragged, mousePressed, mouseReleased, moveLabelTo, movePoint, paint, reset, setCloneEnabled, validateConnectiondestroy, getBounds, getGraphComponent, getHandleBorderColor, getHandleCount, getIndex, getState, isActive, isHandleEnabled, isHandlesVisible, isLabelMovable, mouseMoved, refresh, setHandlesVisible, startpublic mxElbowEdgeHandler(mxGraphComponent graphComponent, mxCellState state)
graphComponent - state - public java.lang.String getToolTipText(java.awt.event.MouseEvent e)
getToolTipText in class mxCellHandlerprotected boolean isFlipEvent(java.awt.event.MouseEvent e)
isFlipEvent in class mxEdgeHandlerpublic boolean isLabel(int index)
isLabel in class mxCellHandlerprotected java.awt.Rectangle[] createHandles()
mxCellHandlercreateHandles in class mxEdgeHandler