Style Intelligence v12.0

inetsoft.report
Class TOC.Default

java.lang.Object
  extended by inetsoft.report.TOC
      extended by 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

Nested Class Summary
 
Nested classes/interfaces inherited from class inetsoft.report.TOC
TOC.Classic, TOC.Default, TOC.Distinctive, TOC.Fancy, TOC.Formal, TOC.Modern, TOC.Simple
 
Field Summary
 
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.
 
Method Summary
 double getIndent(int level)
          Get the heading indentation.
 int getLeader(int level)
          Get the leader style for the toc level.
 String toString()
           
 
Methods inherited from class inetsoft.report.TOC
clone, getAlignment, getBackground, getBaseFont, getFont, getForeground, getLevelSpacings, getPageFormat, getSeparator, isPageNumberRight, setBackground, setBaseFont, setForeground, setLevelSpacings, setPageFormat
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TOC.Default

public TOC.Default()
Create a default toc.

Method Detail

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

Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved.