PDF Clown
0.0.8

it.stefanochizzolini.clown.documents.interaction.forms
Class CheckBox

java.lang.Object
  extended by it.stefanochizzolini.clown.objects.PdfObjectWrapper<PdfDictionary>
      extended by it.stefanochizzolini.clown.documents.interaction.forms.Field
          extended by it.stefanochizzolini.clown.documents.interaction.forms.ButtonField
              extended by it.stefanochizzolini.clown.documents.interaction.forms.CheckBox

public class CheckBox
extends ButtonField

Check box field [PDF:1.6:8.6.3].

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

Nested Class Summary
 
Nested classes/interfaces inherited from class it.stefanochizzolini.clown.documents.interaction.forms.Field
Field.FlagsEnum
 
Constructor Summary
CheckBox(PdfDirectObject baseObject)
           
CheckBox(String name, Widget widget, boolean checked)
          Creates a new checkbox within the given document context.
 
Method Summary
 CheckBox clone(Document context)
          Gets a clone of the object, registered inside the given document context.
 boolean isChecked()
           
 void setChecked(boolean value)
           
 void setValue(Object value)
           
 
Methods inherited from class it.stefanochizzolini.clown.documents.interaction.forms.Field
getActions, getDefaultValue, getFlags, getFullName, getInheritableAttribute, getName, getValue, getWidget, getWidgets, isExportable, isReadOnly, isRequired, setActions, setExportable, setFlags, setName, setReadOnly, setRequired, 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

CheckBox

public CheckBox(String name,
                Widget widget,
                boolean checked)
Creates a new checkbox within the given document context.


CheckBox

public CheckBox(PdfDirectObject baseObject)
Method Detail

clone

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

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

isChecked

public boolean isChecked()

setChecked

public void setChecked(boolean value)

setValue

public void setValue(Object value)
Overrides:
setValue in class Field
See Also:
Field.getValue()

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.