HostOs

enum HostOs : Enum<HostOs>

An operating system family whose Swing behavior differs from the others'.

Unknown covers every system outside the three families; code branching on the host treats it as the default case.

Entries

Link copied to clipboard

Any Linux distribution.

Link copied to clipboard

Any version of Windows.

Link copied to clipboard

macOS.

Link copied to clipboard

Every system outside the three families, and a JVM that names none.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard

Whether this is Linux.

Link copied to clipboard

Whether this is MacOs.

Link copied to clipboard

Whether this is Windows.

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun valueOf(value: String): HostOs

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.