| |
|
| java.lang.Object java.awt.GraphicsConfigTemplate
Field Summary | |
final public static int | PREFERRED Value used for "Enum" (Integer) type. | final public static int | REQUIRED Value used for "Enum" (Integer) type. | final public static int | UNNECESSARY Value used for "Enum" (Integer) type. |
Constructor Summary | |
public | GraphicsConfigTemplate() This class is an abstract class so only subclasses can be
instantiated. |
PREFERRED | final public static int PREFERRED(Code) | | Value used for "Enum" (Integer) type. States that this
feature is desired for the GraphicsConfiguration
object. A selection with this feature is preferred over a
selection that does not include this feature, although both
selections can be considered valid matches.
|
REQUIRED | final public static int REQUIRED(Code) | | Value used for "Enum" (Integer) type. States that this
feature is required for the GraphicsConfiguration
object. If this feature is not available, do not select the
GraphicsConfiguration object.
|
UNNECESSARY | final public static int UNNECESSARY(Code) | | Value used for "Enum" (Integer) type. States that this
feature is not necessary for the selection of the
GraphicsConfiguration object. A selection
without this feature is preferred over a selection that
includes this feature since it is not used.
|
GraphicsConfigTemplate | public GraphicsConfigTemplate()(Code) | | This class is an abstract class so only subclasses can be
instantiated.
|
getBestConfiguration | abstract public GraphicsConfiguration getBestConfiguration(GraphicsConfiguration[] gc)(Code) | | Returns the "best" configuration possible that passes the
criteria defined in the GraphicsConfigTemplate .
Parameters: gc - the array of GraphicsConfiguration objects to choose from. a GraphicsConfiguration object that isthe best configuration possible. See Also: GraphicsConfiguration |
isGraphicsConfigSupported | abstract public boolean isGraphicsConfigSupported(GraphicsConfiguration gc)(Code) | | Returns a boolean indicating whether or
not the specified GraphicsConfiguration can be
used to create a drawing surface that supports the indicated
features.
Parameters: gc - the GraphicsConfiguration object to test true if this GraphicsConfiguration object can be used to createsurfaces that support the indicated features; false if the GraphicsConfiguration cannot be used to create a drawing surface usable by this Java(tm)API. |
|
|
|