Class CometGrid.Spread

All Implemented Interfaces:
Serializable
Enclosing class:
CometGrid

@CometTypeConstraints(calculateIds=false) public static class CometGrid.Spread extends CometEntity
The Class Spread.
See Also:
  • Constructor Details

    • Spread

      public Spread()
      Instantiates a new spread.
    • Spread

      public Spread(int id, 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 Details

    • getLeftItem

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

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

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

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

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

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

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

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