public class OrthogonalEntityConnector extends EntityConnector
EntityConnector.ConnectionCategory, EntityConnector.ConnectionTypeborderWidth, category, comment, commentDistance, conColor, conPointSize, deactivated, dragPoint, frmPos, from, fromDisconnected, fromPoint, hittedPoint, id, inDrag, midRect, mx, my, showArrow, to, toPoint, toPos, type| Constructor and Description |
|---|
OrthogonalEntityConnector(EntityPlotter from,
EntityPlotter to,
int conSize) |
OrthogonalEntityConnector(EntityPlotter from,
EntityPlotter to,
int conSize,
Color conColor) |
OrthogonalEntityConnector(EntityPlotter from,
EntityPlotter to,
int conSize,
Color conColor,
String commentText) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
detectEntityConnectionPoints() |
protected void |
drawMidRect(Graphics2D g) |
protected Shape |
drawOrthogonalLine(Graphics2D g,
float p1x,
float p1y,
float p2x,
float p2y) |
addComment, connects, drawArrow, drawConnector, drawLine, drawManyOrthogonalLine, drawOrganicLine, getBorderWidth, getColor, getCommentText, getConColor, getDragPoint, getFrom, getId, getTo, hitPoints, isDeactivated, isInDrag, isShowArrow, onBut, onLeft, onMidBut, onMidLeft, onMidRight, onMidTop, onRight, onTop, setBorderWidth, setCommentText, setConColor, setConnectorPoints, setDeactivated, setDragPoint, setFrom, setInDrag, setShowArrow, setTopublic OrthogonalEntityConnector(EntityPlotter from, EntityPlotter to, int conSize, Color conColor, String commentText)
public OrthogonalEntityConnector(EntityPlotter from, EntityPlotter to, int conSize, Color conColor)
public OrthogonalEntityConnector(EntityPlotter from, EntityPlotter to, int conSize)
protected void detectEntityConnectionPoints()
detectEntityConnectionPoints in class EntityConnectorprotected Shape drawOrthogonalLine(Graphics2D g, float p1x, float p1y, float p2x, float p2y)
drawOrthogonalLine in class EntityConnectorprotected void drawMidRect(Graphics2D g)
drawMidRect in class EntityConnectorCopyright © 2019 com.github.mfjamil. All rights reserved.