|
PDF Clown 0.0.8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectit.stefanochizzolini.clown.objects.PdfObjectWrapper<PdfDictionary>
it.stefanochizzolini.clown.documents.interaction.navigation.document.Bookmark
public class Bookmark
Outline item [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. |
Action |
getAction()
Gets the action to be performed when the link is activated. |
Bookmarks |
getBookmarks()
Gets the child bookmarks. |
Destination |
getDestination()
Gets the destination to jump to when the link is activated. |
Bookmark |
getParent()
Gets the parent bookmark. |
PdfObjectWrapper<?> |
getTarget()
Gets the link target (either a Destination or an Action). |
String |
getTitle()
Gets the text to be displayed for this bookmark. |
boolean |
isExpanded()
Gets whether this bookmark's children are displayed. |
void |
setAction(Action value)
|
void |
setDestination(Destination value)
|
void |
setExpanded(boolean value)
|
void |
setTarget(PdfObjectWrapper<?> value)
|
void |
setTitle(String value)
|
Methods inherited from class it.stefanochizzolini.clown.objects.PdfObjectWrapper |
---|
delete, getBaseDataObject, getBaseObject, getContainer, getDocument, getFile, setBaseObject, setContainer, update |
Methods inherited from class java.lang.Object |
---|
clone, equals, 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()
public Bookmark getParent()
public String getTitle()
public boolean isExpanded()
public void setExpanded(boolean value)
isExpanded()
public void setTitle(String value)
getTitle()
public Action getAction()
ILink
getAction
in interface ILink
public Destination getDestination()
ILink
getDestination
in interface ILink
public PdfObjectWrapper<?> getTarget()
ILink
getTarget
in interface ILink
public void setAction(Action value)
setAction
in interface ILink
ILink.getAction()
public void setDestination(Destination value)
setDestination
in interface ILink
ILink.getDestination()
public void setTarget(PdfObjectWrapper<?> value)
setTarget
in interface ILink
ILink.getTarget()
|
PDF Clown 0.0.8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |