Enum FlexLayout.FlexWrap

    • Enum Constant Detail

      • NOWRAP

        public static final FlexLayout.FlexWrap NOWRAP
        If the items use up too much space they will overflow.
      • WRAP

        public static final FlexLayout.FlexWrap WRAP
        If items are not able to fit into a single row they are allowed to wrap into a follow up line.
      • WRAP_REVERSE

        public static final FlexLayout.FlexWrap WRAP_REVERSE
        If items are not able to fit into a single row they are allowed to wrap into a follow up line. Additionally the order of the items will be reversed.
    • Method Detail

      • values

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

        public static FlexLayout.FlexWrap 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