public class LinkedElement
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
MAGIC |
Constructor and Description |
---|
LinkedElement(double topMargin,
NServer server,
TextBlock box,
java.util.Map<Network,TextBlock> conns,
java.util.List<Network> networks) |
Modifier and Type | Method and Description |
---|---|
void |
drawLinks(UGraphic ug,
double xstart,
double width,
double height) |
void |
drawMe(UGraphic ug,
double width,
double height) |
MinMax |
getMinMax(StringBounder stringBounder,
double width,
double height) |
Network |
getNetwork() |
NServer |
getServer() |
boolean |
isLinkedTo(Network some) |
Dimension2D |
naturalDimension(StringBounder stringBounder) |
public static final int MAGIC
public boolean isLinkedTo(Network some)
public MinMax getMinMax(StringBounder stringBounder, double width, double height)
public void drawMe(UGraphic ug, double width, double height)
public void drawLinks(UGraphic ug, double xstart, double width, double height)
public Dimension2D naturalDimension(StringBounder stringBounder)
public final Network getNetwork()
public final NServer getServer()