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.


Nested Class Summary
static class AlignmentSpan.Standard
          Standard implementation of AlignmentSpan, which changes the alignment of the text that it covers.
 
Nested classes/interfaces inherited from interface danger.text.span.ParagraphSpan
ParagraphSpan.Set
 
Field Summary
static Class ALIGNMENT_SPAN_TYPE
           
 
Fields inherited from interface danger.text.span.ParagraphSpan
PARAGRAPH_SPAN_TYPE
 
Method Summary
 int getAlignment()
          Return the alignment associated with this span.
 

Field Detail

ALIGNMENT_SPAN_TYPE

static final Class ALIGNMENT_SPAN_TYPE
Method Detail

getAlignment

int getAlignment()
Return the alignment associated with this span. Return values should be WrappedText.JUSTIFY_LEFT, WrappedText.JUSTIFY_CENTER, or WrappedText.JUSTIFY_RIGHT