Class SizeImpl

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

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

      Constructors 
      Constructor Description
      SizeImpl()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      double getHeight()
      Gets the height.
      double getWidth()
      Gets the width.
      void setHeight​(double height)
      Sets the height.
      void setWidth​(double width)
      Sets the width.
      • Methods inherited from class java.lang.Object

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

      • SizeImpl

        public SizeImpl()
    • Method Detail

      • getWidth

        public double getWidth()
        Description copied from interface: Size
        Gets the width.
        Specified by:
        getWidth in interface Size
        Returns:
        the width
      • setWidth

        public void setWidth​(double width)
        Description copied from interface: Size
        Sets the width.
        Specified by:
        setWidth in interface Size
        Parameters:
        width - the new width
      • getHeight

        public double getHeight()
        Description copied from interface: Size
        Gets the height.
        Specified by:
        getHeight in interface Size
        Returns:
        the height
      • setHeight

        public void setHeight​(double height)
        Description copied from interface: Size
        Sets the height.
        Specified by:
        setHeight in interface Size
        Parameters:
        height - the new height