Enum DisplayListCollector.CollectFlags

    • Enum Constant Detail

      • INCLUDE_FIXED_BOXES

        public static final DisplayListCollector.CollectFlags INCLUDE_FIXED_BOXES
        Fixed layers appear on each page. To avoid having to clone each box in a fixed layer onto each page, we have this flag so we can exclude fixed boxes in the multi page run and just collect them at the last minute when painting a particular page.
    • Method Detail

      • values

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

        public static DisplayListCollector.CollectFlags 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