public enum Justification extends Enum<Justification>
Enumerates the forms of quadding (justification) to be used in displaying the annotation's text.
Enum Constant and Description |
---|
Center
Center justification.
|
Left
Left justification.
|
Right
Right justification.
|
Modifier and Type | Method and Description |
---|---|
static Justification |
getByValue(int value) |
int |
getValue() |
static Justification |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Justification[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Justification Left
Left justification.
public static final Justification Center
Center justification.
public static final Justification Right
Right justification.
public static Justification[] values()
for (Justification c : Justification.values()) System.out.println(c);
public static Justification valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int getValue()
public static Justification getByValue(int value)
Copyright © 2025 Aspose. All Rights Reserved.