Class AxisList<T extends Axis>
java.lang.Object
com.vaadin.componentfactory.maps.model.AbstractConfigurationObject
com.vaadin.componentfactory.maps.model.AxisList<T>
- All Implemented Interfaces:
Serializable
Alternative AxisContainer to allow multiple axes
- Version:
- $Id: $Id
- Author:
- Vaadin
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds a new axis to the listbooleancontains.getAxes()getAxes.getAxis(int index) Finds the axis at the given indexintgetNumberOfAxes.intindexOf.voidremoveAxis(T axis) Removes an axis from the list
-
Constructor Details
-
AxisList
public AxisList()
-
-
Method Details
-
getNumberOfAxes
public int getNumberOfAxes()getNumberOfAxes.
- Returns:
- the number of axes in the list
-
getAxis
Finds the axis at the given index- Parameters:
index- The index of the axis- Returns:
- The axis at the given index
-
getAxes
getAxes.
- Returns:
- The list of axes. Used only for serialization.
-
addAxis
Adds a new axis to the list- Parameters:
axis- The axis to add
-
removeAxis
Removes an axis from the list- Parameters:
axis- The axis to remove
-
indexOf
indexOf.
- Parameters:
axis- aAxisobject.- Returns:
- a int.
-
contains
contains.
- Parameters:
axis- aAxisobject.- Returns:
- a boolean.
-