com.lowagie.text.pdf.collection
public class PdfCollectionField extends PdfDictionary
| Field Summary | |
|---|---|
| static int | CREATIONDATE A possible type of collection field. |
| static int | DATE A possible type of collection field. |
| static int | DESC A possible type of collection field. |
| protected int | fieldType
The type of the PDF collection field. |
| static int | FILENAME A possible type of collection field. |
| static int | MODDATE A possible type of collection field. |
| static int | NUMBER A possible type of collection field. |
| static int | SIZE A possible type of collection field. |
| static int | TEXT A possible type of collection field. |
| Constructor Summary | |
|---|---|
| PdfCollectionField(String name, int type)
Creates a PdfCollectionField. | |
| Method Summary | |
|---|---|
| PdfObject | getValue(String v)
Returns a PdfObject that can be used as the value of a Collection Item. |
| boolean | isCollectionItem()
Checks if the type of the field is suitable for a Collection Item. |
| void | setEditable(boolean editable)
Indication if the field value should be editable in the viewer. |
| void | setOrder(int i)
The relative order of the field name. |
| void | setVisible(boolean visible)
Sets the initial visibility of the field. |
Since: 2.1.2 (was called type previously)
Parameters: name the field name type the field type
Parameters: v value the value that has to be changed into a PdfObject (PdfString, PdfDate or PdfNumber)
Parameters: editable the default is false (not editable)
Parameters: i a number indicating the order of the field
Parameters: visible the default is true (visible)