inetsoft.report
Class TOC.Default
java.lang.Object
inetsoft.report.TOC
inetsoft.report.TOC.Default
- All Implemented Interfaces:
- Serializable, Cloneable
- Enclosing class:
- TOC
public static class TOC.Default
- extends TOC
'Default' 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.Default()
Create a default toc. |
| Methods inherited from class inetsoft.report.TOC |
clone, getAlignment, getBackground, getBaseFont, getFont, getForeground, getLevelSpacings, getPageFormat, getSeparator, isPageNumberRight, setBackground, setBaseFont, setForeground, setLevelSpacings, setPageFormat |
TOC.Default
public TOC.Default()
- Create a default 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.
getLeader
public int getLeader(int level)
- Description copied from class:
TOC
- Get the leader style for the toc level. If a value other than NONE
is returned, a line is drawn between the heading and the page number.
- Overrides:
getLeader in class TOC
- Parameters:
level - the heading level. Starts from 1.
- Returns:
- leader line style.
toString
public String toString()
- Overrides:
toString in class Object