Package com.lowagie.text.pdf.events
Class IndexEvents.Entry
java.lang.Object
com.lowagie.text.pdf.events.IndexEvents.Entry
- Enclosing class:
- IndexEvents
Class for an index entry.
In the first step, only in1, in2,in3 and tag are used. After the collections of the index entries, pagenumbers are used.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddPageNumberAndTag(int number, String tag) Add a pagenumber.getIn1()Returns the in1.getIn2()Returns the in2.getIn3()Returns the in3.getKey()Returns the key for the map-entry.intReturns the pagenumber for this entry.Returns the pagenumbers.getTag()Returns the tag.getTags()Returns the tags.toString()print the entry (only for test)
-
Constructor Details
-
Entry
Create a new object.- Parameters:
aIn1- The first level.aIn2- The second level.aIn3- The third level.aTag- The tag.
-
-
Method Details
-
getIn1
Returns the in1.- Returns:
- Returns the in1.
-
getIn2
Returns the in2.- Returns:
- Returns the in2.
-
getIn3
Returns the in3.- Returns:
- Returns the in3.
-
getTag
Returns the tag.- Returns:
- Returns the tag.
-
getPageNumber
public int getPageNumber()Returns the pagenumber for this entry.- Returns:
- Returns the pagenumber for this entry.
-
addPageNumberAndTag
Add a pagenumber.- Parameters:
number- The page number.tag-
-
getKey
Returns the key for the map-entry.- Returns:
- Returns the key for the map-entry.
-
getPagenumbers
Returns the pagenumbers.- Returns:
- Returns the pagenumbers.
-
getTags
Returns the tags.- Returns:
- Returns the tags.
-
toString
print the entry (only for test)
-