public class PdfARadioCheckField extends RadioCheckField
Modifier and Type | Field and Description |
---|---|
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 |
checkType, TYPE_CHECK, TYPE_CIRCLE, TYPE_CROSS, TYPE_DIAMOND, TYPE_SQUARE, TYPE_STAR, typeChars
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 and Description |
---|
PdfARadioCheckField(PdfWriter writer,
Rectangle box,
String fieldName,
String onValue) |
Modifier and Type | Method and Description |
---|---|
PdfAppearance |
getAppearance(boolean isRadio,
boolean on) |
protected PdfFormField |
getField(boolean isRadio) |
protected BaseFont |
getRealFont() |
void |
setCheckType(int checkType) |
getAppearanceRadioCircle, getCheckField, getCheckType, getOnValue, getRadioField, getRadioGroup, isChecked, setChecked, setOnValue
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
protected static final String check
protected static final String circle
protected static final String cross
protected static final String diamond
protected static final String square
protected static final String star
protected static String[] typeStreams
protected PdfFormField getField(boolean isRadio) throws IOException, DocumentException
getField
in class RadioCheckField
IOException
DocumentException
public void setCheckType(int checkType)
setCheckType
in class RadioCheckField
public PdfAppearance getAppearance(boolean isRadio, boolean on) throws IOException, DocumentException
getAppearance
in class RadioCheckField
IOException
DocumentException
protected BaseFont getRealFont() throws IOException, DocumentException
getRealFont
in class BaseField
IOException
DocumentException
Copyright © 2017. All rights reserved.