|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--org.writersforge.catalan.layout.StyledText.Span
A single homogeneous span of markup style. Encapsulates the starting and ending indices of markup within a larger String.
| Constructor Summary | |
StyledText.Span(int start,
int end,
Markup[] intersects)
Creates a new instance of Span. |
|
| Method Summary | |
int |
getEnd()
Getter for property end, the index of the last text character in the style span. |
Markup[] |
getIntersects()
Getter for property intersects, all Markup objects that overlap this Span. |
int |
getStart()
Getter for property start, the index of the first text character in the style span. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public StyledText.Span(int start,
int end,
Markup[] intersects)
start - the start String indexend - the end String indexintersects - an array of any Markup objects that lie within
this span of text| Method Detail |
public int getStart()
public int getEnd()
public Markup[] getIntersects()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||