public class BlockConnector extends Connector
| Constructor and Description |
|---|
BlockConnector(LinearLayout ll,
int id,
int from,
int to,
Block block,
Connector parent) |
| Modifier and Type | Method and Description |
|---|---|
void |
draw(java.awt.Graphics2D g2) |
Block |
getBlock() |
double |
getBlockBottomHeight() |
double |
getBlockTopHeight() |
double |
getBlockWidth() |
boolean |
hasBlock() |
void |
setBlock(Block block) |
drawBackEdgeArrowHead, drawRoundedCorner, drawRoundedPolyline, drawShortenedLine, removeEmptySegmentspublic BlockConnector(LinearLayout ll, int id, int from, int to, Block block, Connector parent)
public double getBlockWidth()
getBlockWidth in class Connectorpublic double getBlockTopHeight()
getBlockTopHeight in class Connectorpublic double getBlockBottomHeight()
getBlockBottomHeight in class Connectorpublic Block getBlock()
public void setBlock(Block block)