|
Style Intelligence v12.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectinetsoft.report.lens.DefaultTextLens
inetsoft.report.lens.DefaultHeadingLens
public class DefaultHeadingLens
The DefaultHeadingLens is a default implementation of the HeadingLens interface. It can be used to create a heading element with a specified heading level.
| Constructor Summary | |
|---|---|
DefaultHeadingLens(String text,
int level)
Create a default heading lens. |
|
DefaultHeadingLens(String text,
int level,
HeadingFormat format)
Create a default heading lens. |
|
| Method Summary | |
|---|---|
String |
format(String number)
Deprecated. As of version 5.0, replaced by getFormat(). |
HeadingFormat |
getFormat()
Get the heading format. |
int |
getLevel()
Get the heading level. |
void |
setFormat(HeadingFormat format)
Set the heading format. |
void |
setLevel(int level)
Set the heading level. |
| Methods inherited from class inetsoft.report.lens.DefaultTextLens |
|---|
clone, getText, setText, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface inetsoft.report.TextLens |
|---|
clone, getText |
| Constructor Detail |
|---|
public DefaultHeadingLens(String text,
int level)
text - heading contents.level - heading level.
public DefaultHeadingLens(String text,
int level,
HeadingFormat format)
text - heading contents.level - heading level.format - heading format.| Method Detail |
|---|
public int getLevel()
getLevel in interface HeadingLenspublic void setLevel(int level)
public HeadingFormat getFormat()
getFormat in interface HeadingLenspublic void setFormat(HeadingFormat format)
public String format(String number)
format in interface HeadingLens
|
Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||