- All Implemented Interfaces:
- Serializable,- Comparable<ConditionalFeature>,- Constable
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.- Since:
- JavaFX 2.0
- 
Nested Class SummaryNested classes/interfaces declared in class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum ConstantsEnum ConstantDescriptionIndicates that JavaFX classes providing UI controls are available on this platform.Indicates that filter effects are available on the platform.Indicates that XML libraries are present in the JRE and that the FXML API is available on the platform.Indicates that JavaFX classes providing graphics capabilities are available on this platform.Indicates that text input method is available on the platform.Indicates whether or not a touch screen providing multi-touch input is attached to the device on which JavaFX in running.Indicates whether or not a relative motion pointer device such as a mouse, trackpad or trackball is attached.Indicates whether or not a touch screen is attached to the device on which JavaFX in running.Indicates that the javafx.scene.media package is available on this platform.Indicates that 3D is available on the platform.Indicates that clipping against an arbitrary shape is available on the platform.Indicates that the Swing library is present in the Java Runtime Environment and that Swing integration with JavaFX is available on the platform.Indicates that SWT integration is available on the platform.Indicates that the system supports full window transparency.Indicates whether or not controls should use two-level focus.Indicates that a system supportsStageStyle.UNIFIEDIndicates whether an on-screen virtual keyboard is used for text input.Indicates that the javafx.scene.web packages is available on this platform.
- 
Method SummaryModifier and TypeMethodDescriptionstatic ConditionalFeatureReturns the enum constant of this class with the specified name.static ConditionalFeature[]values()Returns an array containing the constants of this enum class, in the order they are declared.
- 
Enum Constant Details- 
GRAPHICSIndicates that JavaFX classes providing graphics capabilities are available on this platform.- Since:
- JavaFX 8.0
 
- 
CONTROLSIndicates that JavaFX classes providing UI controls are available on this platform.- Since:
- JavaFX 8.0
 
- 
MEDIAIndicates that the javafx.scene.media package is available on this platform.- Since:
- JavaFX 8.0
 
- 
WEBIndicates that the javafx.scene.web packages is available on this platform.- Since:
- JavaFX 8.0
 
- 
SWTIndicates that SWT integration is available on the platform. This tests for SWT integration with JavaFX, but does not test for the presence of the full SWT library.- Since:
- JavaFX 8.0
 
- 
SWINGIndicates that the Swing library is present in the Java Runtime Environment and that Swing integration with JavaFX is available on the platform.- Since:
- JavaFX 8.0
 
- 
FXMLIndicates that XML libraries are present in the JRE and that the FXML API is available on the platform. Note that it is possible for FXML APIs to be present but unusable if the underlying Java Runtime Environment does not have XML support. In this case Platform.isSupported(ConditionalFeature.FXML) wll return false.- Since:
- JavaFX 8.0
 
- 
SCENE3DIndicates 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.
- 
EFFECTIndicates 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.
- 
SHAPE_CLIPIndicates 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.
- 
INPUT_METHODIndicates 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.
- 
TRANSPARENT_WINDOWIndicates that the system supports full window transparency. Transparent windows will have only limited or no functionality on a platform that doesn't support it.Currently, this support is available on all desktop platforms except Linux systems without the XComposite extension. The XShape extension is used in that case, so the window edges are aliased. If a security manager is present, the application must have the FXPermission"createTransparentWindow" in order to create a transparent window. If the application doesn't have the required permission, it won't be able to use this feature; it will appear as if the the platform doesn't support transparent windows, andPlatform.isSupported(TRANSPARENT_WINDOW)will returnfalse.- Since:
- JavaFX 2.2
 
- 
UNIFIED_WINDOWIndicates that a system supportsStageStyle.UNIFIEDNOTE: Currently, supported on: - Windows Vista+: a window is completely filled with the frozen glass effect
- Mac OS X: a window has the brushed-metal textured background
 - Since:
- JavaFX 8.0
 
- 
TWO_LEVEL_FOCUSIndicates whether or not controls should use two-level focus. Two-level focus is when separate operations are needed in some controls to first enter a control and then to perform operations on the control. Two-level focus is needed on devices that provide directional arrow keys and a select key but do not provide keys for navigating between one control and another. On these devices a focused control may be either internally focused - in which case arrow keys operate on the control - or externally focused, in which case arrow keys are used to navigate focus to other controls.On embedded platforms JavaFX makes an attempt to initialize this ConditionalFeature based on what input peripherals are attached. On desktop platforms this ConditionalFeature will typically default to false. - Since:
- JavaFX 8.0
 
- 
VIRTUAL_KEYBOARDIndicates whether an on-screen virtual keyboard is used for text input.On embedded platforms JavaFX makes an attempt to initialize this ConditionalFeature based on what input peripherals are attached. On desktop platforms this ConditionalFeature will typically default to false. - Since:
- JavaFX 8.0
 
- 
INPUT_TOUCHIndicates whether or not a touch screen is attached to the device on which JavaFX in running.On embedded platforms JavaFX makes an attempt to initialize this ConditionalFeature based on what input peripherals are attached. On desktop platforms this ConditionalFeature will typically default to false. - Since:
- JavaFX 8.0
 
- 
INPUT_MULTITOUCHIndicates whether or not a touch screen providing multi-touch input is attached to the device on which JavaFX in running.On embedded platforms JavaFX makes an attempt to initialize this ConditionalFeature based on what input peripherals are attached. On desktop platforms this ConditionalFeature will typically default to false. If INPUT_MULTITOUCH is available then INPUT_TOUCH is also available. - Since:
- JavaFX 8.0
 
- 
INPUT_POINTERIndicates whether or not a relative motion pointer device such as a mouse, trackpad or trackball is attached.On embedded platforms JavaFX makes an attempt to initialize this ConditionalFeature based on what input peripherals are attached. On desktop platforms this ConditionalFeature will typically default to true. - Since:
- JavaFX 8.0
 
 
- 
- 
Method Details- 
valuesReturns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
 
- 
valueOfReturns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
- name- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
- IllegalArgumentException- if this enum class has no constant with the specified name
- NullPointerException- if the argument is null
 
 
-