public enum DashboardMode extends java.lang.Enum<DashboardMode>
Type | Property and Description |
---|---|
static javafx.beans.property.Property<DashboardMode> |
currentMode |
Enum Constant and Description |
---|
NORMAL
Normal operation.
|
PLAYBACK
When in this mode, the dashboard is playing back recorded data.
|
RECORDING
The dashboard behaves as
NORMAL , but records all incoming data in the background. |
Modifier and Type | Method and Description |
---|---|
static javafx.beans.property.Property<DashboardMode> |
currentModeProperty() |
static DashboardMode |
getCurrentMode()
Gets the current mode of the dashboard.
|
static void |
setCurrentMode(DashboardMode currentMode)
Sets the current mode of the dashboard.
|
static DashboardMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DashboardMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DashboardMode NORMAL
public static final DashboardMode RECORDING
NORMAL
, but records all incoming data in the background.public static final DashboardMode PLAYBACK
public static javafx.beans.property.Property<DashboardMode> currentModeProperty
getCurrentMode()
,
setCurrentMode(DashboardMode)
public static DashboardMode[] values()
for (DashboardMode c : DashboardMode.values()) System.out.println(c);
public static DashboardMode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static javafx.beans.property.Property<DashboardMode> currentModeProperty()
getCurrentMode()
,
setCurrentMode(DashboardMode)
public static DashboardMode getCurrentMode()
public static void setCurrentMode(DashboardMode currentMode)