Class GridImpl

  • All Implemented Interfaces:
    Grid, java.io.Serializable

    public class GridImpl
    extends java.lang.Object
    implements java.io.Serializable, Grid
    See Also:
    Serialized Form
    • Constructor Detail

      • GridImpl

        public GridImpl()
    • Method Detail

      • getHorizontalDivision

        public double getHorizontalDivision()
        Description copied from interface: Grid
        Gets the horizontal division.
        Specified by:
        getHorizontalDivision in interface Grid
        Returns:
        the horizontal division
      • setHorizontalDivision

        public void setHorizontalDivision​(double horizontalDivision)
        Description copied from interface: Grid
        Sets the horizontal division.
        Specified by:
        setHorizontalDivision in interface Grid
        Parameters:
        horizontalDivision - the new horizontal division
      • getVerticalDivision

        public double getVerticalDivision()
        Description copied from interface: Grid
        Gets the vertical division.
        Specified by:
        getVerticalDivision in interface Grid
        Returns:
        the vertical division
      • setVerticalDivision

        public void setVerticalDivision​(double verticalDivision)
        Description copied from interface: Grid
        Sets the vertical division.
        Specified by:
        setVerticalDivision in interface Grid
        Parameters:
        verticalDivision - the new vertical division
      • getHorizontalSubdivisions

        public int getHorizontalSubdivisions()
        Description copied from interface: Grid
        Gets the horizontal subdivisions.
        Specified by:
        getHorizontalSubdivisions in interface Grid
        Returns:
        the horizontal subdivisions
      • setHorizontalSubdivisions

        public void setHorizontalSubdivisions​(int horizontalSubdivisions)
        Description copied from interface: Grid
        Sets the horizontal subdivisions.
        Specified by:
        setHorizontalSubdivisions in interface Grid
        Parameters:
        horizontalSubdivisions - the new horizontal subdivisions
      • getVerticalSubdivisions

        public int getVerticalSubdivisions()
        Description copied from interface: Grid
        Gets the vertical subdivisions.
        Specified by:
        getVerticalSubdivisions in interface Grid
        Returns:
        the vertical subdivisions
      • setVerticalSubdivisions

        public void setVerticalSubdivisions​(int verticalSubdivisions)
        Description copied from interface: Grid
        Sets the vertical subdivisions.
        Specified by:
        setVerticalSubdivisions in interface Grid
        Parameters:
        verticalSubdivisions - the new vertical subdivisions
      • getColor

        public java.lang.String getColor()
        Description copied from interface: Grid
        Gets the color.
        Specified by:
        getColor in interface Grid
        Returns:
        the color
      • setColor

        public void setColor​(java.lang.String color)
        Description copied from interface: Grid
        Sets the color.
        Specified by:
        setColor in interface Grid
        Parameters:
        color - the new color