|
jPod PDF library | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.intarsys.pdf.cos.COSBasedObject
de.intarsys.pdf.pd.PDObject
de.intarsys.pdf.pd.PDOutlineNode
public abstract class PDOutlineNode
Factoring out the commonalities between the PDOutline and PDOutlineItem.
Nested Class Summary | |
---|---|
static class |
PDOutlineNode.MetaClass
The meta class implementation |
Field Summary | |
---|---|
static COSName |
DK_Count
|
static COSName |
DK_First
|
static COSName |
DK_Last
|
static PDOutlineNode.MetaClass |
META
The meta class instance |
Fields inherited from class de.intarsys.pdf.pd.PDObject |
---|
DK_Subtype, DK_Type |
Method Summary | |
---|---|
void |
addItem(PDOutlineItem newItem)
Add a new PDOutlineItem . |
boolean |
collapse()
Collapse this node (mark the children invisible). |
boolean |
expand()
Expand this node (mark the children visible). |
List |
getChildren()
The list of all child nodes for this. |
int |
getCount()
The number of child elements. |
PDOutlineItem |
getFirst()
The first child element in the linked list of children. |
PDOutlineItem |
getLast()
The last child element in the linked list of children. |
boolean |
isOutline()
true if this is the outline (root element) itself. |
boolean |
removeItem(PDOutlineItem pItem)
Remove a PDOutlineItem from this. |
Methods inherited from class de.intarsys.pdf.pd.PDObject |
---|
cosGetFieldDescendant, cosGetFieldInheritable, cosGetFieldInherited, cosGetSubtype, cosGetType, cosRemoveFieldInheritable, cosSetFieldInheritable, cosSetSubtype, cosSetType, getDoc, getGenericChildren, getGenericParent, setGenericParent, toString |
Methods inherited from class de.intarsys.pdf.cos.COSBasedObject |
---|
changed, cosGetArray, cosGetDict, cosGetDoc, cosGetField, cosGetObject, cosGetStream, cosHasField, cosRemoveField, cosSetField, getAttribute, getFieldBoolean, getFieldDate, getFieldFixed, getFieldFixedArray, getFieldInt, getFieldMLString, getFieldString, invalidateCaches, removeAttribute, setAttribute, setFieldBoolean, setFieldFixed, setFieldInt, setFieldMLString, setFieldName, setFieldObject, setFieldString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final PDOutlineNode.MetaClass META
public static final COSName DK_First
public static final COSName DK_Last
public static final COSName DK_Count
Method Detail |
---|
public void addItem(PDOutlineItem newItem)
PDOutlineItem
.
newItem
- The new item to be inserted at the end.public boolean collapse()
true
if the expansion state of the node changes.public boolean expand()
true
if the expansion state of the node changes.public List getChildren()
public int getCount()
public PDOutlineItem getFirst()
public PDOutlineItem getLast()
public boolean isOutline()
true
if this is the outline (root element) itself.
true
if this is the outline (root element) itself.public boolean removeItem(PDOutlineItem pItem)
PDOutlineItem
from this.
pItem
- The item to be removed.
true
if the item was removed.
|
jPod PDF library | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |