|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.ujac.print.IndexItem
public class IndexItem
Name: IndexItem
Description: A class for index items.
Constructor Summary | |
---|---|
IndexItem(int level,
String title)
Constructs a TocItem instance with specific attributes. |
|
IndexItem(int level,
String title,
TocItem tocItem)
Constructs a TocItem instance with specific attributes. |
Method Summary | |
---|---|
void |
addTocItem(TocItem tocItem)
Adds a single TOC item. |
int |
getLevel()
Getter method for the the property level. |
String |
getTitle()
Getter method for the the property title. |
List |
getTocItems()
Getter method for the the property pages. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public IndexItem(int level, String title)
level
- The level of the toc entry.title
- The title of the item.public IndexItem(int level, String title, TocItem tocItem)
level
- The level of the toc entry.title
- The title of the item.tocItem
- The associated toc item.Method Detail |
---|
public int getLevel()
public String getTitle()
public List getTocItems()
public void addTocItem(TocItem tocItem)
tocItem
- The toc item to add.public String toString()
toString
in class Object
Object.toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |