ControlState Class

public final class ControlState
extends ExpandableStringEnum<ControlState>

The data type state.

Field Summary

Modifier and Type Field and Description
static final ControlState DISABLED

Static value Disabled for ControlState.

static final ControlState ENABLED

Static value Enabled for ControlState.

Constructor Summary

Constructor Description
ControlState()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ControlState value.

Method Summary

Modifier and Type Method and Description
static ControlState fromString(String name)

Creates or finds a ControlState from its string representation.

static Collection<ControlState> values()

Gets known ControlState values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

DISABLED

public static final ControlState DISABLED

Static value Disabled for ControlState.

ENABLED

public static final ControlState ENABLED

Static value Enabled for ControlState.

Constructor Details

ControlState

@Deprecated
public ControlState()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ControlState value.

Method Details

fromString

public static ControlState fromString(String name)

Creates or finds a ControlState from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding ControlState.

values

public static Collection<ControlState> values()

Gets known ControlState values.

Returns:

known ControlState values.

Applies to