public static class ChartCompiler.LinkOrder
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
B |
static int |
L |
static int |
R |
static int |
T |
Constructor and Description |
---|
LinkOrder(LinkDirection top,
LinkDirection left,
LinkDirection bottom,
LinkDirection right) |
Modifier and Type | Method and Description |
---|---|
int |
anyCount() |
LinkDirection |
bottom() |
int |
count()
The count of incoming/outgoing/any links
|
void |
flow()
Attempts to assign direction based upon flow rules: If exactly one side is "Any", and all other sides are the
same direction, it assigns the opposite direction to the Any side.
|
int |
inCount() |
LinkDirection |
left() |
int |
outCount() |
LinkDirection |
right() |
void |
setBottom(LinkDirection bottom) |
void |
setTop(LinkDirection dir) |
LinkDirection |
top() |
void |
update(LinkDirection top,
LinkDirection left,
LinkDirection bottom,
LinkDirection right) |
public static final int T
public static final int L
public static final int B
public static final int R
public LinkOrder(LinkDirection top, LinkDirection left, LinkDirection bottom, LinkDirection right)
public void update(LinkDirection top, LinkDirection left, LinkDirection bottom, LinkDirection right)
public LinkDirection top()
public void setTop(LinkDirection dir)
public LinkDirection left()
public LinkDirection bottom()
public void setBottom(LinkDirection bottom)
public LinkDirection right()
public int count()
public int anyCount()
public int inCount()
public int outCount()
public void flow()