aicas logoJamaica 6.4 release 1

java.awt
Class BufferCapabilities.FlipContents

java.lang.Object
  extended by 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
static BufferCapabilities.FlipContents BACKGROUND
          When flip contents are BACKGROUND, the contents of the back buffer are cleared with the background color after flipping.
static BufferCapabilities.FlipContents COPIED
          When flip contents are COPIED, the contents of the back buffer are copied to the front buffer when flipping.
static BufferCapabilities.FlipContents PRIOR
          When flip contents are PRIOR, the contents of the back buffer are the prior contents of the front buffer (a true page flip).
static BufferCapabilities.FlipContents UNDEFINED
          When flip contents are UNDEFINED, the contents of the back buffer are undefined after flipping.
 
Method Summary
 int hashCode()
          hashCode returns a hash code for this object.
 String toString()
          toString creates a printable string that represents this object for debugging purposes.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

UNDEFINED

public static final BufferCapabilities.FlipContents UNDEFINED
When flip contents are UNDEFINED, the contents of the back buffer are undefined after flipping.

See Also:
BufferCapabilities.isPageFlipping(), BufferCapabilities.getFlipContents(), BACKGROUND, PRIOR, COPIED

BACKGROUND

public static final BufferCapabilities.FlipContents BACKGROUND
When flip contents are BACKGROUND, the contents of the back buffer are cleared with the background color after flipping.

See Also:
BufferCapabilities.isPageFlipping(), BufferCapabilities.getFlipContents(), UNDEFINED, PRIOR, COPIED

PRIOR

public static final BufferCapabilities.FlipContents PRIOR
When flip contents are PRIOR, the contents of the back buffer are the prior contents of the front buffer (a true page flip).

See Also:
BufferCapabilities.isPageFlipping(), BufferCapabilities.getFlipContents(), UNDEFINED, BACKGROUND, COPIED

COPIED

public static final BufferCapabilities.FlipContents COPIED
When flip contents are COPIED, the contents of the back buffer are copied to the front buffer when flipping.

See Also:
BufferCapabilities.isPageFlipping(), BufferCapabilities.getFlipContents(), UNDEFINED, BACKGROUND, PRIOR
Method Detail

hashCode

public int hashCode()
Description copied from class: Object
hashCode returns a hash code for this object. The hash code must be equal for two objects a and b if a.equals(b) is true.

The default implementation returns System.identityHashCode(this).

Overrides:
hashCode in class Object
Returns:
a hash code value.

toString

public String toString()
Description copied from class: Object
toString creates a printable string that represents this object for debugging purposes.

The default implementation returns getClass().getName() + '@' + Integer.toHexString(hashCode()).

Overrides:
toString in class Object
Returns:
a string identifying this object.

aicas logoJamaica 6.4 release 1

aicas GmbH, Karlsruhe, Germany —www.aicas.com
Copyright © 2001-2015 aicas GmbH. All Rights Reserved.