|
Oxygen XML Editor 12.2 Author API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<WidthRepresentation.Unit> ro.sync.ecss.extensions.api.WidthRepresentation.Unit
public static enum WidthRepresentation.Unit
The fixed width unit.
Enum Constant Summary | |
---|---|
CENTIMETER
Centimeters are converted to inches and then multiplied with the dots per inch. |
|
EM
The EM is relative to the font size. |
|
EX
The EX is relative the the height of the "x" character. |
|
INCH
Value in inches are multiplied with the dots per inch value. |
|
MILLIMETER
Value in millimeter is converted to inches and then to pixels. |
|
PICA
Pica is a unit of measure equal to 12 points or one sixth of an inch. |
|
PIXEL
Directly in pixels. |
|
POINT
A point is approximately 1/72 inch. |
Method Summary | |
---|---|
java.lang.String |
toString()
|
static WidthRepresentation.Unit |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static WidthRepresentation.Unit[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final WidthRepresentation.Unit CENTIMETER
cm
.
public static final WidthRepresentation.Unit EM
em
.
public static final WidthRepresentation.Unit EX
ex
.
public static final WidthRepresentation.Unit INCH
in
.
public static final WidthRepresentation.Unit MILLIMETER
mm
.
public static final WidthRepresentation.Unit PICA
pc
.
public static final WidthRepresentation.Unit PIXEL
px
.
public static final WidthRepresentation.Unit POINT
pt
.
Method Detail |
---|
public static final WidthRepresentation.Unit[] values()
for(WidthRepresentation.Unit c : WidthRepresentation.Unit.values()) System.out.println(c);
public static WidthRepresentation.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 namepublic java.lang.String toString()
toString
in class java.lang.Enum<WidthRepresentation.Unit>
Enum.toString()
|
Oxygen XML Editor 12.2 Author API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |