|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object | +--com.jrefinery.workbook.StyleFont
Represents a font within a style.
| Field Summary | |
protected boolean |
bold
Bold. |
protected boolean |
italic
Italic. |
protected java.lang.String |
name
The font name. |
protected int |
size
The size. |
protected boolean |
strikethrough
Strikethrough. |
protected boolean |
underline
Underline. |
| Constructor Summary | |
StyleFont(java.lang.String name)
Standard constructor: constructs a font (12pt) with the given name. |
|
StyleFont(java.lang.String name,
int size)
Standard constructor: constructs a font with the given name and point size. |
|
StyleFont(java.lang.String name,
int size,
boolean bold,
boolean italic,
boolean underline,
boolean strikethrough)
Full constructor: constructs a font with all attributes as specified. |
|
| Method Summary | |
void |
writeStyleFont(java.io.PrintStream out,
java.lang.String indent)
Writes a style font element to the stream. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected java.lang.String name
protected int size
protected boolean bold
protected boolean italic
protected boolean underline
protected boolean strikethrough
| Constructor Detail |
public StyleFont(java.lang.String name)
name - The font name (not validated).
public StyleFont(java.lang.String name,
int size)
name - The font name (not validated).size - The point size.
public StyleFont(java.lang.String name,
int size,
boolean bold,
boolean italic,
boolean underline,
boolean strikethrough)
name - The font name (not validated).size - The point size.bold - Flag for bold attribute.italic - Flag for italic attribute.underline - Flag for underline attribute.strikethrough - Flag for strikethrough attribute.| Method Detail |
public void writeStyleFont(java.io.PrintStream out,
java.lang.String indent)
out - The stream for output.indent - The indentation.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||