Style Intelligence v12.0

inetsoft.report
Class TOC.Simple

java.lang.Object
  extended by inetsoft.report.TOC
      extended by inetsoft.report.TOC.Simple
All Implemented Interfaces:
Serializable, Cloneable
Enclosing class:
TOC

public static class TOC.Simple
extends TOC

'Simple' 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.Simple()
          Create a Simple toc.
 
Method Summary
 Font getFont(int level)
          Get the font for the toc level.
 double getIndent(int level)
          Get the heading indentation.
 String toString()
           
 
Methods inherited from class inetsoft.report.TOC
clone, getAlignment, getBackground, getBaseFont, getForeground, getLeader, 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.Simple

public TOC.Simple()
Create a Simple 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.

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

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