Style Intelligence v12.0

inetsoft.report
Class TOC.Fancy

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

public static class TOC.Fancy
extends TOC

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

public TOC.Fancy()
Create a Fancy toc.

Method Detail

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.

getSeparator

public int getSeparator(int level)
Description copied from class: TOC
Get the separator for the toc level. If a value other than NONE is returned, a separator is added below every heading of the specified level.

Overrides:
getSeparator in class TOC
Parameters:
level - the heading level. Starts from 1.
Returns:
heading separator.

toString

public String toString()
Overrides:
toString in class Object

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