public final class GridLayout
extends edu.wpi.first.shuffleboard.api.widget.LayoutBase
Type | Property and Description |
---|---|
javafx.beans.property.IntegerProperty |
numColumns |
javafx.beans.property.IntegerProperty |
numRows |
Constructor and Description |
---|
GridLayout() |
Modifier and Type | Method and Description |
---|---|
void |
addChild(edu.wpi.first.shuffleboard.api.widget.Component component,
double x,
double y) |
void |
addChild(edu.wpi.first.shuffleboard.api.widget.Component component,
edu.wpi.first.shuffleboard.api.util.GridPoint point)
Adds a child component to a specific point in the grid.
|
protected void |
addComponentToView(edu.wpi.first.shuffleboard.api.widget.Component component) |
com.google.common.collect.ImmutableList<edu.wpi.first.shuffleboard.api.widget.LayoutBase.ChildContainer> |
getContainers()
Gets a list of the component containers in this layout.
|
java.lang.String |
getName() |
int |
getNumColumns()
Gets the value of the property numColumns.
|
int |
getNumRows()
Gets the value of the property numRows.
|
java.util.List<edu.wpi.first.shuffleboard.api.prefs.Group> |
getSettings() |
javafx.scene.layout.Pane |
getView() |
javafx.beans.property.IntegerProperty |
numColumnsProperty() |
javafx.beans.property.IntegerProperty |
numRowsProperty() |
protected void |
removeComponentFromView(edu.wpi.first.shuffleboard.api.widget.Component component) |
protected void |
replaceInPlace(edu.wpi.first.shuffleboard.api.widget.Component existing,
edu.wpi.first.shuffleboard.api.widget.Component replacement) |
void |
setNumColumns(int numColumns)
Sets the value of the property numColumns.
|
void |
setNumRows(int numRows)
Sets the value of the property numRows.
|
actionsForComponent, addChild, baseActionsForComponent, createChangeMenusForWidget, getChildren, getLabelPosition, labelPositionProperty, removeChild, setLabelPosition, titleProperty
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public javafx.beans.property.IntegerProperty numColumnsProperty
getNumColumns()
,
setNumColumns(int)
public javafx.beans.property.IntegerProperty numRowsProperty
getNumRows()
,
setNumRows(int)
public void addChild(edu.wpi.first.shuffleboard.api.widget.Component component, double x, double y)
public void addChild(edu.wpi.first.shuffleboard.api.widget.Component component, edu.wpi.first.shuffleboard.api.util.GridPoint point)
component
- the component to addpoint
- the point to add the component atprotected void addComponentToView(edu.wpi.first.shuffleboard.api.widget.Component component)
addComponentToView
in class edu.wpi.first.shuffleboard.api.widget.LayoutBase
protected void removeComponentFromView(edu.wpi.first.shuffleboard.api.widget.Component component)
removeComponentFromView
in class edu.wpi.first.shuffleboard.api.widget.LayoutBase
protected void replaceInPlace(edu.wpi.first.shuffleboard.api.widget.Component existing, edu.wpi.first.shuffleboard.api.widget.Component replacement)
replaceInPlace
in class edu.wpi.first.shuffleboard.api.widget.LayoutBase
public javafx.scene.layout.Pane getView()
public java.util.List<edu.wpi.first.shuffleboard.api.prefs.Group> getSettings()
public java.lang.String getName()
public com.google.common.collect.ImmutableList<edu.wpi.first.shuffleboard.api.widget.LayoutBase.ChildContainer> getContainers()
public int getNumColumns()
public javafx.beans.property.IntegerProperty numColumnsProperty()
getNumColumns()
,
setNumColumns(int)
public void setNumColumns(int numColumns)
public int getNumRows()
public javafx.beans.property.IntegerProperty numRowsProperty()
getNumRows()
,
setNumRows(int)
public void setNumRows(int numRows)