Top Description Fields Constructors Methods
org.controlsfx.tools

public final Enum Platform

extends Enum<Platform>
Class Inheritance
Imports
java.security.AccessController, .PrivilegedAction

Represents operating system with appropriate properties

Field Summary

Modifier and TypeField and Description
private static Platform
public static final Platform
private String
public static final Platform
public static final Platform
public static final Platform

Constructor Summary

AccessConstructor and Description
private
Platform(String platformId)

Method Summary

Modifier and TypeMethod and Description
public static Platform
getCurrent()

Returns: the current OS.

private static Platform
public String

Returns:

platform id
getPlatformId
()

Returns platform id. Usually used to specify platform dependent styles

public static Platform
public static Platform[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

currentback to summary
private static Platform current
OSXback to summary
public static final Platform OSX
platformIdback to summary
private String platformId
UNIXback to summary
public static final Platform UNIX
UNKNOWNback to summary
public static final Platform UNKNOWN
WINDOWSback to summary
public static final Platform WINDOWS

Constructor Detail

Platformback to summary
private Platform(String platformId)

Method Detail

getCurrentback to summary
public static Platform getCurrent()
Returns:Platform

the current OS.

getCurrentPlatformback to summary
private static Platform getCurrentPlatform()
getPlatformIdback to summary
public String getPlatformId()

Returns platform id. Usually used to specify platform dependent styles

Returns:String

platform id

valueOfback to summary
public static Platform valueOf(String name)
valuesback to summary
public static Platform[] values()