Style Intelligence v12.0

inetsoft.report.lens
Class SingleLowerLetterHeadingFormat

java.lang.Object
  extended by inetsoft.report.lens.SingleLowerLetterHeadingFormat
All Implemented Interfaces:
HeadingFormat

public class SingleLowerLetterHeadingFormat
extends Object
implements HeadingFormat

The LetterHeadingFormat is a implementation of the HeadingFormat interface. It will format to number to a, b, c ...


Constructor Summary
SingleLowerLetterHeadingFormat()
           
 
Method Summary
 String format(int number)
          Format the number of the heading.
 String getPrefix()
          prefix text which will be displayed at the beginning of the heading number.
 String getSeparator()
          Get the separator of heading number.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SingleLowerLetterHeadingFormat

public SingleLowerLetterHeadingFormat()
Method Detail

getSeparator

public String getSeparator()
Get the separator of heading number.

Specified by:
getSeparator in interface HeadingFormat

format

public String format(int number)
Format the number of the heading. The input to the method is digit. The output can be any string, for example: I, II, III or a, b, c etc. which will be displayed at the beginning of the heading text.

Specified by:
format in interface HeadingFormat
Parameters:
number - heading number.
Returns:
formatted heading number.

getPrefix

public String getPrefix()
prefix text which will be displayed at the beginning of the heading number.

Specified by:
getPrefix in interface HeadingFormat

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