java.awt
public abstract class GraphicsConfigTemplate extends Object implements Serializable
Since: 1.2
See Also: GraphicsConfiguration GraphicsDevice
UNKNOWN: updated to 1.4
Field Summary | |
---|---|
static int | PREFERRED
States that a feature is preferred, but not required, to select a
configuration. |
static int | REQUIRED States that a feature is required to select a configuration. |
static int | UNNECESSARY
States that a feature is not necessary in the configuration. |
Constructor Summary | |
---|---|
GraphicsConfigTemplate()
The default constructor. |
Method Summary | |
---|---|
abstract GraphicsConfiguration | getBestConfiguration(GraphicsConfiguration[] array)
Returns the "best" match among the array of possible configurations, given
the criteria of this template.
|
abstract boolean | isGraphicsConfigSupported(GraphicsConfiguration config)
Returns true if the given configuration supports all the features required
by this template.
|
Parameters: array the array to choose from
Returns: the best match
Throws: NullPointerException if array is null
Parameters: config the configuration to test
Returns: true if it is a match
Throws: NullPointerException if config is null