public static enum DocumentAtom.SlideSize extends java.lang.Enum<DocumentAtom.SlideSize>
Enum Constant and Description |
---|
A4_SIZED_PAPER
Slide size ratio is consistent with A4 paper.
|
BANNER
Slide size ratio is consistent with a banner.
|
CUSTOM
Slide size ratio that is not consistent with any of the other specified slide sizes in this enumeration.
|
LETTER_SIZED_PAPER
Slide size ratio is consistent with letter paper.
|
ON_35MM
Slide size ratio is consistent with 35mm photo slides.
|
ON_SCREEN
Slide size ratio is consistent with a computer screen.
|
OVERHEAD
Slide size ratio is consistent with overhead projector slides.
|
Modifier and Type | Method and Description |
---|---|
static DocumentAtom.SlideSize |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
(返回具有指定名称的此类型的枚举常量。)
|
static DocumentAtom.SlideSize[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared.
(按照声明的顺序返回包含此枚举类型常量的数组。)
|
public static final DocumentAtom.SlideSize ON_SCREEN
public static final DocumentAtom.SlideSize LETTER_SIZED_PAPER
public static final DocumentAtom.SlideSize A4_SIZED_PAPER
public static final DocumentAtom.SlideSize ON_35MM
public static final DocumentAtom.SlideSize OVERHEAD
public static final DocumentAtom.SlideSize BANNER
public static final DocumentAtom.SlideSize CUSTOM
public static DocumentAtom.SlideSize[] values()
for (DocumentAtom.SlideSize c : DocumentAtom.SlideSize.values()) System.out.println(c);(按照声明的顺序返回包含此枚举类型常量的数组。此方法可用于迭代常量,如下所示: for (DocumentAtom.SlideSize c : DocumentAtom.SlideSize.values()) System.out.println(c);)
public static DocumentAtom.SlideSize valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
(name - 要返回的枚举常量的名称。)
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified name
(java.lang.IllegalArgumentException - 如果此枚举类型没有具有指定名称的常量)
java.lang.NullPointerException
- if the argument is null
(java.lang.NullPointerException - 如果参数为空)
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.