| |
|
| java.lang.Object com.lowagie.text.pdf.PdfObject com.lowagie.text.pdf.PdfArray
All known Subclasses: com.lowagie.text.pdf.PdfDestination, com.lowagie.text.pdf.PdfRectangle, com.lowagie.text.pdf.PdfDashPattern, com.lowagie.text.pdf.PdfColor, com.lowagie.text.pdf.PdfBorderArray,
PdfArray | public class PdfArray extends PdfObject (Code) | | PdfArray is the PDF Array object.
An array is a sequence of PDF objects. An array may contain a mixture of object types.
An array is written as a left square bracket ([), followed by a sequence of objects,
followed by a right square bracket (]).
This object is described in the 'Portable Document Format Reference Manual version 1.7'
section 3.2.5 (page 58).
See Also: PdfObject |
Constructor Summary | |
public | PdfArray() Constructs an empty PdfArray -object. | public | PdfArray(PdfObject object) Constructs an PdfArray -object, containing 1 PdfObject . | public | PdfArray(float values) | public | PdfArray(int values) | public | PdfArray(PdfArray array) Constructs an PdfArray -object, containing all the PdfObject s in a given PdfArray . |
arrayList | protected ArrayList arrayList(Code) | | this is the actual array of PdfObjects
|
PdfArray | public PdfArray()(Code) | | Constructs an empty PdfArray -object.
|
PdfArray | public PdfArray(PdfObject object)(Code) | | Constructs an PdfArray -object, containing 1 PdfObject .
Parameters: object - a PdfObject that has to be added to the array |
PdfArray | public PdfArray(float values)(Code) | | |
PdfArray | public PdfArray(int values)(Code) | | |
PdfArray | public PdfArray(PdfArray array)(Code) | | Constructs an PdfArray -object, containing all the PdfObject s in a given PdfArray .
Parameters: array - a PdfArray that has to be added to the array |
add | public boolean add(PdfObject object)(Code) | | Adds a PdfObject to the PdfArray .
Parameters: object - PdfObject to add true |
add | public boolean add(float values)(Code) | | |
add | public boolean add(int values)(Code) | | |
addFirst | public void addFirst(PdfObject object)(Code) | | Adds a PdfObject to the PdfArray .
The newly added object will be the first element in the ArrayList .
Parameters: object - PdfObject to add |
contains | public boolean contains(PdfObject object)(Code) | | Checks if the PdfArray already contains a certain PdfObject .
Parameters: object - PdfObject to check true |
getArrayList | public ArrayList getArrayList()(Code) | | Returns an ArrayList containing PdfObject s.
an ArrayList |
size | public int size()(Code) | | Returns the number of entries in the array.
the size of the ArrayList |
|
|
|