com.mxgraph.swing.handler
Class mxElbowEdgeHandler
java.lang.Object
com.mxgraph.swing.handler.mxCellHandler
com.mxgraph.swing.handler.mxEdgeHandler
com.mxgraph.swing.handler.mxElbowEdgeHandler
public class mxElbowEdgeHandler
- extends mxEdgeHandler
Field Summary |
protected boolean |
bendable
|
Methods inherited from class com.mxgraph.swing.handler.mxEdgeHandler |
connect, convertPoint, createHandle, createHandle, createPoints, createPreview, getCursor, getHandleFillColor, getIndexAt, getPreviewBounds, isCloneEnabled, isIgnoredEvent, isSource, isTarget, mouseDragged, mousePressed, mouseReleased, moveLabelTo, movePoint, paint, setCloneEnabled, validateConnection |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
bendable
protected boolean bendable
mxElbowEdgeHandler
public mxElbowEdgeHandler(mxGraphComponent graphComponent,
mxCellState state)
- Parameters:
graphComponent
- state
-
getToolTipText
public String getToolTipText(MouseEvent e)
- Hook for subclassers to return tooltip texts for certain points on the
handle.
- Overrides:
getToolTipText
in class mxCellHandler
isFlipEvent
protected boolean isFlipEvent(MouseEvent e)
- Overrides:
isFlipEvent
in class mxEdgeHandler
isHandleVisible
protected boolean isHandleVisible(int index)
- Hides the middle handle if the edge is not bendable.
- Overrides:
isHandleVisible
in class mxCellHandler
createHandles
protected Rectangle[] createHandles()
- Overrides:
createHandles
in class mxEdgeHandler
Copyright (c) 2008 Gaudenz Alder. All rights reserved.