inetsoft.report
Class TOC.Classic
java.lang.Object
inetsoft.report.TOC
inetsoft.report.TOC.Classic
- All Implemented Interfaces:
- Serializable, Cloneable
- Enclosing class:
- TOC
public static class TOC.Classic
- extends TOC
'Classic' 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.Classic()
Create a Classic toc. |
| Methods inherited from class inetsoft.report.TOC |
clone, getAlignment, getBackground, getBaseFont, getForeground, getLeader, getLevelSpacings, getPageFormat, getSeparator, isPageNumberRight, setBackground, setBaseFont, setForeground, setLevelSpacings, setPageFormat |
TOC.Classic
public TOC.Classic()
- Create a Classic toc.
getIndent
public double getIndent(int level)
- Description copied from class:
TOC
- Get the heading indentation.
- Overrides:
getIndent in class TOC
- Parameters:
level - the heading level. Starts from 1.
- Returns:
- indentation in inches.
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.
toString
public String toString()
- Overrides:
toString in class Object