public class mxElbowEdgeHandler extends mxEdgeHandler
bounds, first, graphComponent, handles, handlesVisible, index, preview, state
cloneEnabled, constrainedEvent, error, gridEnabledEvent, marker, p
Constructor | Description |
---|---|
mxElbowEdgeHandler(mxGraphComponent graphComponent,
mxCellState state) |
Modifier and Type | Method | 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.
|
destroy, getBounds, getGraphComponent, getHandleBorderColor, getHandleCount, getIndex, getState, isActive, isHandleEnabled, isHandlesVisible, isLabelMovable, mouseMoved, refresh, setHandlesVisible, start
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, validateConnection
public mxElbowEdgeHandler(mxGraphComponent graphComponent, mxCellState state)
graphComponent
- state
- public java.lang.String getToolTipText(java.awt.event.MouseEvent e)
getToolTipText
in class mxCellHandler
protected boolean isFlipEvent(java.awt.event.MouseEvent e)
isFlipEvent
in class mxEdgeHandler
public boolean isLabel(int index)
isLabel
in class mxCellHandler
protected java.awt.Rectangle[] createHandles()
mxCellHandler
createHandles
in class mxEdgeHandler
Copyright (c) 2010-2017 Gaudenz Alder, JGraph Ltd. All rights reserved.