java.awt
Class BufferCapabilities.FlipContents

java.lang.Object sample code for java.lang.Object definition code for java.lang.Object 
  extended by java.awt.BufferCapabilities.FlipContents
Enclosing class:
BufferCapabilities sample code for java.awt.BufferCapabilities definition code for java.awt.BufferCapabilities

public static final class BufferCapabilities.FlipContents
extends Object sample code for java.lang.Object definition code for java.lang.Object

A type-safe enumeration of the possible back buffer contents after page-flipping


Field Summary
static BufferCapabilities.FlipContents sample code for java.awt.BufferCapabilities.FlipContents definition code for java.awt.BufferCapabilities.FlipContents BACKGROUND sample code for java.awt.BufferCapabilities.FlipContents.BACKGROUND definition code for java.awt.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 sample code for java.awt.BufferCapabilities.FlipContents definition code for java.awt.BufferCapabilities.FlipContents COPIED sample code for java.awt.BufferCapabilities.FlipContents.COPIED definition code for java.awt.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 sample code for java.awt.BufferCapabilities.FlipContents definition code for java.awt.BufferCapabilities.FlipContents PRIOR sample code for java.awt.BufferCapabilities.FlipContents.PRIOR definition code for java.awt.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 sample code for java.awt.BufferCapabilities.FlipContents definition code for java.awt.BufferCapabilities.FlipContents UNDEFINED sample code for java.awt.BufferCapabilities.FlipContents.UNDEFINED definition code for java.awt.BufferCapabilities.FlipContents.UNDEFINED
          When flip contents are UNDEFINED, the contents of the back buffer are undefined after flipping.
 
Method Summary
 int hashCode sample code for java.awt.BufferCapabilities.FlipContents.hashCode() definition code for java.awt.BufferCapabilities.FlipContents.hashCode() ()
          Returns a hash code value for the object.
 String sample code for java.lang.String definition code for java.lang.String toString sample code for java.awt.BufferCapabilities.FlipContents.toString() definition code for java.awt.BufferCapabilities.FlipContents.toString() ()
          Returns a string representation of the object.
 
Methods inherited from class java.lang.Object sample code for java.lang.Object definition code for java.lang.Object
clone sample code for java.lang.Object.clone() definition code for java.lang.Object.clone() , equals sample code for java.lang.Object.equals(java.lang.Object) definition code for java.lang.Object.equals(java.lang.Object) , finalize sample code for java.lang.Object.finalize() definition code for java.lang.Object.finalize() , getClass sample code for java.lang.Object.getClass() definition code for java.lang.Object.getClass() , notify sample code for java.lang.Object.notify() definition code for java.lang.Object.notify() , notifyAll sample code for java.lang.Object.notifyAll() definition code for java.lang.Object.notifyAll() , wait sample code for java.lang.Object.wait() definition code for java.lang.Object.wait() , wait sample code for java.lang.Object.wait(long) definition code for java.lang.Object.wait(long) , wait sample code for java.lang.Object.wait(long, int) definition code for java.lang.Object.wait(long, int)
 

Field Detail

UNDEFINED sample code for java.awt.BufferCapabilities.FlipContents.UNDEFINED

public static final BufferCapabilities.FlipContents sample code for java.awt.BufferCapabilities.FlipContents definition code for java.awt.BufferCapabilities.FlipContents  UNDEFINED
When flip contents are UNDEFINED, the contents of the back buffer are undefined after flipping.

See Also:
BufferCapabilities.isPageFlipping() sample code for java.awt.BufferCapabilities.isPageFlipping() definition code for java.awt.BufferCapabilities.isPageFlipping() , BufferCapabilities.getFlipContents() sample code for java.awt.BufferCapabilities.getFlipContents() definition code for java.awt.BufferCapabilities.getFlipContents() , BACKGROUND sample code for java.awt.BufferCapabilities.FlipContents.BACKGROUND definition code for java.awt.BufferCapabilities.FlipContents.BACKGROUND , PRIOR sample code for java.awt.BufferCapabilities.FlipContents.PRIOR definition code for java.awt.BufferCapabilities.FlipContents.PRIOR , COPIED sample code for java.awt.BufferCapabilities.FlipContents.COPIED definition code for java.awt.BufferCapabilities.FlipContents.COPIED

BACKGROUND sample code for java.awt.BufferCapabilities.FlipContents.BACKGROUND

