| |
|
| java.lang.Object com.lowagie.text.pdf.PdfObject com.lowagie.text.pdf.PdfDictionary com.lowagie.text.pdf.collection.PdfCollectionField
Field Summary | |
final public static int | CREATIONDATE A possible type of collection field. | final public static int | DATE A possible type of collection field. | final public static int | DESC A possible type of collection field. | final public static int | FILENAME A possible type of collection field. | final public static int | MODDATE A possible type of collection field. | final public static int | NUMBER A possible type of collection field. | final public static int | SIZE A possible type of collection field. | final public static int | TEXT A possible type of collection field. | protected int | type The type of the PDF collection field. |
Method Summary | |
public PdfObject | getValue(String v) Returns a PdfObject that can be used as the value of a Collection Item. | public boolean | isCollectionItem() Checks if the type of the field is suitable for a Collection Item. | public void | setEditable(boolean editable) Indication if the field value should be editable in the viewer. | public void | setOrder(int i) The relative order of the field name. | public void | setVisible(boolean visible) Sets the initial visibility of the field. |
CREATIONDATE | final public static int CREATIONDATE(Code) | | A possible type of collection field.
|
DATE | final public static int DATE(Code) | | A possible type of collection field.
|
DESC | final public static int DESC(Code) | | A possible type of collection field.
|
FILENAME | final public static int FILENAME(Code) | | A possible type of collection field.
|
MODDATE | final public static int MODDATE(Code) | | A possible type of collection field.
|
NUMBER | final public static int NUMBER(Code) | | A possible type of collection field.
|
SIZE | final public static int SIZE(Code) | | A possible type of collection field.
|
TEXT | final public static int TEXT(Code) | | A possible type of collection field.
|
type | protected int type(Code) | | The type of the PDF collection field.
|
PdfCollectionField | public PdfCollectionField(String name, int type)(Code) | | Creates a PdfCollectionField.
Parameters: name - the field name Parameters: type - the field type |
getValue | public PdfObject getValue(String v)(Code) | | 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) |
isCollectionItem | public boolean isCollectionItem()(Code) | | Checks if the type of the field is suitable for a Collection Item.
|
setEditable | public void setEditable(boolean editable)(Code) | | Indication if the field value should be editable in the viewer.
Parameters: editable - the default is false (not editable) |
setOrder | public void setOrder(int i)(Code) | | 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)(Code) | | Sets the initial visibility of the field.
Parameters: visible - the default is true (visible) |
|
|
|