📄 radiocheckfield.html
字号:
<A NAME="method_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>Method Detail</B></FONT></TH></TR></TABLE><A NAME="getCheckType()"><!-- --></A><H3>getCheckType</H3><PRE>public int <B>getCheckType</B>()</PRE><DL><DD>Getter for property checkType.<P><DD><DL><DT><B>Returns:</B><DD>Value of property checkType.</DL></DD></DL><HR><A NAME="setCheckType(int)"><!-- --></A><H3>setCheckType</H3><PRE>public void <B>setCheckType</B>(int checkType)</PRE><DL><DD>Sets the checked symbol. It can be <CODE>TYPE_CHECK</CODE>, <CODE>TYPE_CIRCLE</CODE>, <CODE>TYPE_CROSS</CODE>, <CODE>TYPE_DIAMOND</CODE>, <CODE>TYPE_SQUARE</CODE> and <CODE>TYPE_STAR</CODE>.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>checkType</CODE> - the checked symbol</DL></DD></DL><HR><A NAME="getOnValue()"><!-- --></A><H3>getOnValue</H3><PRE>public <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>getOnValue</B>()</PRE><DL><DD>Getter for property onValue.<P><DD><DL><DT><B>Returns:</B><DD>Value of property onValue.</DL></DD></DL><HR><A NAME="setOnValue(java.lang.String)"><!-- --></A><H3>setOnValue</H3><PRE>public void <B>setOnValue</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)</PRE><DL><DD>Sets the value when the field is checked.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>onValue</CODE> - the value when the field is checked</DL></DD></DL><HR><A NAME="isChecked()"><!-- --></A><H3>isChecked</H3><PRE>public boolean <B>isChecked</B>()</PRE><DL><DD>Getter for property checked.<P><DD><DL><DT><B>Returns:</B><DD>Value of property checked.</DL></DD></DL><HR><A NAME="setChecked(boolean)"><!-- --></A><H3>setChecked</H3><PRE>public void <B>setChecked</B>(boolean checked)</PRE><DL><DD>Sets the state of the field to checked or unchecked.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>checked</CODE> - the state of the field, <CODE>true</CODE> for checked and <CODE>false</CODE> for unchecked</DL></DD></DL><HR><A NAME="getAppearance(boolean, boolean)"><!-- --></A><H3>getAppearance</H3><PRE>public <A HREF="../../../../com/lowagie/text/pdf/PdfAppearance.html" title="class in com.lowagie.text.pdf">PdfAppearance</A> <B>getAppearance</B>(boolean isRadio, boolean on) throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A>, <A HREF="../../../../com/lowagie/text/DocumentException.html" title="class in com.lowagie.text">DocumentException</A></PRE><DL><DD>Gets the field appearance.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>isRadio</CODE> - <CODE>true</CODE> for a radio field and <CODE>false</CODE> for a check field<DD><CODE>on</CODE> - <CODE>true</CODE> for the checked state, <CODE>false</CODE> otherwise<DT><B>Returns:</B><DD>the appearance<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE> - on error<DD><CODE><A HREF="../../../../com/lowagie/text/DocumentException.html" title="class in com.lowagie.text">DocumentException</A></CODE> - on error</DL></DD></DL><HR><A NAME="getAppearanceRadioCircle(boolean)"><!-- --></A><H3>getAppearanceRadioCircle</H3><PRE>public <A HREF="../../../../com/lowagie/text/pdf/PdfAppearance.html" title="class in com.lowagie.text.pdf">PdfAppearance</A> <B>getAppearanceRadioCircle</B>(boolean on)</PRE><DL><DD>Gets the special field appearance for the radio circle.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>on</CODE> - <CODE>true</CODE> for the checked state, <CODE>false</CODE> otherwise<DT><B>Returns:</B><DD>the appearance</DL></DD></DL><HR><A NAME="getRadioGroup(boolean, boolean)"><!-- --></A><H3>getRadioGroup</H3><PRE>public <A HREF="../../../../com/lowagie/text/pdf/PdfFormField.html" title="class in com.lowagie.text.pdf">PdfFormField</A> <B>getRadioGroup</B>(boolean noToggleToOff, boolean radiosInUnison)</PRE><DL><DD>Gets a radio group. It's composed of the field specific keys, without the widget ones. This field is to be used as a field aggregator with <A HREF="../../../../com/lowagie/text/pdf/PdfFormField.html#addKid(com.lowagie.text.pdf.PdfFormField)"><CODE>addKid()</CODE></A>.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>noToggleToOff</CODE> - if <CODE>true</CODE>, exactly one radio button must be selected at all times; clicking the currently selected button has no effect. If <CODE>false</CODE>, clicking the selected button deselects it, leaving no button selected.<DD><CODE>radiosInUnison</CODE> - if <CODE>true</CODE>, a group of radio buttons within a radio button field that use the same value for the on state will turn on and off in unison; that is if one is checked, they are all checked. If <CODE>false</CODE>, the buttons are mutually exclusive (the same behavior as HTML radio buttons)<DT><B>Returns:</B><DD>the radio group</DL></DD></DL><HR><A NAME="getRadioField()"><!-- --></A><H3>getRadioField</H3><PRE>public <A HREF="../../../../com/lowagie/text/pdf/PdfFormField.html" title="class in com.lowagie.text.pdf">PdfFormField</A> <B>getRadioField</B>() throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A>, <A HREF="../../../../com/lowagie/text/DocumentException.html" title="class in com.lowagie.text">DocumentException</A></PRE><DL><DD>Gets the radio field. It's only composed of the widget keys and must be used with <A HREF="../../../../com/lowagie/text/pdf/RadioCheckField.html#getRadioGroup(boolean, boolean)"><CODE>getRadioGroup(boolean,boolean)</CODE></A>.<P><DD><DL><DT><B>Returns:</B><DD>the radio field<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE> - on error<DD><CODE><A HREF="../../../../com/lowagie/text/DocumentException.html" title="class in com.lowagie.text">DocumentException</A></CODE> - on error</DL></DD></DL><HR><A NAME="getCheckField()"><!-- --></A><H3>getCheckField</H3><PRE>public <A HREF="../../../../com/lowagie/text/pdf/PdfFormField.html" title="class in com.lowagie.text.pdf">PdfFormField</A> <B>getCheckField</B>() throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A>, <A HREF="../../../../com/lowagie/text/DocumentException.html" title="class in com.lowagie.text">DocumentException</A></PRE><DL><DD>Gets the check field.<P><DD><DL><DT><B>Returns:</B><DD>the check field<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE> - on error<DD><CODE><A HREF="../../../../com/lowagie/text/DocumentException.html" title="class in com.lowagie.text">DocumentException</A></CODE> - on error</DL></DD></DL><HR><A NAME="getField(boolean)"><!-- --></A><H3>getField</H3><PRE>protected <A HREF="../../../../com/lowagie/text/pdf/PdfFormField.html" title="class in com.lowagie.text.pdf">PdfFormField</A> <B>getField</B>(boolean isRadio) throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A>, <A HREF="../../../../com/lowagie/text/DocumentException.html" title="class in com.lowagie.text">DocumentException</A></PRE><DL><DD>Gets a radio or check field.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>isRadio</CODE> - <CODE>true</CODE> to get a radio field, <CODE>false</CODE> to get a check field<DT><B>Returns:</B><DD>the field<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE> - on error<DD><CODE><A HREF="../../../../com/lowagie/text/DocumentException.html" title="class in com.lowagie.text">DocumentException</A></CODE> - on error</DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ======= START OF BOTTOM NAVBAR ====== --><A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>Hosted by <a href="http://www.hostbasket.com/">Hostbasket</a></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../com/lowagie/text/pdf/PushbuttonField.html" title="class in com.lowagie.text.pdf"><B>PREV CLASS</B></A> <A HREF="../../../../com/lowagie/text/pdf/RandomAccessFileOrArray.html" title="class in com.lowagie.text.pdf"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html?com/lowagie/text/pdf/RadioCheckField.html" target="_top"><B>FRAMES</B></A> <A HREF="RadioCheckField.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--></SCRIPT><NOSCRIPT> <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -