org.pdfclown.documents.interaction.forms
Class RadioButton
java.lang.Object
org.pdfclown.objects.PdfObjectWrapper<PdfDictionary>
org.pdfclown.documents.interaction.forms.Field
org.pdfclown.documents.interaction.forms.ButtonField
org.pdfclown.documents.interaction.forms.RadioButton
- All Implemented Interfaces:
- Cloneable, IPdfObjectWrapper
@PDF(value=PDF12)
public final class RadioButton
- extends ButtonField
Radio button field [PDF:1.6:8.6.3].
- Since:
- 0.0.7
- Version:
- 0.1.2, 12/21/12
- Author:
- Stefano Chizzolini (http://www.stefanochizzolini.it)
Nested classes/interfaces inherited from class org.pdfclown.documents.interaction.forms.Field |
Field.FlagsEnum |
Methods inherited from class org.pdfclown.documents.interaction.forms.Field |
getActions, getDefaultAppearanceState, getDefaultValue, getFlags, getFullName, getInheritableAttribute, getName, getValue, getWidgets, isExportable, isReadOnly, isRequired, setActions, setExportable, setFlags, setName, setReadOnly, setRequired, wrap |
Methods inherited from class org.pdfclown.objects.PdfObjectWrapper |
checkCompatibility, delete, equals, exists, getBaseDataObject, getBaseObject, getBaseObject, getContainer, getDataContainer, getDocument, getFile, getMetadata, retrieveName, retrieveNamedBaseObject, setBaseObject, setMetadata |
RadioButton
public RadioButton(String name,
DualWidget[] widgets,
String value)
- Creates a new radiobutton within the given document context.
clone
public RadioButton clone(Document context)
- Description copied from class:
PdfObjectWrapper
- Gets a clone of the object, registered inside the given document context.
- Overrides:
clone
in class PdfObjectWrapper<PdfDictionary>
- Parameters:
context
- Which document the clone has to be registered in.
isToggleable
public boolean isToggleable()
- Gets whether all the field buttons can be deselected at the same time.
setToggleable
public void setToggleable(boolean value)
- See Also:
isToggleable()
setValue
public void setValue(Object value)
- Overrides:
setValue
in class Field
- See Also:
Field.getValue()
Project home page
Copyright © 2006-2013 Stefano Chizzolini. Some Rights Reserved.
This documentation is available under the terms of the GNU Free Documentation License.