|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Line
Instances of this class represent distinct runs of text at a specific position within a
Block
.
Method Summary | |
---|---|
TextUnit |
getTextUnit(int idx)
Returns the TextUnit at the specified index. |
int |
getTextUnitCnt()
Returns the number of TextUnit s in this Line. |
java.util.List |
getTextUnits()
Returns a List view of the TextUnit s held by this Line. |
void |
pipe(OutputHandler tgt)
Sends all text events associated with this Line to the given OutputHandler . |
TextUnit |
remove(int idx)
Removes the TextUnit at the specified index, and returns it. |
Methods inherited from interface com.snowtide.pdf.layout.Region |
---|
area, endxpos, endypos, height, width, xpos, ypos |
Method Detail |
---|
int getTextUnitCnt()
TextUnit
s in this Line.
TextUnit getTextUnit(int idx)
TextUnit
at the specified index.
TextUnit remove(int idx)
TextUnit
at the specified index, and returns it.
java.util.List getTextUnits()
TextUnit
s held by this Line. This List is guaranteed
to provide efficient random access.
void pipe(OutputHandler tgt) throws java.io.IOException
OutputHandler
. Note that
Line objects will not send any linebreaks to any OutputHandler
passed to this function;
only Block
objects are able to calculate linebreak counts between lines.
tgt
- - the destination for all contents of this Line
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |