inetsoft.report
Class TOC.Fancy
java.lang.Object
inetsoft.report.TOC
inetsoft.report.TOC.Fancy
- All Implemented Interfaces:
- Serializable, Cloneable
- Enclosing class:
- TOC
public static class TOC.Fancy
- extends TOC
'Fancy' table of contents style.
- See Also:
- Serialized Form
| Fields inherited from class inetsoft.report.TOC |
background, CLASSIC, DEFAULT, defFn, DISTINCTIVE, FANCY, foreground, FORMAL, formatStr, MODERN, SIMPLE |
|
Constructor Summary |
TOC.Fancy()
Create a Fancy toc. |
| Methods inherited from class inetsoft.report.TOC |
clone, getAlignment, getBackground, getBaseFont, getForeground, getIndent, getLeader, getLevelSpacings, getPageFormat, isPageNumberRight, setBackground, setBaseFont, setForeground, setLevelSpacings, setPageFormat |
TOC.Fancy
public TOC.Fancy()
- Create a Fancy toc.
getFont
public Font getFont(int level)
- Description copied from class:
TOC
- Get the font for the toc level.
- Overrides:
getFont in class TOC
- Parameters:
level - the heading level. Starts from 1.
- Returns:
- heading font.
getSeparator
public int getSeparator(int level)
- Description copied from class:
TOC
- Get the separator for the toc level. If a value other than NONE
is returned, a separator is added below every heading of the
specified level.
- Overrides:
getSeparator in class TOC
- Parameters:
level - the heading level. Starts from 1.
- Returns:
- heading separator.
toString
public String toString()
- Overrides:
toString in class Object