public enum PaperType extends Enum<PaperType> implements Serializable
限定符和类型 | 方法和说明 |
---|---|
PaperSize |
getPaperSize() |
static PaperType |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static PaperType[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final PaperType A0
public static final PaperType A1
public static final PaperType A2
public static final PaperType A3
public static final PaperType A4
public static final PaperType A5
public static final PaperType A6
public static final PaperType A7
public static final PaperType A8
public static final PaperType A9
public static final PaperType A10
public static final PaperType B0
public static final PaperType B1
public static final PaperType B2
public static final PaperType B3
public static final PaperType B4
public static final PaperType B5
public static final PaperType B6
public static final PaperType B7
public static final PaperType B8
public static final PaperType B9
public static final PaperType B10
public static final PaperType CUSTOM
public static PaperType[] values()
for (PaperType c : PaperType.values()) System.out.println(c);
public static PaperType valueOf(String name)
name
- 要返回的枚举常量的名称。IllegalArgumentException
- 如果该枚举类型没有带有指定名称的常量NullPointerException
- 如果参数为空值public PaperSize getPaperSize()
Copyright © 2022 Bstek. All rights reserved.