danger.text.span
Interface AlignmentSpan
- All Superinterfaces:
- MetricAffectingSpan, ParagraphSpan
- All Known Implementing Classes:
- AlignmentSpan.Standard
public interface AlignmentSpan
- extends ParagraphSpan
Implementations of AlignmentSpan change the alignment of the
lines of text that they cover.
|
Method Summary |
int |
getAlignment()
Return the alignment associated with this span. |
ALIGNMENT_SPAN_TYPE
static final Class ALIGNMENT_SPAN_TYPE
getAlignment
int getAlignment()
- Return the alignment associated with this span.
Return values should be
WrappedText.JUSTIFY_LEFT,
WrappedText.JUSTIFY_CENTER, or
WrappedText.JUSTIFY_RIGHT