com.crionics.jpdf.outline
Class OutlineItemAction
java.lang.Object
PdfObjectContainer
com.crionics.jpdf.outline.AbstractOutlineItem
com.crionics.jpdf.outline.OutlineItemAction
public class OutlineItemAction
- extends AbstractOutlineItem
An Outline Item which contains Actions interacting with PDF viewer when
selected. See the class AbstractOutlineItemfor a description of
Outline Items.
| Methods inherited from class com.crionics.jpdf.outline.AbstractOutlineItem |
addAfter, addBelow, addChild, addNext, equals, equals, getChild, getFirst, getLast, getNext, getPageIndex, getPageIndex, getParent, getPrev, getTitle, hasChild, hasNext, removeFromTree, setTitle |
| Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
createInstance
public static OutlineItemAction createInstance(PdfDocument doc)
throws PdfException,
java.io.IOException
- Throws:
PdfException
java.io.IOException
getAction
public AbstractAction getAction()
throws PdfException,
java.io.IOException
- Recovers the Action (or actions if they are chained) associated with this
Outline Item.
- Returns:
- The action.
- Throws:
PdfException - If a problem occured while parsing the document.
java.io.IOException - If a problem occured while parsing the file.
setAction
public void setAction(AbstractAction action)
throws PdfException,
java.io.IOException
- Sets the Action (or actions if they are chained) to associate with this
Outline Item.
- Parameters:
action - The Action to set.
- Throws:
PdfException - If a problem occured while parsing the document.
java.io.IOException - If a problem occured while parsing the file.
Copyright © 1999-2007 Crionics. All Rights Reserved.