Class CometGrid.Spread

    • Constructor Detail

      • Spread

        public Spread()
        Instantiates a new spread.
      • Spread

        public Spread​(int id,
                      java.lang.String position,
                      int leftitem,
                      int middleitem,
                      int rightitem)
        Instantiates a new spread.
        Parameters:
        id - the id
        position - the position
        leftitem - the leftitem
        middleitem - the middleitem
        rightitem - the rightitem
    • Method Detail

      • getLeftItem

        public java.lang.Integer getLeftItem()
        Gets the left item.
        Returns:
        the left item
      • getMiddleItem

        public java.lang.Integer getMiddleItem()
        Gets the middle item.
        Returns:
        the middle item
      • getPosition

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

        public java.lang.Integer getRightItem()
        Gets the right item.
        Returns:
        the right item
      • setLeftItem

        public void setLeftItem​(java.lang.Integer leftItem)
        Sets the left item.
        Parameters:
        leftItem - the new left item
      • setMiddleItem

        public void setMiddleItem​(java.lang.Integer middleItem)
        Sets the middle item.
        Parameters:
        middleItem - the new middle item
      • setPosition

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

        public void setRightItem​(java.lang.Integer rightItem)
        Sets the right item.
        Parameters:
        rightItem - the new right item