|
ChartCat 1.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectli.netcat.chart.util.AbstractPart
li.netcat.chart.util.TextPart
Abstract super class of all parts that display text in some form. It holds the property
TextLook
and helps to categorize parts.
Field Summary |
Fields inherited from class li.netcat.chart.util.AbstractPart |
BACKGROUND, FOREGROUND, PERSPECTIVE |
Constructor Summary | |
TextPart()
Constructs a new TextPart and uses TextLook.getDefaultNormal() as the initial
text look. |
Method Summary | |
TextLook |
getTextLook()
Returns the text look that is used to paint the text. |
void |
setTextLook(TextLook textLook)
Sets the text look that is used to paint the text. |
Methods inherited from class li.netcat.chart.util.AbstractPart |
getChart, getPerspective, invalidate, setChart, setPerspective |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface li.netcat.chart.Part |
getLayout |
Constructor Detail |
public TextPart()
TextPart
and uses TextLook.getDefaultNormal()
as the initial
text look.
Method Detail |
public TextLook getTextLook()
null
.public void setTextLook(TextLook textLook)
textLook
- The text look, not null
.
|
ChartCat 1.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |