public final class StyledFragment
extends java.lang.Object
StyledFragment just associates a BaseStyle with
 a region of text.  Data members are public for convenience.  Note
 that fragments may span multiple lines.| Modifier and Type | Field and Description | 
|---|---|
int | 
endOffset
The ending offset for this fragment (exclusive). 
 | 
int | 
startOffset
The starting offset for this fragment. 
 | 
java.lang.String | 
styleName
The name of the style to use for rendering this fragment. 
 | 
| Constructor and Description | 
|---|
StyledFragment(java.lang.String styleName,
              int startOffset,
              int endOffset)
Constructs a new StyledFragment. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
java.lang.String | 
toString()
Fetches a string representation of this fragment. 
 | 
public java.lang.String styleName
public int startOffset
public int endOffset