|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jhotdraw.standard.AbstractFigure
org.jhotdraw.figures.PolyLineFigure
org.jhotdraw.figures.LineConnection
org.jhotdraw.figures.ElbowConnection
A LineConnection that constrains a connection to orthogonal lines.
Field Summary |
Fields inherited from class org.jhotdraw.figures.LineConnection |
myEndConnector, myStartConnector |
Fields inherited from class org.jhotdraw.figures.PolyLineFigure |
ARROW_TIP_BOTH, ARROW_TIP_END, ARROW_TIP_NONE, ARROW_TIP_START, fEndDecoration, fFrameColor, fPoints, fStartDecoration |
Fields inherited from interface org.jhotdraw.framework.Figure |
POPUP_MENU |
Constructor Summary | |
ElbowConnection()
|
Method Summary | |
Locator |
connectedTextLocator(Figure f)
Returns the locator used to located connected text. |
HandleEnumeration |
handles()
Gets the handles of the figure. |
void |
layoutConnection()
Lays out the connection. |
void |
updateConnection()
Updates the connection. |
protected void |
updatePoints()
|
Methods inherited from class org.jhotdraw.figures.LineConnection |
basicMoveBy, canConnect, canConnect, connectEnd, connectsSame, connectStart, disconnectEnd, disconnectStart, endFigure, endPoint, endPoint, figureChanged, figureInvalidated, figureRemoved, figureRequestRemove, figureRequestUpdate, getEndConnector, getStartConnector, handleConnect, handleDisconnect, insertPointAt, read, release, removeFromContainer, removePointAt, setEndConnector, setPointAt, setStartConnector, startFigure, startPoint, startPoint, visit, write |
Methods inherited from class org.jhotdraw.figures.PolyLineFigure |
addPoint, basicDisplayBox, connectorAt, containsPoint, displayBox, draw, drawLine, findSegment, getAttribute, getAttribute, getEndDecoration, getFrameColor, getStartDecoration, invalidateRectangle, isEmpty, joinSegments, locator, pointAt, pointCount, points, setAttribute, setAttribute, setEndDecoration, setFrameColor, setStartDecoration, splitSegment |
Methods inherited from class org.jhotdraw.standard.AbstractFigure |
addDependendFigure, addFigureChangeListener, addToContainer, center, changed, clone, connectionInsets, connectorVisibility, decompose, displayBox, displayBox, figures, findFigureInside, getDecoratedFigure, getDependendFigures, getTextHolder, getZValue, includes, invalidate, listener, moveBy, removeDependendFigure, removeFigureChangeListener, setZValue, size, willChange |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.jhotdraw.framework.ConnectionFigure |
joinSegments, pointAt, pointCount, splitSegment |
Methods inherited from interface org.jhotdraw.framework.Figure |
addDependendFigure, addFigureChangeListener, addToContainer, basicDisplayBox, center, changed, clone, connectionInsets, connectorAt, connectorVisibility, containsPoint, decompose, displayBox, displayBox, displayBox, draw, figures, findFigureInside, getAttribute, getAttribute, getDecoratedFigure, getDependendFigures, getTextHolder, getZValue, includes, invalidate, isEmpty, listener, moveBy, removeDependendFigure, removeFigureChangeListener, setAttribute, setAttribute, setZValue, size, willChange |
Constructor Detail |
public ElbowConnection()
Method Detail |
public void updateConnection()
LineConnection
updateConnection
in interface ConnectionFigure
updateConnection
in class LineConnection
public void layoutConnection()
LineConnection
layoutConnection
in class LineConnection
public HandleEnumeration handles()
handles
in interface Figure
handles
in class LineConnection
public Locator connectedTextLocator(Figure f)
Figure
connectedTextLocator
in interface Figure
connectedTextLocator
in class AbstractFigure
protected void updatePoints()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |