public static enum RMViewer.ZoomMode extends java.lang.Enum<RMViewer.ZoomMode>
Enum Constant and Description |
---|
ZoomAsNeeded |
ZoomToFactor |
ZoomToFit |
Modifier and Type | Method and Description |
---|---|
static RMViewer.ZoomMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RMViewer.ZoomMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RMViewer.ZoomMode ZoomToFit
public static final RMViewer.ZoomMode ZoomAsNeeded
public static final RMViewer.ZoomMode ZoomToFactor
public static RMViewer.ZoomMode[] values()
for (RMViewer.ZoomMode c : RMViewer.ZoomMode.values()) System.out.println(c);
public static RMViewer.ZoomMode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null