java.io.Serializable
, java.lang.Comparable<SWTUtil.ZoomLevel>
public static enum SWTUtil.ZoomLevel extends java.lang.Enum<SWTUtil.ZoomLevel>
Enum Constant | Description |
---|---|
ZOOM_100 |
Zoomlevel 100%.
|
ZOOM_150 |
Zoomlevel 150%.
|
ZOOM_200 |
Zoomlevel 200%.
|
ZOOM_300 |
Zoomlevel 300%.
|
Modifier and Type | Method | Description |
---|---|---|
int |
getLevel() |
Liefert das Zoom-Level.
|
java.lang.String |
getPath() |
|
static SWTUtil.ZoomLevel |
max() |
Liefert das hoechste Zoom-Level.
|
static SWTUtil.ZoomLevel |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static SWTUtil.ZoomLevel[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SWTUtil.ZoomLevel ZOOM_300
public static final SWTUtil.ZoomLevel ZOOM_200
public static final SWTUtil.ZoomLevel ZOOM_150
public static final SWTUtil.ZoomLevel ZOOM_100
public static SWTUtil.ZoomLevel[] values()
for (SWTUtil.ZoomLevel c : SWTUtil.ZoomLevel.values()) System.out.println(c);
public static SWTUtil.ZoomLevel 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 nullpublic java.lang.String getPath()
public int getLevel()
public static SWTUtil.ZoomLevel max()