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