public abstract class BufferStrategy extends java.lang.Object
VolatileImage| Constructor and Description |
|---|
BufferStrategy()
Creates a new buffer strategy.
|
| Modifier and Type | Method and Description |
|---|---|
abstract boolean |
contentsLost()
Returns whether or not the buffer's resources have been reclaimed
by the native graphics system.
|
abstract boolean |
contentsRestored()
Returns whether or not the buffer's resources were re-created and
cleared to the default background color.
|
abstract java.awt.BufferCapabilities |
getCapabilities()
Retrieves the capabilities of this buffer strategy.
|
abstract java.awt.Graphics |
getDrawGraphics()
Retrieves a graphics object that can be used to draw using this
buffer strategy.
|
abstract void |
show()
Applies this buffer strategy.
|
public BufferStrategy()
public abstract java.awt.BufferCapabilities getCapabilities()
public abstract java.awt.Graphics getDrawGraphics()
public abstract boolean contentsLost()
public abstract boolean contentsRestored()
public abstract void show()