public abstract class PDOutlineNode extends PDObject
| Modifier and Type | Class and Description |
|---|---|
static class |
PDOutlineNode.MetaClass
The meta class implementation
|
| Modifier and Type | Field and Description |
|---|---|
static COSName |
DK_Count |
static COSName |
DK_First |
static COSName |
DK_Last |
static PDOutlineNode.MetaClass |
META
The meta class instance
|
DK_Subtype, DK_Type| Modifier and Type | Method and Description |
|---|---|
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<PDOutlineItem> |
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. |
cosGetFieldDescendant, cosGetFieldInheritable, cosGetFieldInherited, cosGetSubtype, cosGetType, cosRemoveFieldInheritable, cosSetFieldInheritable, cosSetSubtype, cosSetType, getDoc, getGenericChildren, getGenericParent, setGenericParent, toStringchanged, 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, setFieldStringpublic static final PDOutlineNode.MetaClass META
public static final COSName DK_First
public static final COSName DK_Last
public static final COSName DK_Count
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<PDOutlineItem> 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.Copyright © 2013 intarsys consulting GmbH. All Rights Reserved.