Class Axis


  • public class Axis
    extends Object
    Class that holds information about an Axis in an Array.
    Author:
    mcayanan
    • Constructor Detail

      • Axis

        public Axis​(String name)
        Constructor.
        Parameters:
        name - axis name.
      • Axis

        public Axis​(int element)
        Constructor.
        Parameters:
        element - number of elements in the axis.
      • Axis

        public Axis​(String name,
                    int element)
        Constructor.
        Parameters:
        name - The axis name.
        element - number of elements in the axis.
    • Method Detail

      • getName

        public String getName()
        Returns:
        the name of the axis.
      • setName

        public void setName​(String name)
        Set the axis name.
        Parameters:
        name - the name.
      • getElement

        public Integer getElement()
        Returns:
        the number of elements.
      • setElement

        public void setElement​(int element)
        Sets the number of elements.
        Parameters:
        element - the number of elements.