- All Known Implementing Classes:
ExponentFormat
,FloatFormat
,HexFormat
,IntegerFormat
,NumberFormat
,ObjectFormat
,OctalFormat
,StringFormat
,TemplateDateFormat
,TextFormat
public interface Alignable
To be implemented by document parts that can be aligned.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
-
Method Summary
Modifier and TypeMethodDescriptionvoid
align
(int i) Sets the alignment of the object.int
Gets the alignment.
-
Field Details
-
UNDETERMINED
static final int UNDETERMINED- See Also:
-
CENTER
static final int CENTER- See Also:
-
LEFT
static final int LEFT- See Also:
-
RIGHT
static final int RIGHT- See Also:
-
JUSTIFY
static final int JUSTIFY- See Also:
-
-
Method Details
-
align
void align(int i) Sets the alignment of the object.- Parameters:
i
- one of the public constants specifying the alignment.
-
getAlignment
int getAlignment()Gets the alignment.- Returns:
- the alignment.
-