GraphicalIndicatorCriteria
Inheritance: java.lang.Object
public final class GraphicalIndicatorCriteria
Represents one graphical indicator criteria associated with an extended attribute.
Constructors
Constructor | Description |
---|---|
GraphicalIndicatorCriteria(int rowType, int test, int imageIndex, GraphicalIndicatorCriteriaValue value1, GraphicalIndicatorCriteriaValue value2) | Initializes a new instance of the GraphicalIndicatorCriteria type. |
GraphicalIndicatorCriteria(int rowType, int test, int imageIndex, GraphicalIndicatorCriteriaValue value) | Initializes a new instance of the GraphicalIndicatorCriteria type. |
Methods
Method | Description |
---|---|
getImageIndex() | Gets the index of the image to display when the field meets the criteria. |
getRowType() | Gets the value of GraphicalIndicatorCriteriaType enum which denotes for which rows the indicator is applied. |
getTest() | Gets the type of comparison made between extended attribute’s value and Values that acts as a criteria for the application of the graphical indicator. |
getValue1() | Gets the value used to test extended attribute’s value. |
getValue2() | Gets the second value used to test extended attribute’s value in case of ‘IsWithin’ and ‘IsNotWithin’ comparison types. |
toString() | Returns string representation of the instance of the GraphicalIndicatorCriteria class. |
GraphicalIndicatorCriteria(int rowType, int test, int imageIndex, GraphicalIndicatorCriteriaValue value1, GraphicalIndicatorCriteriaValue value2)
public GraphicalIndicatorCriteria(int rowType, int test, int imageIndex, GraphicalIndicatorCriteriaValue value1, GraphicalIndicatorCriteriaValue value2)
Initializes a new instance of the GraphicalIndicatorCriteria type.
Parameters:
Parameter | Type | Description |
---|---|---|
rowType | int | value of GraphicalIndicatorCriteriaType enum which denotes for which rows the indicator is applied |
test | int | value of FilterComparisonType denoting the type of comparison performed by the criteria. |
imageIndex | int | the index of the image to display when the field meets the criteria |
value1 | GraphicalIndicatorCriteriaValue | values used in condition check. |
value2 | GraphicalIndicatorCriteriaValue | second value (end of interval) used in condition check in case of ‘IsWithin’ and ‘IsNotWithing’ conditions. |
GraphicalIndicatorCriteria(int rowType, int test, int imageIndex, GraphicalIndicatorCriteriaValue value)
public GraphicalIndicatorCriteria(int rowType, int test, int imageIndex, GraphicalIndicatorCriteriaValue value)
Initializes a new instance of the GraphicalIndicatorCriteria type.
Parameters:
Parameter | Type | Description |
---|---|---|
rowType | int | value of GraphicalIndicatorCriteriaType enum which denotes for which rows the indicator is applied |
test | int | value of FilterComparisonType denoting the type of comparison performed by the criteria. |
imageIndex | int | the index of the image to display when the field meets the criteria |
value | GraphicalIndicatorCriteriaValue | value used in condition check. |
getImageIndex()
public final int getImageIndex()
Gets the index of the image to display when the field meets the criteria.
Returns: int - the index of the image to display when the field meets the criteria.
getRowType()
public final int getRowType()
Gets the value of GraphicalIndicatorCriteriaType enum which denotes for which rows the indicator is applied.
Returns: int - the value of GraphicalIndicatorCriteriaType enum which denotes for which rows the indicator is applied.
getTest()
public final int getTest()
Gets the type of comparison made between extended attribute’s value and Values that acts as a criteria for the application of the graphical indicator. FilterComparisonType
Returns: int - the type of comparison made between extended attribute’s value and Values that acts as a criteria for the application of the graphical indicator.
getValue1()
public final GraphicalIndicatorCriteriaValue getValue1()
Gets the value used to test extended attribute’s value.
Returns: GraphicalIndicatorCriteriaValue - the value used to test extended attribute’s value.
getValue2()
public final GraphicalIndicatorCriteriaValue getValue2()
Gets the second value used to test extended attribute’s value in case of ‘IsWithin’ and ‘IsNotWithin’ comparison types.
Returns: GraphicalIndicatorCriteriaValue - the second value used to test extended attribute’s value in case of ‘IsWithin’ and ‘IsNotWithin’ comparison types.
toString()
public String toString()
Returns string representation of the instance of the GraphicalIndicatorCriteria class.
Returns: java.lang.String - string representation of this object.