java.lang.Object
com.lowagie.text.pdf.PdfObject
com.lowagie.text.pdf.PdfDictionary
com.lowagie.text.pdf.collection.PdfCollectionField
Deprecated.
- Author:
- blowagie
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intDeprecated.A possible type of collection field.static final intDeprecated.A possible type of collection field.static final intDeprecated.A possible type of collection field.protected intDeprecated.The type of the PDF collection field.static final intDeprecated.A possible type of collection field.static final intDeprecated.A possible type of collection field.static final intDeprecated.A possible type of collection field.static final intDeprecated.A possible type of collection field.static final intDeprecated.A possible type of collection field.Fields inherited from class com.lowagie.text.pdf.PdfDictionary
CATALOG, FONT, hashMap, OUTLINES, PAGE, PAGESFields inherited from class com.lowagie.text.pdf.PdfObject
ARRAY, BOOLEAN, bytes, DICTIONARY, INDIRECT, indRef, NAME, NOTHING, NULL, STREAM, STRING, TEXT_PDFDOCENCODING, TEXT_UNICODE, type -
Constructor Summary
ConstructorsConstructorDescriptionPdfCollectionField(String name, int type) Deprecated.Creates a PdfCollectionField. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Returns a PdfObject that can be used as the value of a Collection Item.booleanDeprecated.Checks if the type of the field is suitable for a Collection Item.voidsetEditable(boolean editable) Deprecated.Indication if the field value should be editable in the viewer.voidsetOrder(int i) Deprecated.The relative order of the field name.voidsetVisible(boolean visible) Deprecated.Sets the initial visibility of the field.Methods inherited from class com.lowagie.text.pdf.PdfDictionary
clear, contains, get, getAsArray, getAsBoolean, getAsDict, getAsIndirectObject, getAsName, getAsNumber, getAsStream, getAsString, getDirectObject, getKeys, getKeysAndValues, isCatalog, isFont, isOutlineTree, isPage, isPages, merge, mergeDifferent, put, putAll, putEx, remove, size, toPdf, toStringMethods inherited from class com.lowagie.text.pdf.PdfObject
canBeInObjStm, getBytes, getIndRef, isArray, isBoolean, isDictionary, isIndirect, isName, isNull, isNumber, isStream, isString, length, setContent, setIndRef, type
-
Field Details
-
TEXT
public static final int TEXTDeprecated.A possible type of collection field.- See Also:
-
DATE
public static final int DATEDeprecated.A possible type of collection field.- See Also:
-
NUMBER
public static final int NUMBERDeprecated.A possible type of collection field.- See Also:
-
FILENAME
public static final int FILENAMEDeprecated.A possible type of collection field.- See Also:
-
DESC
public static final int DESCDeprecated.A possible type of collection field.- See Also:
-
MODDATE
public static final int MODDATEDeprecated.A possible type of collection field.- See Also:
-
CREATIONDATE
public static final int CREATIONDATEDeprecated.A possible type of collection field.- See Also:
-
SIZE
public static final int SIZEDeprecated.A possible type of collection field.- See Also:
-
fieldType
protected int fieldTypeDeprecated.The type of the PDF collection field.- Since:
- 2.1.2 (was called
typepreviously)
-
-
Constructor Details
-
PdfCollectionField
Deprecated.Creates a PdfCollectionField.- Parameters:
name- the field nametype- the field type
-
-
Method Details
-
setOrder
public void setOrder(int i) Deprecated.The relative order of the field name. Fields are sorted in ascending order.- Parameters:
i- a number indicating the order of the field
-
setVisible
public void setVisible(boolean visible) Deprecated.Sets the initial visibility of the field.- Parameters:
visible- the default is true (visible)
-
setEditable
public void setEditable(boolean editable) Deprecated.Indication if the field value should be editable in the viewer.- Parameters:
editable- the default is false (not editable)
-
isCollectionItem
public boolean isCollectionItem()Deprecated.Checks if the type of the field is suitable for a Collection Item.- Returns:
- true if it is a Collection item, false otherwise
-
getValue
Deprecated.Returns a PdfObject that can be used as the value of a Collection Item.- Parameters:
v- value the value that has to be changed into a PdfObject (PdfString, PdfDate or PdfNumber)- Returns:
- a PdfObject that can be used as the value of a Collection Item.
-