public enum PortalWidthDiagram extends java.lang.Enum<PortalWidthDiagram> implements Width
Modifier and Type | Field and Description |
---|---|
static int |
FRAME_TITLE_HEIGHT |
static int |
FRAME_WIDTH |
Modifier and Type | Method and Description |
---|---|
int |
getWidth() |
java.lang.String |
toString() |
static PortalWidthDiagram |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PortalWidthDiagram[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PortalWidthDiagram QUARTER
public static final PortalWidthDiagram HALF
public static final PortalWidthDiagram FULL
public static final int FRAME_WIDTH
public static final int FRAME_TITLE_HEIGHT
public static PortalWidthDiagram[] values()
for (PortalWidthDiagram c : PortalWidthDiagram.values()) System.out.println(c);
public static PortalWidthDiagram 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 toString()
toString
in class java.lang.Enum<PortalWidthDiagram>