Class GraphicalIndicatorCriteria


  • public final class GraphicalIndicatorCriteria
    extends Object

    Represents one graphical indicator criteria associated with an extended attribute.

    • Constructor Detail

      • GraphicalIndicatorCriteria

        public GraphicalIndicatorCriteria​(int rowType,
                                          int test,
                                          int imageIndex,
                                          GraphicalIndicatorCriteriaValue value1,
                                          GraphicalIndicatorCriteriaValue value2)

        Initializes a new instance of the GraphicalIndicatorCriteria type.

        Parameters:
        rowType - value of GraphicalIndicatorCriteriaType enum which denotes for which rows the indicator is applied
        test - value of FilterComparisonType denoting the type of comparison performed by the criteria.
        imageIndex - the index of the image to display when the field meets the criteria
        value1 - 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 GraphicalIndicatorCriteria type.

        Parameters:
        rowType - value of GraphicalIndicatorCriteriaType enum which denotes for which rows the indicator is applied
        test - value of FilterComparisonType denoting the type of comparison performed by the criteria.
        imageIndex - the index of the image to display when the field meets the criteria
        value - 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.
      • 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.