com.itextpdf.text.pdf
Class PdfARadioCheckField

java.lang.Object
  extended by com.itextpdf.text.pdf.BaseField
      extended by com.itextpdf.text.pdf.RadioCheckField
          extended by com.itextpdf.text.pdf.PdfARadioCheckField

public class PdfARadioCheckField
extends RadioCheckField


Field Summary
protected static String check
           
protected static String circle
           
protected static String cross
           
protected static String diamond
           
protected static String square
           
protected static String star
           
protected static String[] typeStreams
           
 
Fields inherited from class com.itextpdf.text.pdf.RadioCheckField
checkType, TYPE_CHECK, TYPE_CIRCLE, TYPE_CROSS, TYPE_DIAMOND, TYPE_SQUARE, TYPE_STAR, typeChars
 
Fields inherited from class com.itextpdf.text.pdf.BaseField
alignment, backgroundColor, BORDER_WIDTH_MEDIUM, BORDER_WIDTH_THICK, BORDER_WIDTH_THIN, borderColor, borderStyle, borderWidth, box, COMB, DO_NOT_SCROLL, DO_NOT_SPELL_CHECK, EDIT, fieldName, FILE_SELECTION, font, fontSize, HIDDEN, HIDDEN_BUT_PRINTABLE, maxCharacterLength, MULTILINE, MULTISELECT, options, PASSWORD, READ_ONLY, REQUIRED, rotation, text, textColor, visibility, VISIBLE, VISIBLE_BUT_DOES_NOT_PRINT, writer
 
Constructor Summary
PdfARadioCheckField(PdfWriter writer, Rectangle box, String fieldName, String onValue)
           
 
Method Summary
 PdfAppearance getAppearance(boolean isRadio, boolean on)
           
protected  PdfFormField getField(boolean isRadio)
           
protected  BaseFont getRealFont()
           
 void setCheckType(int checkType)
           
 
Methods inherited from class com.itextpdf.text.pdf.RadioCheckField
getAppearanceRadioCircle, getCheckField, getCheckType, getOnValue, getRadioField, getRadioGroup, isChecked, setChecked, setOnValue
 
Methods inherited from class com.itextpdf.text.pdf.BaseField
breakLines, getAlignment, getBackgroundColor, getBorderAppearance, getBorderColor, getBorderStyle, getBorderWidth, getBox, getFieldName, getFont, getFontSize, getHardBreaks, getMaxCharacterLength, getOptions, getRotation, getText, getTextColor, getVisibility, getWriter, moveFields, setAlignment, setBackgroundColor, setBorderColor, setBorderStyle, setBorderWidth, setBox, setFieldName, setFont, setFontSize, setMaxCharacterLength, setOptions, setRotation, setRotationFromPage, setText, setTextColor, setVisibility, setWriter, trimRight
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

check

protected static String check

circle

protected static String circle

cross

protected static String cross

diamond

protected static String diamond

square

protected static String square

star

protected static String star

typeStreams

protected static String[] typeStreams
Constructor Detail

PdfARadioCheckField

public PdfARadioCheckField(PdfWriter writer,
                           Rectangle box,
                           String fieldName,
                           String onValue)
Method Detail

getField

protected PdfFormField getField(boolean isRadio)
                         throws IOException,
                                DocumentException
Overrides:
getField in class RadioCheckField
Throws:
IOException
DocumentException

setCheckType

public void setCheckType(int checkType)
Overrides:
setCheckType in class RadioCheckField

getAppearance

public PdfAppearance getAppearance(boolean isRadio,
                                   boolean on)
                            throws IOException,
                                   DocumentException
Overrides:
getAppearance in class RadioCheckField
Throws:
IOException
DocumentException

getRealFont

protected BaseFont getRealFont()
                        throws IOException,
                               DocumentException
Overrides:
getRealFont in class BaseField
Throws:
IOException
DocumentException


Copyright © 2013. All Rights Reserved.