|
||||||||||
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
public class ElbowConnection
A LineConnection that constrains a connection to orthogonal lines.
Field Summary |
---|
Fields inherited from class org.jhotdraw.figures.PolyLineFigure |
---|
ARROW_TIP_BOTH, ARROW_TIP_END, ARROW_TIP_NONE, ARROW_TIP_START |
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. |
Methods inherited from class org.jhotdraw.figures.LineConnection |
---|
canConnect, canConnect, connectEnd, connectsSame, connectStart, disconnectEnd, disconnectStart, endFigure, endPoint, endPoint, figureChanged, figureInvalidated, figureRemoved, figureRequestRemove, figureRequestUpdate, getEndConnector, getStartConnector, insertPointAt, read, release, removeFromContainer, removePointAt, setPointAt, startFigure, startPoint, startPoint, visit, write |
Methods inherited from class org.jhotdraw.figures.PolyLineFigure |
---|
addPoint, basicDisplayBox, connectorAt, containsPoint, displayBox, draw, findSegment, getAttribute, getAttribute, getEndDecoration, getStartDecoration, isEmpty, joinSegments, locator, pointAt, pointCount, points, setAttribute, setAttribute, setEndDecoration, 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, 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
Handle
public Locator connectedTextLocator(Figure f)
AbstractFigure
connectedTextLocator
in interface Figure
connectedTextLocator
in class AbstractFigure
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |