Enum DisplayListCollector.CollectFlags
- java.lang.Object
-
- java.lang.Enum<DisplayListCollector.CollectFlags>
-
- com.openhtmltopdf.render.displaylist.DisplayListCollector.CollectFlags
-
- All Implemented Interfaces:
Serializable,Comparable<DisplayListCollector.CollectFlags>
- Enclosing class:
- DisplayListCollector
protected static enum DisplayListCollector.CollectFlags extends Enum<DisplayListCollector.CollectFlags>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INCLUDE_FIXED_BOXESFixed layers appear on each page.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DisplayListCollector.CollectFlagsvalueOf(String name)Returns the enum constant of this type with the specified name.static DisplayListCollector.CollectFlags[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
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 nameNullPointerException- if the argument is null
-
-