We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.flow.component.charts.model.
Class PaneList
- java.lang.Object
-
- com.vaadin.flow.component.charts.model.AbstractConfigurationObject
-
- com.vaadin.flow.component.charts.model.PaneList
-
All Implemented Interfaces:
public class PaneList extends AbstractConfigurationObject
Pane Container to allow multiple Panes
See Also:
-
-
Constructor Summary
Constructors Constructor Description PaneList()
-
Method Summary
All Methods Modifier and Type Method Description void
addPane(Pane pane)
Adds a new pane to the list
int
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 paneReturns:
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
-
-