Package com.aowagie.text.pdf.collection
Class PdfCollectionSort
- java.lang.Object
-
- com.aowagie.text.pdf.PdfObject
-
- com.aowagie.text.pdf.PdfDictionary
-
- com.aowagie.text.pdf.collection.PdfCollectionSort
-
class PdfCollectionSort extends PdfDictionary
-
-
Field Summary
-
Fields inherited from class com.aowagie.text.pdf.PdfDictionary
hashMap
-
-
Constructor Summary
Constructors Constructor Description PdfCollectionSort()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setSortOrder(boolean ascending)
Defines the sort order of the field (ascending or descending).void
setSortOrder(boolean[] ascending)
Defines the sort order of the field (ascending or descending).-
Methods inherited from class com.aowagie.text.pdf.PdfDictionary
get, getAsArray, getAsDict, getAsName, getAsNumber, getAsString, getDirectObject, getKeys, isCatalog, isFont, isOutlineTree, isPage, isPages, put, remove, size, toPdf, toString
-
Methods inherited from class com.aowagie.text.pdf.PdfObject
getBytes, getIndRef, isArray, isBoolean, isDictionary, isIndirect, isName, isNull, isNumber, isStream, isString, setContent, setIndRef, type
-
-
-
-
Method Detail
-
setSortOrder
public void setSortOrder(boolean ascending)
Defines the sort order of the field (ascending or descending).- Parameters:
ascending
- true is the default, use false for descending order
-
setSortOrder
public void setSortOrder(boolean[] ascending)
Defines the sort order of the field (ascending or descending).- Parameters:
ascending
- an array with every element corresponding with a name of a field.
-
-