Spec-Zone .ru
спецификации, руководства, описания, API

JavaFX: Bringing Rich Experiences To All the Screens Of Your Life

expand all

Profile: desktop, common

Overview

Provides script-level functions to allow an application to query capablities of the platform. An application should not create an instance of this class.

For example:

import javafx.runtime.*;
// Query whether filter effects are supported
if (Platform.isSupported(ConditionalFeature.EFFECT)) {
    // use effects
}
 

Profile: common

Inherited Variables

Script Function Summary

public isSupported(feature: ConditionalFeature) : Boolean

Queries whether a specific conditional feature is supported by the platform.

Queries whether a specific conditional feature is supported by the platform.

Parameters
feature
the conditional feature in question.
Returns
Boolean
 

Inherited Functions