类 PaperSize


  • public class PaperSize
    extends java.lang.Object
    作者:
    yaqiang
    • 构造器概要

      构造器 
      构造器 说明
      PaperSize()
      Constructor
      PaperSize​(java.lang.String name, int width, int height)
      Constructor
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      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
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 构造器详细资料

      • PaperSize

        public PaperSize()
        Constructor
      • PaperSize

        public PaperSize​(java.lang.String name,
                         int width,
                         int height)
        Constructor
        参数:
        name - Name
        width - Width
        height - Height
    • 方法详细资料

      • getName

        public java.lang.String getName()
        Get name
        返回:
        Name
      • setName

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

        public int getWidth()
        Get width
        返回:
        Width
      • setWidth

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

        public int getHeight()
        Get height
        返回:
        Height
      • setHeight

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