Class PaneList
- java.lang.Object
-
- com.vaadin.flow.component.charts.model.AbstractConfigurationObject
-
- com.vaadin.flow.component.charts.model.PaneList
-
- All Implemented Interfaces:
Serializable
public class PaneList extends AbstractConfigurationObject
Pane Container to allow multiple Panes- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PaneList()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addPane(Pane pane)
Adds a new pane to the listint
getNumberOfPanes()
Pane
getPane(int index)
List<Pane>
getPanes()
Returns the pane list.void
removePane(Pane pane)
Removes a pane from the list
-
-
-
Method Detail
-
getNumberOfPanes
public int getNumberOfPanes()
- Returns:
- The number of panes in the list
-
getPane
public Pane getPane(int index)
- Parameters:
index
- Index of the pane- Returns:
- The pane with the given index
-
getPanes
public List<Pane> getPanes()
Returns the pane list. Use this only for serialization.- Returns:
- The pane list.
-
addPane
public void addPane(Pane pane)
Adds a new pane to the list- Parameters:
pane
- The pane to add
-
removePane
public void removePane(Pane pane)
Removes a pane from the list- Parameters:
pane
- The pane to remove
-
-