public class Gap
extends java.lang.Object
implements java.io.Serializable
Gap.getDimensionValues(int)
. E.g. a rulesheet like: Condition | R1 isX | - isY | true isZ | false has gaps g1 and g2. g1.getDimensionValues(0) returns {"-"}, g1.getDimensionValues(1) returns {"false"}, and g1.getDimensionValues(2) returns {"-"}. g2.getDimensionValues(0) returns {"-"}, g2.getDimensionValues(1) returns {"true"}, and g2.getDimensionValues(2) returns {"true"}. The "gap sheet" that should be rendered is Condition | R2 | R3 isX | - | - <-- these come from getDimensionValues(0) isY | false | true <-- these come from getDimensionValues(1) isZ | - | true <-- these come from getDimensionValues(2) When a user indicates that they want to fill a gap, use the Gap.fill()
method to create and add a DTRule to fill the gap.RuleSheet.findGaps()
, Serialized FormModifier and Type | Method and Description |
---|---|
DTRule |
fill()
add a new rule to fill the gap
|
java.lang.String[] |
getDimensionValues(int i)
get the values for the gap for the given dimension index
|
public java.lang.String[] getDimensionValues(int i)
i
- the dimension indexpublic DTRule fill()