PDF Clown
0.0.8

it.stefanochizzolini.clown.documents.interaction.actions
Class Action

java.lang.Object
  extended by it.stefanochizzolini.clown.objects.PdfObjectWrapper<PdfDictionary>
      extended by it.stefanochizzolini.clown.documents.interaction.actions.Action
Direct Known Subclasses:
DoTransition, GoTo3dView, GoToDestination, GoToThread, GoToURI, ImportData, JavaScript, Launch, NamedAction, PlayMovie, PlaySound, Rendition, ResetForm, SetOcgState, SubmitForm, ToggleVisibility

public class Action
extends PdfObjectWrapper<PdfDictionary>

Action to be performed by the viewer application [PDF:1.6:8.5].

Since:
0.0.7
Version:
0.0.8
Author:
Stefano Chizzolini (http://www.stefanochizzolini.it)

Constructor Summary
protected Action(Document context, PdfName actionType)
          Creates a new action within the given document context.
protected Action(PdfDirectObject baseObject, PdfIndirectObject container)
           
 
Method Summary
 Action clone(Document context)
          Gets a clone of the object, registered inside the given document context.
 ChainedActions getActions()
          Gets the actions to be performed after the current one.
 void setActions(ChainedActions value)
           
static Action wrap(PdfDirectObject baseObject, PdfIndirectObject container)
          Wraps an action base object into an action object.
static Action wrap(PdfReference reference)
          Wraps an action reference into an action object.
 
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

Action

protected Action(Document context,
                 PdfName actionType)
Creates a new action within the given document context.


Action

protected Action(PdfDirectObject baseObject,
                 PdfIndirectObject container)
Method Detail

wrap

public static final Action wrap(PdfReference reference)
Wraps an action reference into an action object.

Parameters:
reference - Reference to an action object.
Returns:
Action object associated to the reference.

wrap

public static final Action wrap(PdfDirectObject baseObject,
                                PdfIndirectObject container)
Wraps an action base object into an action object.

Parameters:
baseObject - Action base object.
container - Action base object container.
Returns:
Action object associated to the base object.

clone

public Action clone(Document context)
Description copied from class: PdfObjectWrapper
Gets a clone of the object, registered inside the given document context.

Specified by:
clone in class PdfObjectWrapper<PdfDictionary>
Parameters:
context - Which document the clone has to be registered in.

getActions

public ChainedActions getActions()
Gets the actions to be performed after the current one.


setActions

public void setActions(ChainedActions value)
See Also:
getActions()

PDF Clown
0.0.8

Project home page

Copyright © 2006-2010 Stefano Chizzolini. Some Rights Reserved.
This documentation is available under the terms of the GNU Free Documentation License.