Class LocaleData.PaperSize

  • Enclosing class:
    LocaleData

    public static final class LocaleData.PaperSize
    extends java.lang.Object
    A class that represents the size of letter head used in the country
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private int height  
      private int width  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private PaperSize​(int h, int w)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getHeight()
      Returns the height of the paper
      int getWidth()
      Returns the width of the paper
      • Methods inherited from class java.lang.Object

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

      • height

        private int height
      • width

        private int width
    • Constructor Detail

      • PaperSize

        private PaperSize​(int h,
                          int w)
    • Method Detail

      • getHeight

        public int getHeight()
        Returns the height of the paper
        Returns:
        the height
      • getWidth

        public int getWidth()
        Returns the width of the paper
        Returns:
        the width