API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.awt. Component.FlipBufferStrategy View Source
Author(s)
Michael Martak
Since
1.4
Version
Serial
Hierarchy
 Object
      BufferStrategy
          Component.FlipBufferStrategy
Implements
Subclasses
Description
protected class Component.FlipBufferStrategy
  Inner class for flipping buffers on a component.
See also:    Canvas Window BufferStrategy
Constructors
protected Component.FlipBufferStrategy (int numBuffers, BufferCapabilities caps) throws AWTException
  Creates a new flipping buffer strategy for this component.
Methods
Hide/Show inherited methods
public boolean contentsLost () [Specified in BufferStrategy]
 
public boolean contentsRestored () [Specified in BufferStrategy]
 
protected void createBuffers (int numBuffers, BufferCapabilities caps) throws AWTException
  Creates one or more complex, flipping buffers with the given capabilities.
protected void destroyBuffers ()
Destroys the buffers created through this object
public void dispose () [Overrides BufferStrategy]
  Releases system resources currently consumed by this BufferStrategy and removes it from the associated Component.
protected void flip (FlipContents flipAction)
  Flipping moves the contents of the back buffer to the front buffer, either by copying or by moving the video pointer.
protected Image getBackBuffer ()
 
public BufferCapabilities getCapabilities () [Specified in BufferStrategy]
 
public Graphics getDrawGraphics () [Specified in BufferStrategy]
 
protected void revalidate ()
Restore the drawing buffer if it has been lost
pack-private void revalidate (boolean checkSize)
public void show () [Specified in BufferStrategy]
Makes the next available buffer visible by either blitting or flipping.
Fields
Hide/Show inherited fields
protected BufferCapabilities caps
The buffering capabilities
protected Image drawBuffer
The drawing buffer
protected VolatileImage drawVBuffer
The drawing buffer as a volatile image
pack-private int height
protected int numBuffers
The number of buffers
protected boolean validatedContents
Whether or not the drawing buffer has been recently restored from a lost state.
pack-private int width
  Size of the back buffers.
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar