| Modifier and Type | Method and Description |
|---|---|
void |
DashboardPanel.setField(java.lang.String key,
Widget element,
DataType type,
java.lang.Object value,
java.awt.Point point)
Sets the element to use for the given field, removing the current element
if one exists for that field.
|
| Modifier and Type | Method and Description |
|---|---|
void |
DashboardPanel.setField(java.lang.String key,
java.lang.Class<? extends Widget> preferred,
DataType type,
java.lang.Object value,
java.awt.Point point)
Sets the field to use the given values.
|
void |
DashboardPanel.setField(java.lang.String key,
java.lang.Class<? extends Widget> preferred,
java.lang.Object value,
java.awt.Point point)
Sets the field to use the given values.
|
| Modifier and Type | Class and Description |
|---|---|
class |
BooleanBox
Implements a simple text box UI element with a name label.
|
class |
Button |
class |
CheckBox
Implements a simple text box UI element with a name label.
|
class |
Chooser |
class |
Command |
class |
CommandButton |
class |
Compass |
class |
FormattedField
Implements a simple text box UI element with a name label.
|
class |
LinePlot |
class |
PIDEditor |
class |
ProgressBar |
class |
Scheduler |
class |
SimpleDial |
class |
Subsystem |
class |
TextBox
Implements a simple text box UI element with a name label.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractNumberDatasetWidget |
class |
AbstractTableWidget
An abstraction for creating a widget that wraps a network table
|
class |
AbstractValueWidget |
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractTableWidget.setField(java.lang.String name,
Widget element,
DataType type,
java.lang.Object value,
LWSubsystem subsystem,
java.awt.Point point) |
| Modifier and Type | Class and Description |
|---|---|
class |
DigitalInputDisplay
Displays a digital value (on/off).
|
class |
DigitalOutputController
Controls a controller that is either on or off.
|
class |
EncoderDisplay
Displays data from an Encoder.
|
class |
GyroDisplay
Displays data from a Gyro or Compass.
|
class |
LWSubsystem
The main player in the Live Window.
|
class |
RelayController
Used to control relays, which give out positive, negative, or no voltage
("Forward," "Off," and "Reverse") without control over how much is given
out.
|
class |
ServoController
Controls a Servo.
|
class |
SingleNumberDisplay
Displays a single number (e.g.
|
class |
SpeedController
Used to control SpeedControllers such as Victors.
|
| Modifier and Type | Method and Description |
|---|---|
Widget |
LWSubsystem.getWidgetAt(java.awt.Point p)
Gets a widget at a specific point.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.ArrayList<Widget> |
LWSubsystem.getWidgets()
Gets all the widgets contained within this subsystem.
|
| Modifier and Type | Method and Description |
|---|---|
void |
LWSubsystem.addWidget(Widget widget)
Adds the specified widget to this subsystem.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Class<? extends Widget> |
DataType.getDefault() |
static java.util.Set<java.lang.Class<? extends Widget>> |
DisplayElementRegistry.getWidgetsForType(DataType type)
Returns all the widgets which support a given type.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
DisplayElementRegistry.registerWidget(java.lang.Class<? extends Widget> clazz)
Adds the new
Widget to the registry. |
void |
DataType.setDefault(java.lang.Class<? extends Widget> defaultClass) |
static boolean |
DisplayElementRegistry.supportsType(java.lang.Class<? extends Widget> clazz,
DataType type)
Returns whether a
Widget of the given class can handle an element
of the given type. |
| Constructor and Description |
|---|
NamedDataType(java.lang.String name,
java.lang.Class<? extends Widget> defaultWidget,
DataType... parents) |