public static final BufferCapabilities.FlipContents sample code for java.awt.BufferCapabilities.FlipContents definition code for java.awt.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() sample code for java.awt.BufferCapabilities.isPageFlipping() definition code for java.awt.BufferCapabilities.isPageFlipping() , BufferCapabilities.getFlipContents() sample code for java.awt.BufferCapabilities.getFlipContents() definition code for java.awt.BufferCapabilities.getFlipContents() , UNDEFINED sample code for java.awt.BufferCapabilities.FlipContents.UNDEFINED definition code for java.awt.BufferCapabilities.FlipContents.UNDEFINED , PRIOR sample code for java.awt.BufferCapabilities.FlipContents.PRIOR definition code for java.awt.BufferCapabilities.FlipContents.PRIOR , COPIED sample code for java.awt.BufferCapabilities.FlipContents.COPIED definition code for java.awt.BufferCapabilities.FlipContents.COPIED

PRIOR sample code for java.awt.BufferCapabilities.FlipContents.PRIOR

public static final BufferCapabilities.FlipContents sample code for java.awt.BufferCapabilities.FlipContents definition code for java.awt.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() sample code for java.awt.BufferCapabilities.isPageFlipping() definition code for java.awt.BufferCapabilities.isPageFlipping() , BufferCapabilities.getFlipContents() sample code for java.awt.BufferCapabilities.getFlipContents() definition code for java.awt.BufferCapabilities.getFlipContents() , UNDEFINED sample code for java.awt.BufferCapabilities.FlipContents.UNDEFINED definition code for java.awt.BufferCapabilities.FlipContents.UNDEFINED , BACKGROUND sample code for java.awt.BufferCapabilities.FlipContents.BACKGROUND definition code for java.awt.BufferCapabilities.FlipContents.BACKGROUND , COPIED sample code for java.awt.BufferCapabilities.FlipContents.COPIED definition code for java.awt.BufferCapabilities.FlipContents.COPIED

COPIED sample code for java.awt.BufferCapabilities.FlipContents.COPIED

public static final BufferCapabilities.FlipContents sample code for java.awt.BufferCapabilities.FlipContents definition code for java.awt.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() sample code for java.awt.BufferCapabilities.isPageFlipping() definition code for java.awt.BufferCapabilities.isPageFlipping() , BufferCapabilities.getFlipContents() sample code for java.awt.BufferCapabilities.getFlipContents() definition code for java.awt.BufferCapabilities.getFlipContents() , UNDEFINED sample code for java.awt.BufferCapabilities.FlipContents.UNDEFINED definition code for java.awt.BufferCapabilities.FlipContents.UNDEFINED , BACKGROUND sample code for java.awt.BufferCapabilities.FlipContents.BACKGROUND definition code for java.awt.BufferCapabilities.FlipContents.BACKGROUND , PRIOR sample code for java.awt.BufferCapabilities.FlipContents.PRIOR definition code for java.awt.BufferCapabilities.FlipContents.PRIOR
Method Detail

hashCode sample code for java.awt.AttributeValue.hashCode() definition code for java.awt.AttributeValue.hashCode()

public int hashCode()
Description copied from class: Object sample code for java.lang.Object.hashCode() definition code for java.lang.Object.hashCode()
Returns a hash code value for the object. This method is supported for the benefit of hashtables such as those provided by java.util.Hashtable.

The general contract of hashCode is:

As much as is reasonably practical, the hashCode method defined by class Object does return distinct integers for distinct objects. (This is typically implemented by converting the internal address of the object into an integer, but this implementation technique is not required by the JavaTM programming language.)

Overrides:
hashCode sample code for java.lang.Object.hashCode() definition code for java.lang.Object.hashCode() in class Object sample code for java.lang.Object definition code for java.lang.Object
Returns:
a hash code value for this object.
See Also:
Object.equals(java.lang.Object) sample code for java.lang.Object.equals(java.lang.Object) definition code for java.lang.Object.equals(java.lang.Object) , Hashtable sample code for java.util.Hashtable definition code for java.util.Hashtable

toString sample code for java.awt.AttributeValue.toString() definition code for java.awt.AttributeValue.toString()

public String sample code for java.lang.String definition code for java.lang.String  toString()
Description copied from class: Object sample code for java.lang.Object.toString() definition code for java.lang.Object.toString()
Returns a string representation of the object. In general, the toString method returns a string that "textually represents" this object. The result should be a concise but informative representation that is easy for a person to read. It is recommended that all subclasses override this method.

The toString method for class Object returns a string consisting of the name of the class of which the object is an instance, the at-sign character `@', and the unsigned hexadecimal representation of the hash code of the object. In other words, this method returns a string equal to the value of:

 getClass().getName() + '@' + Integer.toHexString(hashCode())
 

Overrides:
toString sample code for java.lang.Object.toString() definition code for java.lang.Object.toString() in class Object sample code for java.lang.Object definition code for java.lang.Object
Returns:
a string representation of the object.