| Modifier and Type | Method and Description |
|---|---|
DataType |
Widget.getType() |
| 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,
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.
|
void |
Widget.setType(DataType type) |
boolean |
Widget.supportsType(DataType type) |
| Modifier and Type | Field and Description |
|---|---|
static DataType[] |
TextBox.TYPES |
static DataType[] |
Subsystem.TYPES |
static DataType[] |
SimpleDial.TYPES |
static DataType[] |
Scheduler.TYPES |
static DataType[] |
ProgressBar.TYPES |
static DataType[] |
PIDEditor.TYPES |
static DataType[] |
LinePlot.TYPES |
static DataType[] |
FormattedField.TYPES |
static DataType[] |
Compass.TYPES |
static DataType[] |
CommandButton.TYPES |
static DataType[] |
Command.TYPES |
static DataType[] |
Chooser.TYPES |
static DataType[] |
CheckBox.TYPES |
static DataType[] |
Button.TYPES |
static DataType[] |
BooleanBox.TYPES |
| 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 | Field and Description |
|---|---|
static DataType[] |
SpeedController.TYPES |
static DataType[] |
SingleNumberDisplay.TYPES |
static DataType[] |
ServoController.TYPES |
static DataType[] |
RelayController.TYPES |
static DataType[] |
LWSubsystem.TYPES |
static DataType[] |
GyroDisplay.TYPES |
static DataType[] |
EncoderDisplay.TYPES |
static DataType[] |
DigitalOutputController.TYPES |
static DataType[] |
DigitalInputDisplay.TYPES |
| Modifier and Type | Class and Description |
|---|---|
class |
NamedDataType |
| Modifier and Type | Field and Description |
|---|---|
static DataType |
DataType.BASIC |
static DataType |
DataType.BOOLEAN |
static DataType |
DataType.NUMBER |
static DataType |
DataType.STRING |
static DataType |
DataType.TABLE |
| Modifier and Type | Method and Description |
|---|---|
DataType[] |
DataType.getParents() |
static DataType |
DataType.getType(java.lang.Object value) |
static DataType |
DataType.getType(java.lang.String type,
boolean isNamedType) |
| Modifier and Type | Method and Description |
|---|---|
static java.util.Set<java.lang.Class<? extends Widget>> |
DisplayElementRegistry.getWidgetsForType(DataType type)
Returns all the widgets which support a given type.
|
boolean |
DataType.isChildOf(DataType parent) |
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) |
NamedDataType(java.lang.String name,
DataType... parents) |
| Modifier and Type | Class and Description |
|---|---|
class |
AccelerometerType |
class |
AnalogInputType |
class |
ButtonType |
class |
CommandType |
class |
CompassType |
class |
CompressorType |
class |
CounterType |
class |
DigitalInputType |
class |
DigitalOutputType |
class |
DoubleSolenoidType |
class |
EncoderType |
class |
GearToothSensorType |
class |
GyroType |
class |
LWGyroType |
class |
LWSubsystemType |
class |
PIDCommandType |
class |
PIDSubsystemType |
class |
PIDType |
class |
QuadratureEncoderType |
class |
RelayType |
class |
SchedulerType |
class |
ServoType |
class |
SolenoidType |
class |
SpeedControllerType |
class |
StringChooserType |
class |
SubsystemType |
class |
UltrasonicType |
| Modifier and Type | Method and Description |
|---|---|
DataType |
XMLWidget.getType() |