|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.mpxj.mpp.FontStyle
public class FontStyle
This class builds on the font described by a FontBase instance and add attributes for color, bold, italic and underline.
| Constructor Summary | |
|---|---|
FontStyle(FontBase fontBase,
boolean italic,
boolean bold,
boolean underline,
boolean strikethrough,
Color color,
Color backgroundColor,
BackgroundPattern backgroundPattern)
Constructor. |
|
| Method Summary | |
|---|---|
Color |
getBackgroundColor()
Retrieve the background color. |
BackgroundPattern |
getBackgroundPattern()
Retrieve the background pattern. |
boolean |
getBold()
Retrieve the bold flag. |
Color |
getColor()
Retrieve the font color. |
FontBase |
getFontBase()
Retrieve the font base instance. |
boolean |
getItalic()
Retrieve the italic flag. |
boolean |
getStrikethrough()
Retrieve the strikethrough flag. |
boolean |
getUnderline()
Retrieve the underline flag. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public FontStyle(FontBase fontBase,
boolean italic,
boolean bold,
boolean underline,
boolean strikethrough,
Color color,
Color backgroundColor,
BackgroundPattern backgroundPattern)
fontBase - font base instanceitalic - italic flagbold - bold flagunderline - underline flagstrikethrough - strikethrough flagcolor - color typebackgroundColor - background colorbackgroundPattern - background pattern| Method Detail |
|---|
public FontBase getFontBase()
public boolean getBold()
public Color getColor()
public boolean getItalic()
public boolean getUnderline()
public boolean getStrikethrough()
public Color getBackgroundColor()
public BackgroundPattern getBackgroundPattern()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||