Class Grid.Placeholder

All Implemented Interfaces:
Serializable
Enclosing class:
Grid

public static class Grid.Placeholder extends Comet3Entity
The type Placeholder.
See Also:
  • Constructor Details

    • Placeholder

      public Placeholder()
      Instantiates a new Placeholder.
    • Placeholder

      public Placeholder(CometGrid.Element item)
      Instantiates a new Placeholder.
      Parameters:
      item - the item
  • Method Details

    • getName

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

      public void setName(String name)
      Sets name.
      Parameters:
      name - the name
    • getXpos

      public Double getXpos()
      Gets xpos.
      Returns:
      the xpos
    • setXpos

      public void setXpos(Double xpos)
      Sets xpos.
      Parameters:
      xpos - the xpos
    • getYpos

      public Double getYpos()
      Gets ypos.
      Returns:
      the ypos
    • setYpos

      public void setYpos(Double ypos)
      Sets ypos.
      Parameters:
      ypos - the ypos
    • getXsize

      public Double getXsize()
      Gets xsize.
      Returns:
      the xsize
    • setXsize

      public void setXsize(Double xsize)
      Sets xsize.
      Parameters:
      xsize - the xsize
    • getYsize

      public Double getYsize()
      Gets ysize.
      Returns:
      the ysize
    • setYsize

      public void setYsize(Double ysize)
      Sets ysize.
      Parameters:
      ysize - the ysize
    • getId

      public int getId()
      Description copied from class: Comet3Entity
      Gets id.
      Overrides:
      getId in class Comet3Entity
      Returns:
      the id
    • setId

      public void setId(int id)
      Description copied from class: Comet3Entity
      Sets id.
      Overrides:
      setId in class Comet3Entity
      Parameters:
      id - the id
    • toGridElement

      public CometGrid.Element toGridElement()
      To grid element comet grid . element.
      Returns:
      the comet grid . element
    • entityEquals

      public boolean entityEquals(CometGrid.Element element)
      Entity equals boolean.
      Parameters:
      element - the element
      Returns:
      the boolean