Class ComplexWidget
- java.lang.Object
-
- edu.wpi.first.wpilibj.shuffleboard.ShuffleboardComponent<W>
-
- edu.wpi.first.wpilibj.shuffleboard.ComplexWidget
-
public final class ComplexWidget extends ShuffleboardComponent<W>
A Shuffleboard widget that handles aSendable
object such as a speed controller or sensor.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
buildInto(NetworkTable parentTable, NetworkTable metaTable)
W
withWidget(String widgetType)
Sets the type of widget used to display the data.-
Methods inherited from class edu.wpi.first.wpilibj.shuffleboard.ShuffleboardComponent
buildMetadata, getParent, getTitle, getType, setType, withPosition, withProperties, withSize
-
-
-
-
Method Detail
-
buildInto
public void buildInto(NetworkTable parentTable, NetworkTable metaTable)
-
withWidget
public final W withWidget(String widgetType)
Sets the type of widget used to display the data. If not set, the default widget type will be used.- Parameters:
widgetType
- the type of the widget used to display the data- Returns:
- this widget object
-
-