Style Intelligence v12.0

inetsoft.report
Class TOC.Distinctive

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

public static class TOC.Distinctive
extends TOC

'Distinctive' 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.Distinctive()
          Create a Distinctive toc.
 
Method Summary
 Font getFont(int level)
          Get the font for the toc level.
 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, 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.Distinctive

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

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.