- java.lang.Object
-
- java.awt.BufferCapabilities.FlipContents
-
- Enclosing class:
- BufferCapabilities
public static final class BufferCapabilities.FlipContents extends Object
A type-safe enumeration of the possible back buffer contents after page-flipping- Since:
- 1.4
-
-
Field Summary
Fields Modifier and Type Field Description static BufferCapabilities.FlipContentsBACKGROUNDWhen flip contents areBACKGROUND, the contents of the back buffer are cleared with the background color after flipping.static BufferCapabilities.FlipContentsCOPIEDWhen flip contents areCOPIED, the contents of the back buffer are copied to the front buffer when flipping.static BufferCapabilities.FlipContentsPRIORWhen flip contents arePRIOR, the contents of the back buffer are the prior contents of the front buffer (a true page flip).static BufferCapabilities.FlipContentsUNDEFINEDWhen flip contents areUNDEFINED, the contents of the back buffer are undefined after flipping.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description inthashCode()Answers an integer hash code for the receiver.StringtoString()Answers a string containing a concise, human-readable description of the receiver.
-
-
-
Field Detail
-
UNDEFINED
public static final BufferCapabilities.FlipContents UNDEFINED
When flip contents areUNDEFINED, the contents of the back buffer are undefined after flipping.
-
BACKGROUND
public static final BufferCapabilities.FlipContents BACKGROUND
When flip contents areBACKGROUND, the contents of the back buffer are cleared with the background color after flipping.
-
PRIOR
public static final BufferCapabilities.FlipContents PRIOR
When flip contents arePRIOR, the contents of the back buffer are the prior contents of the front buffer (a true page flip).
-
COPIED
public static final BufferCapabilities.FlipContents COPIED
When flip contents areCOPIED, the contents of the back buffer are copied to the front buffer when flipping.
-
-
Method Detail
-
hashCode
public int hashCode()
Description copied from class:ObjectAnswers an integer hash code for the receiver. Any two objects which answertruewhen passed to.equalsmust answer the same value for this method.- Overrides:
hashCodein classObject- Returns:
- the receiver's hash.
- See Also:
Object.equals(java.lang.Object)
-
-