Class PaperSize



  • public class PaperSize
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      PaperSize​()
      Constructor
      PaperSize​(java.lang.String name, int width, int height)
      Constructor
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getHeight​()
      Get height
      java.lang.String getName​()
      Get name
      int getWidth​()
      Get width
      void setHeight​(int height)
      Set height
      void setName​(java.lang.String name)
      Set name
      void setWidth​(int width)
      Set width
      • Methods inherited from class java.lang.Object

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

      • PaperSize

        public PaperSize​()
        Constructor
      • PaperSize

        public PaperSize​(java.lang.String name,
                         int width,
                         int height)
        Constructor
        Parameters:
        name - Name
        width - Width
        height - Height
    • Method Detail

      • getName

        public java.lang.String getName​()
        Get name
        Returns:
        Name
      • setName

        public void setName​(java.lang.String name)
        Set name
        Parameters:
        name - Name
      • getWidth

        public int getWidth​()
        Get width
        Returns:
        Width
      • setWidth

        public void setWidth​(int width)
        Set width
        Parameters:
        width - Width
      • getHeight

        public int getHeight​()
        Get height
        Returns:
        Height
      • setHeight

        public void setHeight​(int height)
        Set height
        Parameters:
        height - Height