public interface JustifiedElement
Modifier and Type | Field and Description |
---|---|
static char |
ALIGNMENT_CENTER
The value for elements which are aligned on the center.
|
static char |
ALIGNMENT_INHERIT
The value for elements where the alignment inherits from the parent
|
static char |
ALIGNMENT_JUSTIFIED
The value for elements which are justified.
|
static char |
ALIGNMENT_LEFT
The value for elements which are aligned on the left.
|
static char |
ALIGNMENT_NONE
The value for elements which have no alignment.
|
static char |
ALIGNMENT_RIGHT
The value for elements which are aligned on the right.
|
static char |
JUSTIFIED_AUTO
The value for elements where the browser should select the best justification type.
|
static char |
JUSTIFIED_CHARACTER
The value for elements which are justified by changing the spacing between characters.
|
static char |
JUSTIFIED_INHERIT
The value for elements where the justification inherits from the parent
|
static char |
JUSTIFIED_NONE
The value for elements which have no justification.
|
static char |
JUSTIFIED_WORD
The value for elements which are justified by changing the spacing between words.
|
Modifier and Type | Method and Description |
---|---|
char |
getAlignment()
Return the alignment of the element.
|
char |
getJustification()
Return the justification of the element.
|
void |
setAlignment(char alignment)
Set the alignment of the element.
|
void |
setJustification(char justification)
Set the justification of the element.
|
static final char JUSTIFIED_NONE
static final char JUSTIFIED_CHARACTER
static final char JUSTIFIED_WORD
static final char JUSTIFIED_AUTO
static final char JUSTIFIED_INHERIT
static final char ALIGNMENT_NONE
static final char ALIGNMENT_LEFT
static final char ALIGNMENT_RIGHT
static final char ALIGNMENT_CENTER
static final char ALIGNMENT_JUSTIFIED
static final char ALIGNMENT_INHERIT
char getAlignment()
void setAlignment(char alignment)
alignment
- the alignment typechar getJustification()
void setJustification(char justification)
justification
- the justification typeCopyright © 2016-2024 Herve Girod. All Rights Reserved. Documentation and source under the BSD licence