|
fop 1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.fop.render.intermediate.extensions.Bookmark
public class Bookmark
This class is a bookmark element for use in the intermediate format.
Constructor Summary | |
---|---|
Bookmark(java.lang.String title,
boolean show,
AbstractAction action)
Creates a new bookmark. |
Method Summary | |
---|---|
void |
addChildBookmark(Bookmark bookmark)
Adds a child bookmark. |
AbstractAction |
getAction()
Returns the action performed when the bookmark is clicked. |
java.util.List |
getChildBookmarks()
Returns a list of child bookmarks. |
java.lang.String |
getTitle()
Returns the bookmark's title. |
boolean |
isShown()
Indicates whether the bookmark shall be shown initially. |
void |
setAction(AbstractAction action)
Sets the action performed when the bookmark is clicked. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Bookmark(java.lang.String title, boolean show, AbstractAction action)
title
- the bookmark's titleshow
- true if the bookmark shall be shown, false for hiddenaction
- the action performed when the bookmark is clickedMethod Detail |
---|
public java.lang.String getTitle()
public boolean isShown()
public AbstractAction getAction()
public void setAction(AbstractAction action)
action
- the actionpublic void addChildBookmark(Bookmark bookmark)
bookmark
- the child bookmarkpublic java.util.List getChildBookmarks()
|
fop 1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |