|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.faceless.pdf2.LayoutBox.Box
org.faceless.pdf2.LayoutBox.Text
public final class LayoutBox.Text
The Text class is a subclass of LayoutBox.Box
which
is specifically for displaying Text.
Method Summary | |
---|---|
LayoutBox.Text |
getNextTwin()
Return the next "twin" of this Text item, or null if none
exist. |
PDFStyle |
getStyle()
Return the style of this Text item |
String |
getText()
Return the content of this Text item as a String. |
void |
setText(String s)
Replace the contents of this Text box with a different line of text. |
String |
toString()
|
Methods inherited from class org.faceless.pdf2.LayoutBox.Box |
---|
getBottom, getImage, getLeft, getLineBottom, getLineNumber, getLineTop, getLinkedObject, getParent, getRight, getTop, setImage, setLinkedObject |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public PDFStyle getStyle()
public String getText()
public LayoutBox.Text getNextTwin()
null
if none
exist. A "twin" is a second (or third, fourth etc.) Text
object
which was created when a phrase of text was split at the end of the line.
public void setText(String s)
public String toString()
toString
in class LayoutBox.Box
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |