Enum BidiTransform.ReorderingScheme

    • Constructor Detail

      • ReorderingScheme

        private ReorderingScheme()
    • Method Detail

      • values

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

        public static BidiTransform.ReorderingScheme 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
      • matches

        abstract boolean matches​(byte inLevel,
                                 BidiTransform.Order inOrder,
                                 byte outLevel,
                                 BidiTransform.Order outOrder)
        Indicates whether this scheme matches another one in terms of equality of base direction and ordering scheme.
        Parameters:
        inLevel - Base level of the input text
        inOrder - Order of the input text
        outLevel - Base level of the output text
        outOrder - Order of the output text
        Returns:
        true if it's a match, false otherwise
      • doTransform

        abstract void doTransform​(BidiTransform transform)
        Performs a series of bidi layout transformations unique for the current scheme.
        Parameters:
        transform - Bidi transformation engine