|
PDF Clown 0.1.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<JustificationEnum>
org.pdfclown.documents.interaction.JustificationEnum
public enum JustificationEnum
Text justification [PDF:1.7:8.4.5,8.6.2].
Enum Constant Summary | |
---|---|
Center
Center. |
|
Left
Left. |
|
Right
Right. |
Method Summary | |
---|---|
PdfInteger |
getCode()
|
XAlignmentEnum |
toXAlignment()
|
static JustificationEnum |
valueOf(PdfInteger value)
Gets the justification corresponding to the given value. |
static JustificationEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static JustificationEnum[] |
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 JustificationEnum Left
public static final JustificationEnum Center
public static final JustificationEnum Right
Method Detail |
---|
public static JustificationEnum[] values()
for (JustificationEnum c : JustificationEnum.values()) System.out.println(c);
public static JustificationEnum valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic static JustificationEnum valueOf(PdfInteger value)
public PdfInteger getCode()
public XAlignmentEnum toXAlignment()
|
PDF Clown 0.1.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |