Class AxisList<T extends Axis>

All Implemented Interfaces:
Serializable

public class AxisList<T extends Axis> extends AbstractConfigurationObject
Alternative AxisContainer to allow multiple axes
See Also:
  • Constructor Details

    • AxisList

      public AxisList()
  • Method Details

    • getNumberOfAxes

      public int getNumberOfAxes()
      Returns:
      the number of axes in the list
    • getAxis

      public T getAxis(int index)
      Finds the axis at the given index
      Parameters:
      index - The index of the axis
      Returns:
      The axis at the given index
    • getAxes

      public List<T> getAxes()
      Returns:
      The list of axes. Used only for serialization.
    • addAxis

      public void addAxis(T axis)
      Adds a new axis to the list
      Parameters:
      axis - The axis to add
    • removeAxis

      public void removeAxis(T axis)
      Removes an axis from the list
      Parameters:
      axis - The axis to remove
    • indexOf

      public int indexOf(Axis axis)
    • contains

      public boolean contains(Axis axis)