|
intarsys PDF library API | |||||||||
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
de.intarsys.pdf.pd.PDOutlineItem
public class PDOutlineItem
A document outline item. This is used to represent all tree elements in a PDF outline tree.
Nested Class Summary | |
---|---|
static class |
PDOutlineItem.MetaClass
The meta class implementation |
Field Summary | |
---|---|
static COSName |
DK_A
|
static COSName |
DK_C
|
static COSName |
DK_Dest
|
static COSName |
DK_F
|
static COSName |
DK_Next
|
static COSName |
DK_Parent
|
static COSName |
DK_Prev
|
static COSName |
DK_SE
|
static COSName |
DK_Title
|
static PDOutlineItem.MetaClass |
META
The meta class instance |
Fields inherited from class de.intarsys.pdf.pd.PDOutlineNode |
---|
DK_Count, DK_First, DK_Last |
Fields inherited from class de.intarsys.pdf.pd.PDObject |
---|
DK_Subtype, DK_Type |
Method Summary | |
---|---|
int |
basicGetFlags()
The flags as integer value. |
void |
basicSetFlags(int value)
Assign the flags from an integer value. |
COSArray |
cosGetColor()
The color values to be used for this. |
PDAction |
getAction()
The PDAction executed when the outline item is activated. |
PDDestination |
getDestination()
The PDDestination to be displayed when the outline item is
activated. |
OutlineItemFlags |
getFlags()
The OutlineItemFlags . |
PDOutlineItem |
getNext()
The next PDOutlineItem within the items linked list. |
PDOutlineNode |
getParent()
The parent item. |
PDOutlineItem |
getPrev()
The previous PDOutlineItem within the items linked list. |
String |
getTitle()
The title to be displayed for this. |
void |
setAction(PDAction action)
Assign the PDAction to be executed when the outline is activated. |
void |
setDestination(PDDestination destination)
Assign the PDDestination to be displayed when the outline is
activated. |
void |
setTitle(String title)
Assign the outline title |
Methods inherited from class de.intarsys.pdf.pd.PDOutlineNode |
---|
addItem, getChildren, getCount, getFirst, getLast, isOutline, removeItem |
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 COSName DK_A
public static final COSName DK_C
public static final COSName DK_Dest
public static final COSName DK_F
public static final COSName DK_Next
public static final COSName DK_Parent
public static final COSName DK_Prev
public static final COSName DK_SE
public static final COSName DK_Title
public static final PDOutlineItem.MetaClass META
Method Detail |
---|
public int basicGetFlags()
public void basicSetFlags(int value)
value
- The new flagspublic COSArray cosGetColor()
public PDAction getAction()
PDAction
executed when the outline item is activated.
PDAction
executed when the outline item is activated.public PDDestination getDestination()
PDDestination
to be displayed when the outline item is
activated.
PDDestination
to be displayed when the outline item
is activated.public OutlineItemFlags getFlags()
OutlineItemFlags
.
OutlineItemFlags
.public PDOutlineItem getNext()
PDOutlineItem
within the items linked list.
PDOutlineItem
within the items linked list.public PDOutlineNode getParent()
public PDOutlineItem getPrev()
PDOutlineItem
within the items linked list.
PDOutlineItem
within the items linked list.public String getTitle()
public void setAction(PDAction action)
PDAction
to be executed when the outline is activated.
action
- The PDAction
to be executed.public void setDestination(PDDestination destination)
PDDestination
to be displayed when the outline is
activated.
destination
- The PDDestination
to be displayed.public void setTitle(String title)
title
- The new outline title.
|
intarsys PDF library API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |