⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pushbuttonfield.html

📁 IText PDF开发工具说明文档,使用很方便。
💻 HTML
📖 第 1 页 / 共 4 页
字号:
<A NAME="setTemplate(com.lowagie.text.pdf.PdfTemplate)"><!-- --></A><H3>setTemplate</H3><PRE>public void <B>setTemplate</B>(<A HREF="../../../../com/lowagie/text/pdf/PdfTemplate.html" title="class in com.lowagie.text.pdf">PdfTemplate</A>&nbsp;template)</PRE><DL><DD>Sets the icon as a template.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>template</CODE> - the template</DL></DD></DL><HR><A NAME="getScaleIcon()"><!-- --></A><H3>getScaleIcon</H3><PRE>public int <B>getScaleIcon</B>()</PRE><DL><DD>Getter for property scaleIcon.<P><DD><DL><DT><B>Returns:</B><DD>Value of property scaleIcon.</DL></DD></DL><HR><A NAME="setScaleIcon(int)"><!-- --></A><H3>setScaleIcon</H3><PRE>public void <B>setScaleIcon</B>(int&nbsp;scaleIcon)</PRE><DL><DD>Sets the way the icon will be scaled. Possible values are <CODE>SCALE_ICON_ALWAYS</CODE>, <CODE>SCALE_ICON_NEVER</CODE>, <CODE>SCALE_ICON_IS_TOO_BIG</CODE> and <CODE>SCALE_ICON_IS_TOO_SMALL</CODE>. The default is <CODE>SCALE_ICON_ALWAYS</CODE>.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>scaleIcon</CODE> - the way the icon will be scaled</DL></DD></DL><HR><A NAME="isProportionalIcon()"><!-- --></A><H3>isProportionalIcon</H3><PRE>public boolean <B>isProportionalIcon</B>()</PRE><DL><DD>Getter for property proportionalIcon.<P><DD><DL><DT><B>Returns:</B><DD>Value of property proportionalIcon.</DL></DD></DL><HR><A NAME="setProportionalIcon(boolean)"><!-- --></A><H3>setProportionalIcon</H3><PRE>public void <B>setProportionalIcon</B>(boolean&nbsp;proportionalIcon)</PRE><DL><DD>Sets the way the icon is scaled. If <CODE>true</CODE> the icon is scaled proportionally, if <CODE>false</CODE> the scaling is done anamorphicaly.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>proportionalIcon</CODE> - the way the icon is scaled</DL></DD></DL><HR><A NAME="getIconVerticalAdjustment()"><!-- --></A><H3>getIconVerticalAdjustment</H3><PRE>public float <B>getIconVerticalAdjustment</B>()</PRE><DL><DD>Getter for property iconVerticalAdjustment.<P><DD><DL><DT><B>Returns:</B><DD>Value of property iconVerticalAdjustment.</DL></DD></DL><HR><A NAME="setIconVerticalAdjustment(float)"><!-- --></A><H3>setIconVerticalAdjustment</H3><PRE>public void <B>setIconVerticalAdjustment</B>(float&nbsp;iconVerticalAdjustment)</PRE><DL><DD>A number between 0 and 1 indicating the fraction of leftover space to allocate at the bottom of the icon. A value of 0 positions the icon at the bottom of the annotation rectangle. A value of 0.5 centers it within the rectangle. The default is 0.5.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>iconVerticalAdjustment</CODE> - a number between 0 and 1 indicating the fraction of leftover space to allocate at the bottom of the icon</DL></DD></DL><HR><A NAME="getIconHorizontalAdjustment()"><!-- --></A><H3>getIconHorizontalAdjustment</H3><PRE>public float <B>getIconHorizontalAdjustment</B>()</PRE><DL><DD>Getter for property iconHorizontalAdjustment.<P><DD><DL><DT><B>Returns:</B><DD>Value of property iconHorizontalAdjustment.</DL></DD></DL><HR><A NAME="setIconHorizontalAdjustment(float)"><!-- --></A><H3>setIconHorizontalAdjustment</H3><PRE>public void <B>setIconHorizontalAdjustment</B>(float&nbsp;iconHorizontalAdjustment)</PRE><DL><DD>A number between 0 and 1 indicating the fraction of leftover space to allocate at the left of the icon. A value of 0 positions the icon at the left of the annotation rectangle. A value of 0.5 centers it within the rectangle. The default is 0.5.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>iconHorizontalAdjustment</CODE> - a number between 0 and 1 indicating the fraction of leftover space to allocate at the left of the icon</DL></DD></DL><HR><A NAME="calculateFontSize(float, float)"><!-- --></A><H3>calculateFontSize</H3><PRE>private float <B>calculateFontSize</B>(float&nbsp;w,                                float&nbsp;h)                         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><DL><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><DD><CODE><A HREF="../../../../com/lowagie/text/DocumentException.html" title="class in com.lowagie.text">DocumentException</A></CODE></DL></DD></DL><HR><A NAME="getAppearance()"><!-- --></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>()                            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 button appearance.<P><DD><DL><DT><B>Returns:</B><DD>the button 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="getField()"><!-- --></A><H3>getField</H3><PRE>public <A HREF="../../../../com/lowagie/text/pdf/PdfFormField.html" title="class in com.lowagie.text.pdf">PdfFormField</A> <B>getField</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 pushbutton field.<P><DD><DL><DT><B>Returns:</B><DD>the pushbutton 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="isIconFitToBounds()"><!-- --></A><H3>isIconFitToBounds</H3><PRE>public boolean <B>isIconFitToBounds</B>()</PRE><DL><DD>Getter for property iconFitToBounds.<P><DD><DL><DT><B>Returns:</B><DD>Value of property iconFitToBounds.</DL></DD></DL><HR><A NAME="setIconFitToBounds(boolean)"><!-- --></A><H3>setIconFitToBounds</H3><PRE>public void <B>setIconFitToBounds</B>(boolean&nbsp;iconFitToBounds)</PRE><DL><DD>If <CODE>true</CODE> the icon will be scaled to fit fully within the bounds of the annotation, if <CODE>false</CODE> the border width will be taken into account. The default is <CODE>false</CODE>.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>iconFitToBounds</CODE> - if <CODE>true</CODE> the icon will be scaled to fit fully within the bounds of the annotation, if <CODE>false</CODE> the border width will be taken into account</DL></DD></DL><HR><A NAME="getIconReference()"><!-- --></A><H3>getIconReference</H3><PRE>public <A HREF="../../../../com/lowagie/text/pdf/PRIndirectReference.html" title="class in com.lowagie.text.pdf">PRIndirectReference</A> <B>getIconReference</B>()</PRE><DL><DD>Gets the reference to an existing icon.<P><DD><DL><DT><B>Returns:</B><DD>the reference to an existing icon.</DL></DD></DL><HR><A NAME="setIconReference(com.lowagie.text.pdf.PRIndirectReference)"><!-- --></A><H3>setIconReference</H3><PRE>public void <B>setIconReference</B>(<A HREF="../../../../com/lowagie/text/pdf/PRIndirectReference.html" title="class in com.lowagie.text.pdf">PRIndirectReference</A>&nbsp;iconReference)</PRE><DL><DD>Sets the reference to an existing icon.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>iconReference</CODE> - the reference to an existing icon</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>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</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">&nbsp;<A HREF="../../../../com/lowagie/text/pdf/PRTokeniser.html" title="class in com.lowagie.text.pdf"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../../com/lowagie/text/pdf/RadioCheckField.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/PushbuttonField.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="PushbuttonField.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;&nbsp;<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:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<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 + -