Overview
Defines a set of conditional (optional) features. These features may not be available on all platforms. An application that wants to know whether a particular feature is available may query this using the 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 ingored. See the documentation for each feature for more detail.
Profile: common
Field Summary
access | name | type | description |
---|---|---|---|
public static final | EFFECT | ConditionalFeature |
Indicates that filter effects are available on the platform. Indicates that filter effects are available on the platform. If an application uses an effect on a platform that does not support it, the effect will be ignored. |
public static final | INPUT_METHOD | ConditionalFeature |
Indicates that text input method is available on the platform. Indicates that text input method is available on the platform. If an application specifies an input method on a platform that does not support it, the input method will be ignored. |
public static final | SCENE3D | ConditionalFeature |
Indicates that 3D is available on the platform. Indicates that 3D is available on the platform. If an application attempts to use 3D transforms or a 3D camera on a platform that does not support 3D, then the transform or camera is ignored; it effectively becomes the identity transform. |
public static final | SHAPE_CLIP | ConditionalFeature |
Indicates that clipping against an arbitrary shape is available on the platform. Indicates that clipping against an arbitrary shape is available on the platform. If an application specifies a clip node on a platform that does not support clipping against an arbitrary shape, the node will be clipped to the bounds of the specified clip node rather than its geometric shape. |
Inherited Variables
Method Summary
- public static ConditionalFeature valueOf(java.lang.String name)
- public static ConditionalFeature[] values()