Class ChartCompiler.LinkOrder
java.lang.Object
com.inductiveautomation.sfc.uimodel.ChartCompiler.LinkOrder
- Enclosing class:
- ChartCompiler
- 
Field SummaryFields
- 
Constructor SummaryConstructorsConstructorDescriptionLinkOrder(LinkDirection top, LinkDirection left, LinkDirection bottom, LinkDirection right) 
- 
Method SummaryModifier and TypeMethodDescriptionintanyCount()bottom()intcount()The count of incoming/outgoing/any linksvoidflow()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.intinCount()left()intoutCount()right()voidsetBottom(LinkDirection bottom) voidsetTop(LinkDirection dir) top()voidupdate(LinkDirection top, LinkDirection left, LinkDirection bottom, LinkDirection right) 
- 
Field Details- 
Tpublic static final int T- See Also:
 
- 
Lpublic static final int L- See Also:
 
- 
Bpublic static final int B- See Also:
 
- 
Rpublic static final int R- See Also:
 
 
- 
- 
Constructor Details- 
LinkOrder
 
- 
- 
Method Details- 
updatepublic void update(LinkDirection top, LinkDirection left, LinkDirection bottom, LinkDirection right) 
- 
top
- 
setTop
- 
left
- 
bottom
- 
setBottom
- 
right
- 
countpublic int count()The count of incoming/outgoing/any links
- 
anyCountpublic int anyCount()
- 
inCountpublic int inCount()
- 
outCountpublic int outCount()
- 
flowpublic 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. Also:
- If top is IN, and bottom is ANY, bottom becomes OUT
- If top is OUT, and bottom is ANY, bottom becomes IN
 
-