java.awt.image
public abstract class BufferStrategy extends 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 BufferCapabilities |
getCapabilities()
Retrieves the capabilities of this buffer strategy.
|
abstract 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 BufferCapabilities getCapabilities()
public abstract Graphics getDrawGraphics()
public abstract boolean contentsLost()
public abstract boolean contentsRestored()
public abstract void show()