PDF Clown
0.0.8

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

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.ChoiceField
              extended by it.stefanochizzolini.clown.documents.interaction.forms.ComboBox

public class ComboBox
extends ChoiceField

Combo box [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
ComboBox(PdfDirectObject baseObject)
           
ComboBox(String name, Widget widget)
          Creates a new combobox within the given document context.
 
Method Summary
 ComboBox clone(Document context)
          Gets a clone of the object, registered inside the given document context.
 boolean isEditable()
          Gets whether the text is editable.
 boolean isSpellChecked()
          Gets whether the edited text is spell checked.
 void setEditable(boolean value)
           
 void setSpellChecked(boolean value)
           
 
Methods inherited from class it.stefanochizzolini.clown.documents.interaction.forms.ChoiceField
getItems, isMultiSelect, isValidatedOnChange, setItems, setMultiSelect, setValidatedOnChange
 
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, setValue, 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

ComboBox

public ComboBox(String name,
                Widget widget)
Creates a new combobox within the given document context.


ComboBox

public ComboBox(PdfDirectObject baseObject)
Method Detail

clone

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

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

isEditable

public boolean isEditable()
Gets whether the text is editable.


isSpellChecked

public boolean isSpellChecked()
Gets whether the edited text is spell checked.


setEditable

public void setEditable(boolean value)
See Also:
isEditable()

setSpellChecked

public void setSpellChecked(boolean value)
See Also:
isSpellChecked()

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.