Class Grid.Placeholder

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

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

      • Placeholder

        public Placeholder()
        Instantiates a new Placeholder.
      • Placeholder

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

      • getName

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

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

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

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

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

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

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

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

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

        public void setYsize​(java.lang.Double ysize)
        Sets ysize.
        Parameters:
        ysize - the ysize
      • 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