Enum Easing.InstantiationErrorCode

    • Enum Constant Detail

      • SAMPLED_DATA_POINT_COUNT_TOO_SMALL

        public static final Easing.InstantiationErrorCode SAMPLED_DATA_POINT_COUNT_TOO_SMALL

        Number of sampled data points in the list that defines an easing function is too small (i.e. less than 2).

      • SAMPLED_DATA_POINTS_FIRST_X_VALUE_INVALID

        public static final Easing.InstantiationErrorCode SAMPLED_DATA_POINTS_FIRST_X_VALUE_INVALID

        Invalid first value of X in the list of sampled data points that define an easing function. First value of X must be 0.

      • SAMPLED_DATA_POINTS_LAST_X_VALUE_INVALID

        public static final Easing.InstantiationErrorCode SAMPLED_DATA_POINTS_LAST_X_VALUE_INVALID

        Invalid last value of X in the list of sampled data points that define an easing function. Last value of X must be 1.

      • SAMPLED_DATA_X_VALUE_OUT_OF_RANGE

        public static final Easing.InstantiationErrorCode SAMPLED_DATA_X_VALUE_OUT_OF_RANGE

        Sampled data point X values that define an easing function are out of range [0, 1].

      • SAMPLED_DATA_X_VALUES_NON_MONOTONIC

        public static final Easing.InstantiationErrorCode SAMPLED_DATA_X_VALUES_NON_MONOTONIC

        Sampled data point X values in the list that defines an easing function don't increase monotonically.

    • Method Detail

      • values

        public static Easing.InstantiationErrorCode[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (Easing.InstantiationErrorCode c : Easing.InstantiationErrorCode.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Easing.InstantiationErrorCode valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null