public static enum ResolutionInfo.Type extends Enum<ResolutionInfo.Type>
ResolutionInfo.DiscreteResolution objects. If STEPWISE, then minimum, maximum
and step values for width and height are reported. If UNSUPPORTED, then
resolution information is not available.| Enum Constant and Description |
|---|
DISCRETE
A DISCRETE type means resolutions are reported as a list of
ResolutionInfo.DiscreteResolution objects, using
ResolutionInfo.getDiscreteResolutions() |
STEPWISE
A STEPWISE type means that resolutions are reported as minimum,
maximum and step values for width and height through a
ResolutionInfo.StepwiseResolution object. |
UNSUPPORTED
An UNSUPPORTED type means supported resolution information cannot be
obtained from the driver.
|
| Modifier and Type | Method and Description |
|---|---|
static ResolutionInfo.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ResolutionInfo.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResolutionInfo.Type UNSUPPORTED
ResolutionInfo object (except
ResolutionInfo.getType() will throw an
UnsupportedMethod exception.public static final ResolutionInfo.Type DISCRETE
ResolutionInfo.DiscreteResolution objects, using
ResolutionInfo.getDiscreteResolutions()public static final ResolutionInfo.Type STEPWISE
ResolutionInfo.StepwiseResolution object. This object can be obtained by
calling ResolutionInfo.getStepwiseResolution().public static ResolutionInfo.Type[] values()
for (ResolutionInfo.Type c : ResolutionInfo.Type.values()) System.out.println(c);
public static ResolutionInfo.Type valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2013-2015 Bartosz Firyn (sarxos). All Rights Reserved.