Enum MatrixSettings.Direction

    • Method Detail

      • values

        public static MatrixSettings.Direction[] 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 (MatrixSettings.Direction c : MatrixSettings.Direction.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static MatrixSettings.Direction 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
      • getDirectionFromEnum

        public static MatrixSettings.Direction getDirectionFromEnum​(@CheckForNull
                                                                    java.lang.Object direction)
        Converts enumeration literal to enum value
        Parameters:
        direction - enumeration literal object
        Returns:
        direction corresponding to enumeration literal value
      • getType

        public java.lang.String getType()
        Returns representation type for this enum value
        Returns:
        representation string
      • isRowToColumnSupported

        public boolean isRowToColumnSupported()
        Returns if row to column mode is supported - ROW_TO_COLUMN and BOTH cases.
        Returns:
        true if supported.
      • isColumnToRowSupported

        public boolean isColumnToRowSupported()
        Returns if column to row mode is supported - COLUMN_TO_ROW and BOTH cases.
        Returns:
        true if supported.
      • getEnum

        public static MatrixSettings.Direction getEnum​(java.lang.String type)
        finds direction by its representation type
        Parameters:
        type - representation type
        Returns:
        enum value of this type
      • invert

        public MatrixSettings.Direction invert()
        Gets inverted direction or the sam for BOTH.
        Returns:
        inverted direction