Class GraphicalIndicatorCriteria
- java.lang.Object
-
- com.aspose.tasks.GraphicalIndicatorCriteria
-
public final class GraphicalIndicatorCriteria extends Object
Represents one graphical indicator criteria associated with an extended attribute.
-
-
Constructor Summary
Constructors Constructor Description GraphicalIndicatorCriteria(int rowType, int test, int imageIndex, GraphicalIndicatorCriteriaValue value)Initializes a new instance of theGraphicalIndicatorCriteriatype.GraphicalIndicatorCriteria(int rowType, int test, int imageIndex, GraphicalIndicatorCriteriaValue value1, GraphicalIndicatorCriteriaValue value2)Initializes a new instance of theGraphicalIndicatorCriteriatype.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetImageIndex()Gets the index of the image to display when the field meets the criteria.intgetRowType()Gets the value ofGraphicalIndicatorCriteriaTypeenum which denotes for which rows the indicator is applied.intgetTest()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.GraphicalIndicatorCriteriaValuegetValue1()Gets the value used to test extended attribute's value.GraphicalIndicatorCriteriaValuegetValue2()Gets the second value used to test extended attribute's value in case of 'IsWithin' and 'IsNotWithin' comparison types.StringtoString()Returns string representation of the instance of theGraphicalIndicatorCriteriaclass.
-
-
-
Constructor Detail
-
GraphicalIndicatorCriteria
public GraphicalIndicatorCriteria(int rowType, int test, int imageIndex, GraphicalIndicatorCriteriaValue value1, GraphicalIndicatorCriteriaValue value2)Initializes a new instance of the
GraphicalIndicatorCriteriatype.- Parameters:
rowType- value ofGraphicalIndicatorCriteriaTypeenum which denotes for which rows the indicator is appliedtest- value ofFilterComparisonTypedenoting the type of comparison performed by the criteria.imageIndex- the index of the image to display when the field meets the criteriavalue1- values used in condition check.value2- second value (end of interval) used in condition check in case of 'IsWithin' and 'IsNotWithing' conditions.- Throws:
com.aspose.ms.System.ArgumentException- Thrown when incorrect combination of arguments is passed to the constructor.
-
GraphicalIndicatorCriteria
public GraphicalIndicatorCriteria(int rowType, int test, int imageIndex, GraphicalIndicatorCriteriaValue value)Initializes a new instance of the
GraphicalIndicatorCriteriatype.- Parameters:
rowType- value ofGraphicalIndicatorCriteriaTypeenum which denotes for which rows the indicator is appliedtest- value ofFilterComparisonTypedenoting the type of comparison performed by the criteria.imageIndex- the index of the image to display when the field meets the criteriavalue- value used in condition check.- Throws:
com.aspose.ms.System.ArgumentException- Thrown when incorrect combination of arguments is passed to the constructor.com.aspose.ms.System.ArgumentException- When value of IsWithin of IsNotWithing is passed to test argument.
-
-
Method Detail
-
getImageIndex
public final int getImageIndex()
Gets the index of the image to display when the field meets the criteria.
- Returns:
- the index of the image to display when the field meets the criteria.
-
getRowType
public final int getRowType()
Gets the value of
GraphicalIndicatorCriteriaTypeenum which denotes for which rows the indicator is applied.- Returns:
- the value of
GraphicalIndicatorCriteriaTypeenum 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:
- 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:
- 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:
- 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
GraphicalIndicatorCriteriaclass.
-
-