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 Rectangle[] |
createHandles()
Creates the rectangles that define the handles.
|
String |
getToolTipText(MouseEvent e)
Hook for subclassers to return tooltip texts for certain points on the
handle.
|
protected boolean |
isFlipEvent(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 String getToolTipText(MouseEvent e)
getToolTipText in class mxCellHandlerprotected boolean isFlipEvent(MouseEvent e)
isFlipEvent in class mxEdgeHandlerpublic boolean isLabel(int index)
isLabel in class mxCellHandlerprotected Rectangle[] createHandles()
mxCellHandlercreateHandles in class mxEdgeHandlerCopyright (c) 2010 Gaudenz Alder. All rights reserved.