public class SLinkElbow extends SLink implements XJXMLSerializable
| Modifier and Type | Field and Description |
|---|---|
protected SLinkElbowBottomBottom |
bottombottom |
protected SLinkElbowBottomLeft |
bottomleft |
protected SLinkElbowLeftBottom |
leftbottom |
protected SLinkElbowLeftLeft |
leftleft |
protected SLinkElbowLeftRight |
leftright |
protected SLinkElbowLeftTop |
lefttop |
protected Vector2D |
offsetToMouse |
protected int |
outOffsetLength |
protected Path2D |
path |
protected SLinkElbowTopBottom |
topbottom |
protected SLinkElbowTopLeft |
topleft |
arrow, arrowVisible, color, direction, end, endDirection, endOffset, endTangentOffset, endWithOffset, flateness, label, selfLoop, start, startDirection, startOffset, startTangentOffset, startWithOffset| Constructor and Description |
|---|
SLinkElbow() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(double x,
double y) |
void |
draw(Graphics2D g) |
void |
drawShape(Graphics2D g) |
Vector2D |
getEndWithOffset() |
Vector2D |
getOffsetToMouse() |
Vector2D |
getStartWithOffset() |
void |
setMousePosition(Vector2D position) |
void |
setOffsetToMouse(Vector2D offset) |
void |
setOutOffsetLength(int length) |
void |
update() |
computeOffsets, getArrow, getColor, getDirection, getEnd, getEndDirection, getEndOffset, getEndTangentOffset, getFlateness, getFrame, getLabel, getStart, getStartDirection, getStartOffset, getStartTangentOffset, isLabelVisible, isSelfLoop, setArrow, setArrowVisible, setColor, setDirection, setEnd, setEnd, setEnd, setEndAnchor, setEndDirection, setEndOffset, setEndTangentOffset, setFlateness, setLabel, setLabel, setLabelColor, setLabelVisible, setSelfLoop, setStart, setStart, setStartAnchor, setStartDirection, setStartOffset, setStartTangentOffsetprotected SLinkElbowTopBottom topbottom
protected SLinkElbowLeftRight leftright
protected SLinkElbowBottomBottom bottombottom
protected SLinkElbowLeftLeft leftleft
protected SLinkElbowBottomLeft bottomleft
protected SLinkElbowTopLeft topleft
protected SLinkElbowLeftTop lefttop
protected SLinkElbowLeftBottom leftbottom
protected transient Path2D path
protected Vector2D offsetToMouse
protected int outOffsetLength
public void setOutOffsetLength(int length)
public Vector2D getStartWithOffset()
getStartWithOffset in class SLinkpublic Vector2D getEndWithOffset()
getEndWithOffset in class SLinkpublic void setMousePosition(Vector2D position)
setMousePosition in class SLinkpublic void setOffsetToMouse(Vector2D offset)
public Vector2D getOffsetToMouse()
public void draw(Graphics2D g)
public void drawShape(Graphics2D g)
Copyright © 2013. All rights reserved.