Enum Flex.Justify

    • Enum Constant Detail

      • START

        public static final Flex.Justify START
        Lays out the elements at the start of the main axis container.
      • CENTER

        public static final Flex.Justify CENTER
        Lays out the elements at the center of the main axis container.
      • END

        public static final Flex.Justify END
        Lays out the elements at the end of the main axis container.
      • SPACE_BETWEEN

        public static final Flex.Justify SPACE_BETWEEN
        Lays out the elements across the available space on the main axis.
      • SPACE_AROUND

        public static final Flex.Justify SPACE_AROUND
        Lays out the elements across the available space on the main axis, adding space before the first child and after the last one.
    • Method Detail

      • values

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

        public static Flex.Justify valueOf​(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:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null