|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectyu.ac.bg.etf.javaqx.qswing.text.CharacterFormat
Character Format.
Constructor Summary | |
CharacterFormat()
Constructs new CharacterFormat object. |
|
CharacterFormat(Color color)
Constructs new CharacterFormat object. |
|
CharacterFormat(Font font)
Constructs new CharacterFormat object. |
Method Summary | |
Color |
getColor()
Returns color. |
Font |
getFont()
Returns font. |
boolean |
isFontBold()
Returns true if the font is bold. |
void |
setColor(Color color)
Sets color. |
void |
setFont(Font font)
Sets font. |
void |
setFontBold(boolean fontBold)
Sets whether or not the font is bold. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CharacterFormat()
public CharacterFormat(Font font)
font
- the fontpublic CharacterFormat(Color color)
color
- the colorMethod Detail |
public Font getFont()
public void setFont(Font font)
font
- the fontpublic boolean isFontBold()
public void setFontBold(boolean fontBold)
fontBold
- true if boldpublic Color getColor()
public void setColor(Color color)
color
- the color
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |