public enum PresentInterval extends java.lang.Enum<PresentInterval>
Enum Constant and Description |
---|
Default
Equivalent to setting One.
|
Immediate
The runtime updates the window client area immediately, and might do so more than once during the adapter refresh period.
|
One
The driver waits for the vertical retrace period (the runtime will beam trace to prevent tearing).
|
Two
The driver waits for the vertical retrace period.
|
Modifier and Type | Method and Description |
---|---|
static PresentInterval |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PresentInterval[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PresentInterval Default
public static final PresentInterval One
public static final PresentInterval Two
public static final PresentInterval Immediate
public static PresentInterval[] values()
for (PresentInterval c : PresentInterval.values()) System.out.println(c);
public static PresentInterval 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