|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.arctorus.documents.Run
public final class Run
Block of text with the same formatting.
New created Run has default properties:
Constructor Summary | |
---|---|
Run(java.lang.String text)
Create new text run with default formatting. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
Indicates whether some other object is "equal to" this one. |
Hyperlink |
getHyperlink()
Get hyperlink added to a run. |
java.lang.String |
getText()
Get text of a run. |
TextFormat |
getTextFormat()
Get format of a text in a run. |
int |
hashCode()
Returns a hash code value for the object. |
boolean |
hasHyperlink()
Determines whether the run has hyperlink. |
void |
setHyperlink(Hyperlink hyperlink)
Set hyperlink to a run. |
void |
setText(java.lang.String text)
Set text of a run. |
void |
setTextFormat(TextFormat textFormat)
Set format of a text in a run. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Run(java.lang.String text)
text
- new text to add.Method Detail |
---|
public java.lang.String getText()
public void setText(java.lang.String text)
text
- new text.public TextFormat getTextFormat()
public void setTextFormat(TextFormat textFormat)
textFormat
- new text format. If textFormat is null then it is not change anything.public boolean hasHyperlink()
public Hyperlink getHyperlink()
public void setHyperlink(Hyperlink hyperlink)
hyperlink
- new hyperlink.public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |