📄 radiocheckfield.html
字号:
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"><B>Method Summary</B></FONT></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../com/lowagie/text/pdf/PdfAppearance.html" title="class in com.lowagie.text.pdf">PdfAppearance</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/RadioCheckField.html#getAppearance(boolean, boolean)">getAppearance</A></B>(boolean isRadio, boolean on)</CODE><BR> Gets the field appearance.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../com/lowagie/text/pdf/PdfAppearance.html" title="class in com.lowagie.text.pdf">PdfAppearance</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/RadioCheckField.html#getAppearanceRadioCircle(boolean)">getAppearanceRadioCircle</A></B>(boolean on)</CODE><BR> Gets the special field appearance for the radio circle.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../com/lowagie/text/pdf/PdfFormField.html" title="class in com.lowagie.text.pdf">PdfFormField</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/RadioCheckField.html#getCheckField()">getCheckField</A></B>()</CODE><BR> Gets the check field.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/RadioCheckField.html#getCheckType()">getCheckType</A></B>()</CODE><BR> Getter for property checkType.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected <A HREF="../../../../com/lowagie/text/pdf/PdfFormField.html" title="class in com.lowagie.text.pdf">PdfFormField</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/RadioCheckField.html#getField(boolean)">getField</A></B>(boolean isRadio)</CODE><BR> Gets a radio or check field.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/RadioCheckField.html#getOnValue()">getOnValue</A></B>()</CODE><BR> Getter for property onValue.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../com/lowagie/text/pdf/PdfFormField.html" title="class in com.lowagie.text.pdf">PdfFormField</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/RadioCheckField.html#getRadioField()">getRadioField</A></B>()</CODE><BR> Gets the radio field.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../com/lowagie/text/pdf/PdfFormField.html" title="class in com.lowagie.text.pdf">PdfFormField</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/RadioCheckField.html#getRadioGroup(boolean, boolean)">getRadioGroup</A></B>(boolean noToggleToOff, boolean radiosInUnison)</CODE><BR> Gets a radio group.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/RadioCheckField.html#isChecked()">isChecked</A></B>()</CODE><BR> Getter for property checked.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/RadioCheckField.html#setChecked(boolean)">setChecked</A></B>(boolean checked)</CODE><BR> Sets the state of the field to checked or unchecked.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/RadioCheckField.html#setCheckType(int)">setCheckType</A></B>(int checkType)</CODE><BR> Sets the checked symbol.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/RadioCheckField.html#setOnValue(java.lang.String)">setOnValue</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> onValue)</CODE><BR> Sets the value when the field is checked.</TD></TR></TABLE> <A NAME="methods_inherited_from_class_com.lowagie.text.pdf.BaseField"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from class com.lowagie.text.pdf.<A HREF="../../../../com/lowagie/text/pdf/BaseField.html" title="class in com.lowagie.text.pdf">BaseField</A></B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../com/lowagie/text/pdf/BaseField.html#breakLines(java.util.ArrayList, com.lowagie.text.pdf.BaseFont, float, float)">breakLines</A>, <A HREF="../../../../com/lowagie/text/pdf/BaseField.html#getAlignment()">getAlignment</A>, <A HREF="../../../../com/lowagie/text/pdf/BaseField.html#getBackgroundColor()">getBackgroundColor</A>, <A HREF="../../../../com/lowagie/text/pdf/BaseField.html#getBorderAppearance()">getBorderAppearance</A>, <A HREF="../../../../com/lowagie/text/pdf/BaseField.html#getBorderColor()">getBorderColor</A>, <A HREF="../../../../com/lowagie/text/pdf/BaseField.html#getBorderStyle()">getBorderStyle</A>, <A HREF="../../../../com/lowagie/text/pdf/BaseField.html#getBorderWidth()">getBorderWidth</A>, <A HREF="../../../../com/lowagie/text/pdf/BaseField.html#getBox()">getBox</A>, <A HREF="../../../../com/lowagie/text/pdf/BaseField.html#getFieldName()">getFieldName</A>, <A HREF="../../../../com/lowagie/text/pdf/BaseField.html#getFont()">getFont</A>, <A HREF="../../../../com/lowagie/text/pdf/BaseField.html#getFontSize()">getFontSize</A>, <A HREF="../../../../com/lowagie/text/pdf/BaseField.html#getHardBreaks(java.lang.String)">getHardBreaks</A>, <A HREF="../../../../com/lowagie/text/pdf/BaseField.html#getMaxCharacterLength()">getMaxCharacterLength</A>, <A HREF="../../../../com/lowagie/text/pdf/BaseField.html#getOptions()">getOptions</A>, <A HREF="../../../../com/lowagie/text/pdf/BaseField.html#getRealFont()">getRealFont</A>, <A HREF="../../../../com/lowagie/text/pdf/BaseField.html#getRotation()">getRotation</A>, <A HREF="../../../../com/lowagie/text/pdf/BaseField.html#getText()">getText</A>, <A HREF="../../../../com/lowagie/text/pdf/BaseField.html#getTextColor()">getTextColor</A>, <A HREF="../../../../com/lowagie/text/pdf/BaseField.html#getVisibility()">getVisibility</A>, <A HREF="../../../../com/lowagie/text/pdf/BaseField.html#getWriter()">getWriter</A>, <A HREF="../../../../com/lowagie/text/pdf/BaseField.html#moveFields(com.lowagie.text.pdf.PdfDictionary, com.lowagie.text.pdf.PdfDictionary)">moveFields</A>, <A HREF="../../../../com/lowagie/text/pdf/BaseField.html#setAlignment(int)">setAlignment</A>, <A HREF="../../../../com/lowagie/text/pdf/BaseField.html#setBackgroundColor(java.awt.Color)">setBackgroundColor</A>, <A HREF="../../../../com/lowagie/text/pdf/BaseField.html#setBorderColor(java.awt.Color)">setBorderColor</A>, <A HREF="../../../../com/lowagie/text/pdf/BaseField.html#setBorderStyle(int)">setBorderStyle</A>, <A HREF="../../../../com/lowagie/text/pdf/BaseField.html#setBorderWidth(float)">setBorderWidth</A>, <A HREF="../../../../com/lowagie/text/pdf/BaseField.html#setBox(com.lowagie.text.Rectangle)">setBox</A>, <A HREF="../../../../com/lowagie/text/pdf/BaseField.html#setFieldName(java.lang.String)">setFieldName</A>, <A HREF="../../../../com/lowagie/text/pdf/BaseField.html#setFont(com.lowagie.text.pdf.BaseFont)">setFont</A>, <A HREF="../../../../com/lowagie/text/pdf/BaseField.html#setFontSize(float)">setFontSize</A>, <A HREF="../../../../com/lowagie/text/pdf/BaseField.html#setMaxCharacterLength(int)">setMaxCharacterLength</A>, <A HREF="../../../../com/lowagie/text/pdf/BaseField.html#setOptions(int)">setOptions</A>, <A HREF="../../../../com/lowagie/text/pdf/BaseField.html#setRotation(int)">setRotation</A>, <A HREF="../../../../com/lowagie/text/pdf/BaseField.html#setRotationFromPage(com.lowagie.text.Rectangle)">setRotationFromPage</A>, <A HREF="../../../../com/lowagie/text/pdf/BaseField.html#setText(java.lang.String)">setText</A>, <A HREF="../../../../com/lowagie/text/pdf/BaseField.html#setTextColor(java.awt.Color)">setTextColor</A>, <A HREF="../../../../com/lowagie/text/pdf/BaseField.html#setVisibility(int)">setVisibility</A>, <A HREF="../../../../com/lowagie/text/pdf/BaseField.html#setWriter(com.lowagie.text.pdf.PdfWriter)">setWriter</A>, <A HREF="../../../../com/lowagie/text/pdf/BaseField.html#trimRight(java.lang.StringBuffer)">trimRight</A></CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD></TR></TABLE> <P><!-- ============ FIELD DETAIL =========== --><A NAME="field_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Field Detail</B></FONT></TH></TR></TABLE><A NAME="TYPE_CHECK"><!-- --></A><H3>TYPE_CHECK</H3><PRE>public static final int <B>TYPE_CHECK</B></PRE><DL><DD>A field with the symbol check<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.lowagie.text.pdf.RadioCheckField.TYPE_CHECK">Constant Field Values</A></DL></DL><HR><A NAME="TYPE_CIRCLE"><!-- --></A><H3>TYPE_CIRCLE</H3><PRE>public static final int <B>TYPE_CIRCLE</B></PRE><DL><DD>A field with the symbol circle<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.lowagie.text.pdf.RadioCheckField.TYPE_CIRCLE">Constant Field Values</A></DL></DL><HR><A NAME="TYPE_CROSS"><!-- --></A><H3>TYPE_CROSS</H3><PRE>public static final int <B>TYPE_CROSS</B></PRE><DL><DD>A field with the symbol cross<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.lowagie.text.pdf.RadioCheckField.TYPE_CROSS">Constant Field Values</A></DL></DL><HR><A NAME="TYPE_DIAMOND"><!-- --></A><H3>TYPE_DIAMOND</H3><PRE>public static final int <B>TYPE_DIAMOND</B></PRE><DL><DD>A field with the symbol diamond<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.lowagie.text.pdf.RadioCheckField.TYPE_DIAMOND">Constant Field Values</A></DL></DL><HR><A NAME="TYPE_SQUARE"><!-- --></A><H3>TYPE_SQUARE</H3><PRE>public static final int <B>TYPE_SQUARE</B></PRE><DL><DD>A field with the symbol square<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.lowagie.text.pdf.RadioCheckField.TYPE_SQUARE">Constant Field Values</A></DL></DL><HR><A NAME="TYPE_STAR"><!-- --></A><H3>TYPE_STAR</H3><PRE>public static final int <B>TYPE_STAR</B></PRE><DL><DD>A field with the symbol star<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.lowagie.text.pdf.RadioCheckField.TYPE_STAR">Constant Field Values</A></DL></DL><HR><A NAME="typeChars"><!-- --></A><H3>typeChars</H3><PRE>private static <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>[] <B>typeChars</B></PRE><DL><DL></DL></DL><HR><A NAME="checkType"><!-- --></A><H3>checkType</H3><PRE>private int <B>checkType</B></PRE><DL><DD>Holds value of property checkType.<P><DL></DL></DL><HR><A NAME="onValue"><!-- --></A><H3>onValue</H3><PRE>private <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>onValue</B></PRE><DL><DD>Holds value of property onValue.<P><DL></DL></DL><HR><A NAME="checked"><!-- --></A><H3>checked</H3><PRE>private boolean <B>checked</B></PRE><DL><DD>Holds value of property checked.<P><DL></DL></DL><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TH></TR></TABLE><A NAME="RadioCheckField(com.lowagie.text.pdf.PdfWriter, com.lowagie.text.Rectangle, java.lang.String, java.lang.String)"><!-- --></A><H3>RadioCheckField</H3><PRE>public <B>RadioCheckField</B>(<A HREF="../../../../com/lowagie/text/pdf/PdfWriter.html" title="class in com.lowagie.text.pdf">PdfWriter</A> writer, <A HREF="../../../../com/lowagie/text/Rectangle.html" title="class in com.lowagie.text">Rectangle</A> box, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> fieldName, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> onValue)</PRE><DL><DD>Creates a new instance of RadioCheckField<P><DL><DT><B>Parameters:</B><DD><CODE>writer</CODE> - the document <CODE>PdfWriter</CODE><DD><CODE>box</CODE> - the field location and dimensions<DD><CODE>fieldName</CODE> - the field name. It must not be <CODE>null</CODE><DD><CODE>onValue</CODE> - the value when the field is checked</DL></DL><!-- ============ METHOD DETAIL ========== -->
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -