PDF Clown
0.0.8

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

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.JavaScript

public class JavaScript
extends Action

'Cause a script to be compiled and executed by the JavaScript interpreter' action [PDF:1.6:8.6.4].

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

Constructor Summary
JavaScript(Document context, String script)
          Creates a new action within the given document context.
 
Method Summary
 JavaScript clone(Document context)
          Gets a clone of the object, registered inside the given document context.
 String getScript()
           
 void setScript(String value)
           
 
Methods inherited from class it.stefanochizzolini.clown.documents.interaction.actions.Action
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

JavaScript

public JavaScript(Document context,
                  String script)
Creates a new action within the given document context.

Method Detail

clone

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

Overrides:
clone in class Action
Parameters:
context - Which document the clone has to be registered in.

getScript

public String getScript()

setScript

public void setScript(String value)
See Also:
getScript()

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.