|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sejda.model.pdf.label.PdfPageLabel
public final class PdfPageLabel
Model for a page label.
Pdf reference 1.7, Chap. 8.3.1
| Method Summary | |
|---|---|
boolean |
equals(Object other)
|
String |
getLabelPrefix()
|
int |
getLogicalPageNumber()
|
PdfLabelNumberingStyle |
getNumberingStyle()
|
int |
hashCode()
|
static PdfPageLabel |
newInstanceWithLabel(String label,
PdfLabelNumberingStyle numberingStyle,
int logicalPageNumber)
Creates a label with given label and given style for the given logical page number. |
static PdfPageLabel |
newInstanceWithoutLabel(PdfLabelNumberingStyle numberingStyle,
int logicalPageNumber)
Creates an empty label with the given style for the given logical page number. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public String getLabelPrefix()
public PdfLabelNumberingStyle getNumberingStyle()
public int getLogicalPageNumber()
public String toString()
toString in class Objectpublic int hashCode()
hashCode in class Objectpublic boolean equals(Object other)
equals in class Object
public static PdfPageLabel newInstanceWithoutLabel(PdfLabelNumberingStyle numberingStyle,
int logicalPageNumber)
numberingStyle - logicalPageNumber -
InvalidParameterException - if the input logical page number is not positive. if the input numbering style is null.
public static PdfPageLabel newInstanceWithLabel(String label,
PdfLabelNumberingStyle numberingStyle,
int logicalPageNumber)
label - numberingStyle - logicalPageNumber -
InvalidParameterException - if the input logical page number is not positive. if the input label or numbering style are null.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||