PDF Clown
0.0.8

it.stefanochizzolini.clown.documents.interaction.actions
Class GoToDestination<T extends Destination>

java.lang.Object
  extended by it.stefanochizzolini.clown.objects.PdfObjectWrapper<PdfDictionary>
      extended by it.stefanochizzolini.clown.documents.interaction.actions.Action
          extended by it.stefanochizzolini.clown.documents.interaction.actions.GoToDestination<T>
All Implemented Interfaces:
IGoToAction
Direct Known Subclasses:
GoToLocal, GoToNonLocal

public abstract class GoToDestination<T extends Destination>
extends Action
implements IGoToAction

Abstract go-to-destination action.

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

Constructor Summary
protected GoToDestination(Document context, PdfName actionType, T destination)
           
protected GoToDestination(PdfDirectObject baseObject, PdfIndirectObject container)
           
 
Method Summary
 T getDestination()
          Gets the destination to jump to.
protected abstract  Class<T> getDestinationClass()
           
 void setDestination(T value)
           
 
Methods inherited from class it.stefanochizzolini.clown.documents.interaction.actions.Action
clone, getActions, setActions, wrap, wrap
 
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

GoToDestination

protected GoToDestination(Document context,
                          PdfName actionType,
                          T destination)

GoToDestination

protected GoToDestination(PdfDirectObject baseObject,
                          PdfIndirectObject container)
Method Detail

getDestination

public T getDestination()
Gets the destination to jump to.


setDestination

public void setDestination(T value)
See Also:
getDestination()

getDestinationClass

protected abstract Class<T> getDestinationClass()

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.