java.awt
public class BufferCapabilities extends Object implements Cloneable
Since: 1.4
See Also: getCapabilities
Nested Class Summary | |
---|---|
static class | BufferCapabilities.FlipContents
A type-safe enumeration of buffer flipping results.
|
Constructor Summary | |
---|---|
BufferCapabilities(ImageCapabilities frontCaps, ImageCapabilities backCaps, BufferCapabilities.FlipContents flip)
Creates a buffer capabilities object.
|
Method Summary | |
---|---|
Object | clone()
Clone this buffering capability descriptor.
|
ImageCapabilities | getBackBufferCapabilities()
Retrieve the back buffer's image capabilities.
|
BufferCapabilities.FlipContents | getFlipContents()
Retrieve the result of a flipping operation. |
ImageCapabilities | getFrontBufferCapabilities()
Retrieve the front buffer's image capabilities.
|
boolean | isFullScreenRequired()
Returns true if flipping is only supported in fullscreen mode.
|
boolean | isMultiBufferAvailable()
Returns true if flipping can involve more than two buffers. |
boolean | isPageFlipping()
Return whether or not flipping is supported.
|
Parameters: frontCaps front buffer capabilities descriptor backCaps back buffer capabilities descriptor flip the results of a flip operation or null if flipping is not supported
Throws: IllegalArgumentException if frontCaps or backCaps is null
Returns: a clone of this buffer capability descriptor
Returns: the back buffer's image capabilities
FlipContents.UNDEFINED
the contents of the
back buffer are undefined after flipping.FlipContents.BACKGROUND
the contents of the
back buffer are cleared to the background color after
flipping.FlipContents.PRIOR
the back buffer contains
the pre-flipping contents of the front * buffer after
flipping.FlipContents.COPIED
the back buffer has the
same contents as the front buffer after flipping.Returns: the result of a flipping operation or null if flipping is not supported
Returns: the front buffer's image capabilities
Returns: true if flipping is only supported in fullscreen mode, false otherwise
Returns: true if there are more than two buffers available for flipping, false otherwise
Returns: true if flipping is supported, false otherwise