public static enum WCGraphicsPrismContext.Type extends java.lang.Enum<WCGraphicsPrismContext.Type>
Enum Constant and Description |
---|
DEDICATED
A context associated with a dedicated buffer representing
a separate render target like canvas, buffered image etc.
|
PRIMARY
Base context associated with the topmost page buffer.
|
Modifier and Type | Method and Description |
---|---|
static WCGraphicsPrismContext.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static WCGraphicsPrismContext.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WCGraphicsPrismContext.Type PRIMARY
public static final WCGraphicsPrismContext.Type DEDICATED
public static WCGraphicsPrismContext.Type[] values()
for (WCGraphicsPrismContext.Type c : WCGraphicsPrismContext.Type.values()) System.out.println(c);
public static WCGraphicsPrismContext.Type valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null