Class PositionImpl

  • All Implemented Interfaces:
    Position, java.io.Serializable

    public class PositionImpl
    extends java.lang.Object
    implements java.io.Serializable, Position
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      PositionImpl()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      double getH()
      Gets the h.
      double getW()
      Gets the w.
      double getX()
      Gets the x.
      double getY()
      Gets the y.
      void setH​(double h)
      Sets the h.
      void setW​(double w)
      Sets the w.
      void setX​(double x)
      Sets the x.
      void setY​(double y)
      Sets the y.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PositionImpl

        public PositionImpl()
    • Method Detail

      • getX

        public double getX()
        Description copied from interface: Position
        Gets the x.
        Specified by:
        getX in interface Position
        Returns:
        the x
      • setX

        public void setX​(double x)
        Description copied from interface: Position
        Sets the x.
        Specified by:
        setX in interface Position
        Parameters:
        x - the new x
      • getY

        public double getY()
        Description copied from interface: Position
        Gets the y.
        Specified by:
        getY in interface Position
        Returns:
        the y
      • setY

        public void setY​(double y)
        Description copied from interface: Position
        Sets the y.
        Specified by:
        setY in interface Position
        Parameters:
        y - the new y
      • getW

        public double getW()
        Description copied from interface: Position
        Gets the w.
        Specified by:
        getW in interface Position
        Returns:
        the w
      • setW

        public void setW​(double w)
        Description copied from interface: Position
        Sets the w.
        Specified by:
        setW in interface Position
        Parameters:
        w - the new w
      • getH

        public double getH()
        Description copied from interface: Position
        Gets the h.
        Specified by:
        getH in interface Position
        Returns:
        the h
      • setH

        public void setH​(double h)
        Description copied from interface: Position
        Sets the h.
        Specified by:
        setH in interface Position
        Parameters:
        h - the new h