Spec-Zone .ru
спецификации, руководства, описания, API
|
public enum ConditionalFeature extends java.lang.Enum<ConditionalFeature>
Platform.isSupported()
function. Using a conditional feature
on a platform that does not support it will not cause an exception. In
general, the conditional feature will just be ignored. See the documentation
for each feature for more detail.Enum Constant and Description |
---|
EFFECT
Indicates that filter effects are available on the platform.
|
INPUT_METHOD
Indicates that text input method is available on the platform.
|
SCENE3D
Indicates that 3D is available on the platform.
|
SHAPE_CLIP
Indicates that clipping against an arbitrary shape is available
on the platform.
|
TRANSPARENT_WINDOW
Indicates that the system supports full window transparency.
|
Modifier and Type | Method and Description |
---|---|
static ConditionalFeature |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ConditionalFeature[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConditionalFeature SCENE3D
public static final ConditionalFeature EFFECT
public static final ConditionalFeature SHAPE_CLIP
public static final ConditionalFeature INPUT_METHOD
public static final ConditionalFeature TRANSPARENT_WINDOW
NOTE: Currently, this support is available on all platforms except Linux systems without the XComposite extension. The XShape extension is used in that case, so the window edges are aliased.
public static ConditionalFeature[] values()
for (ConditionalFeature c : ConditionalFeature.values()) System.out.println(c);
public static ConditionalFeature valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is nullCopyright (c) 2008, 2012, Oracle and/or its affiliates. All rights reserved. Use is subject to