Class Grid.Spread

  • All Implemented Interfaces:
    java.io.Serializable
    Enclosing class:
    Grid

    public static class Grid.Spread
    extends Comet3Entity
    The type Spread.
    See Also:
    Serialized Form
    • Constructor Detail

      • Spread

        public Spread()
        Instantiates a new Spread.
      • Spread

        public Spread​(CometGrid.Spread spread)
        Instantiates a new Spread.
        Parameters:
        spread - the spread
    • Method Detail

      • getPosition

        public java.lang.String getPosition()
        Gets position.
        Returns:
        the position
      • setPosition

        public void setPosition​(java.lang.String position)
        Sets position.
        Parameters:
        position - the position
      • getLeftitem

        public int getLeftitem()
        Gets leftitem.
        Returns:
        the leftitem
      • setLeftitem

        public void setLeftitem​(int leftitem)
        Sets leftitem.
        Parameters:
        leftitem - the leftitem
      • getMiddleitem

        public int getMiddleitem()
        Gets middleitem.
        Returns:
        the middleitem
      • setMiddleitem

        public void setMiddleitem​(int middleitem)
        Sets middleitem.
        Parameters:
        middleitem - the middleitem
      • getRightitem

        public int getRightitem()
        Gets rightitem.
        Returns:
        the rightitem
      • setRightitem

        public void setRightitem​(int rightitem)
        Sets rightitem.
        Parameters:
        rightitem - the rightitem
      • toCometGridSpread

        public CometGrid.Spread toCometGridSpread()
        To comet grid spread comet grid . spread.
        Returns:
        the comet grid . spread