inetsoft.report
Class TOC.Formal
java.lang.Object
inetsoft.report.TOC
inetsoft.report.TOC.Formal
- All Implemented Interfaces:
- Serializable, Cloneable
- Enclosing class:
- TOC
public static class TOC.Formal
- extends TOC
'Formal' 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.Formal()
Create a Formal toc. |
| Methods inherited from class inetsoft.report.TOC |
clone, getAlignment, getBackground, getBaseFont, getForeground, getLevelSpacings, getPageFormat, getSeparator, isPageNumberRight, setBackground, setBaseFont, setForeground, setLevelSpacings, setPageFormat |
TOC.Formal
public TOC.Formal()
- Create a Formal 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.
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