public class SubsystemLayout extends ListLayout implements edu.wpi.first.shuffleboard.api.Populatable, edu.wpi.first.shuffleboard.api.widget.Sourced
Constructor and Description |
---|
SubsystemLayout() |
Modifier and Type | Method and Description |
---|---|
void |
addChild(edu.wpi.first.shuffleboard.api.widget.Component child) |
void |
addComponentFor(edu.wpi.first.shuffleboard.api.sources.DataSource<?> source) |
void |
addSource(edu.wpi.first.shuffleboard.api.sources.DataSource source) |
java.util.Set<edu.wpi.first.shuffleboard.api.data.DataType> |
getDataTypes() |
java.lang.String |
getName() |
javafx.collections.ObservableList<edu.wpi.first.shuffleboard.api.sources.DataSource> |
getSources() |
boolean |
hasComponentFor(java.lang.String sourceId) |
boolean |
supports(java.lang.String sourceId) |
actionsForComponent, addComponentToView, getSettings, getView, initialize, removeComponentFromView, replaceInPlace
baseActionsForComponent, createChangeMenusForWidget, getChildren, getLabelPosition, labelPositionProperty, removeChild, setLabelPosition, titleProperty
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addComponentIfPossible, addComponentIfPossible
removeAllSources, removeSource
public java.lang.String getName()
getName
in interface edu.wpi.first.shuffleboard.api.widget.Component
getName
in class ListLayout
public boolean supports(java.lang.String sourceId)
supports
in interface edu.wpi.first.shuffleboard.api.Populatable
public boolean hasComponentFor(java.lang.String sourceId)
hasComponentFor
in interface edu.wpi.first.shuffleboard.api.Populatable
public void addComponentFor(edu.wpi.first.shuffleboard.api.sources.DataSource<?> source)
addComponentFor
in interface edu.wpi.first.shuffleboard.api.Populatable
public void addChild(edu.wpi.first.shuffleboard.api.widget.Component child)
addChild
in interface edu.wpi.first.shuffleboard.api.widget.Layout
addChild
in class edu.wpi.first.shuffleboard.api.widget.LayoutBase
public javafx.collections.ObservableList<edu.wpi.first.shuffleboard.api.sources.DataSource> getSources()
getSources
in interface edu.wpi.first.shuffleboard.api.widget.Sourced
public void addSource(edu.wpi.first.shuffleboard.api.sources.DataSource source) throws edu.wpi.first.shuffleboard.api.data.IncompatibleSourceException
addSource
in interface edu.wpi.first.shuffleboard.api.widget.Sourced
edu.wpi.first.shuffleboard.api.data.IncompatibleSourceException
public java.util.Set<edu.wpi.first.shuffleboard.api.data.DataType> getDataTypes()
getDataTypes
in interface edu.wpi.first.shuffleboard.api.widget.Sourced