FileDocCategorySizeDatePackage
BufferStrategy.javaAPI DocAndroid 1.5 API2405Wed May 06 22:41:54 BST 2009java.awt.image

BufferStrategy

public abstract class BufferStrategy extends Object
The BufferStrategy abstract class provides an opportunity to organize the buffers for a Canvas or Window. The BufferStrategy implementation depends on hardware and software limitations. These limitations are detectable through the capabilities object which can be obtained by the GraphicsConfiguration of the Canvas or Window.
since
Android 1.0

Fields Summary
Constructors Summary
Methods Summary
public abstract booleancontentsLost()
Returns true if the drawing buffer was lost since the last call of getDrawGraphics.

return
true if the drawing buffer was lost since the last call of getDrawGraphics, false otherwise.

public abstract booleancontentsRestored()
Returns true if the drawing buffer is restored from a lost state.

return
true if the drawing buffer is restored from a lost state, false otherwise.

public abstract java.awt.BufferCapabilitiesgetCapabilities()
Gets the BufferCapabilities of BufferStrategy.

return
the BufferCapabilities of BufferStrategy.

public abstract java.awt.GraphicsgetDrawGraphics()
Gets the Graphics object to use to draw to the buffer.

return
the Graphics object to use to draw to the buffer.

public abstract voidshow()
Shows the next available buffer.