API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.awt.image. BufferStrategy View Source
Author(s)
Michael Martak
Since
1.4
Version
Serial
Hierarchy
 Object
      BufferStrategy
Implements
Subclasses
Description
publicabstract abstract class BufferStrategy
  The BufferStrategy class represents the mechanism with which to organize complex memory on a particular Canvas or Window.
Constructors
public BufferStrategy ()
Methods
Hide/Show inherited methods
publicabstract boolean contentsLost ()
  Returns whether the drawing buffer was lost since the last call to getDrawGraphics.
publicabstract boolean contentsRestored ()
  Returns whether the drawing buffer was recently restored from a lost state and reinitialized to the default background color (white).
public void dispose ()
  Releases system resources currently consumed by this BufferStrategy and removes it from the associated Component.
publicabstract BufferCapabilities getCapabilities ()
  Returns the BufferCapabilities for this BufferStrategy.
publicabstract Graphics getDrawGraphics ()
  Creates a graphics context for the drawing buffer.
publicabstract void show ()
Makes the next available buffer visible by either copying the memory (blitting) or changing the display pointer (flipping).
Fields
Hide/Show inherited fields
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar