|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<WLength.Unit>
eu.webtoolkit.jwt.WLength.Unit
public static enum WLength.Unit
The unit.
| Enum Constant Summary | |
|---|---|
Centimeter
Centimeter. |
|
FontEm
The relative font size. |
|
FontEx
The height of an 'x' in the font. |
|
Inch
Inche. |
|
Millimeter
Millimeter. |
|
Percentage
Percentage (meaning context-sensitive). |
|
Pica
Pica (12 Point). |
|
Pixel
Pixel, relative to canvas resolution. |
|
Point
Point (1/72 Inch). |
|
| Method Summary | |
|---|---|
int |
getValue()
Returns the numerical representation of this enum. |
static WLength.Unit |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static WLength.Unit[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final WLength.Unit FontEm
public static final WLength.Unit FontEx
public static final WLength.Unit Pixel
public static final WLength.Unit Inch
public static final WLength.Unit Centimeter
public static final WLength.Unit Millimeter
public static final WLength.Unit Point
public static final WLength.Unit Pica
public static final WLength.Unit Percentage
| Method Detail |
|---|
public static WLength.Unit[] values()
for (WLength.Unit c : WLength.Unit.values()) System.out.println(c);
public static WLength.Unit 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 name
java.lang.NullPointerException - if the argument is nullpublic int getValue()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||