|
PDF Clown 0.1.2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.pdfclown.objects.PdfObjectWrapper<PdfDictionary>
org.pdfclown.documents.interaction.navigation.document.Bookmark
@PDF(value=PDF10) public final class Bookmark
Outline item [PDF:1.6:8.2.2].
| Nested Class Summary | |
|---|---|
static class |
Bookmark.FlagsEnum
Bookmark flags [PDF:1.6:8.2.2]. |
| Constructor Summary | |
|---|---|
Bookmark(Document context,
String title)
|
|
Bookmark(Document context,
String title,
Action action)
|
|
Bookmark(Document context,
String title,
LocalDestination destination)
|
|
| Method Summary | |
|---|---|
Bookmark |
clone(Document context)
Gets a clone of the object, registered inside the given document context. |
Bookmarks |
getBookmarks()
Gets the child bookmarks. |
DeviceRGBColor |
getColor()
Gets the bookmark text color. |
EnumSet<Bookmark.FlagsEnum> |
getFlags()
Gets the bookmark flags. |
Bookmark |
getParent()
Gets the parent bookmark. |
PdfObjectWrapper<?> |
getTarget()
Gets the link target. |
String |
getTitle()
Gets the text to be displayed for this bookmark. |
boolean |
isExpanded()
Gets whether this bookmark's children are displayed. |
void |
setColor(DeviceRGBColor value)
|
void |
setExpanded(boolean value)
|
void |
setFlags(EnumSet<Bookmark.FlagsEnum> value)
|
void |
setTarget(PdfObjectWrapper<?> value)
|
void |
setTitle(String value)
|
| Methods inherited from class org.pdfclown.objects.PdfObjectWrapper |
|---|
checkCompatibility, delete, equals, exists, getBaseDataObject, getBaseObject, getBaseObject, getContainer, getDataContainer, getDocument, getFile, getMetadata, retrieveName, retrieveNamedBaseObject, setBaseObject, setMetadata |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Bookmark(Document context,
String title)
public Bookmark(Document context,
String title,
LocalDestination destination)
public Bookmark(Document context,
String title,
Action action)
| Method Detail |
|---|
public Bookmark clone(Document context)
PdfObjectWrapper
clone in class PdfObjectWrapper<PdfDictionary>context - Which document the clone has to be registered in.public Bookmarks getBookmarks()
@PDF(value=PDF14) public DeviceRGBColor getColor()
@PDF(value=PDF14) public EnumSet<Bookmark.FlagsEnum> getFlags()
public Bookmark getParent()
public String getTitle()
public boolean isExpanded()
public void setColor(DeviceRGBColor value)
getColor()public void setExpanded(boolean value)
isExpanded()public void setFlags(EnumSet<Bookmark.FlagsEnum> value)
getFlags()public void setTitle(String value)
getTitle()public PdfObjectWrapper<?> getTarget()
ILink
getTarget in interface ILinkDestination or an Action.public void setTarget(PdfObjectWrapper<?> value)
setTarget in interface ILinkILink.getTarget()
|
PDF Clown 0.1.2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||