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

📄 pushbuttonfield.html

📁 IText PDF开发工具说明文档,使用很方便。
💻 HTML
📖 第 1 页 / 共 4 页
字号:
<DL><DD>A layout option<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.lowagie.text.pdf.PushbuttonField.LAYOUT_ICON_LEFT_LABEL_RIGHT">Constant Field Values</A></DL></DL><HR><A NAME="LAYOUT_LABEL_LEFT_ICON_RIGHT"><!-- --></A><H3>LAYOUT_LABEL_LEFT_ICON_RIGHT</H3><PRE>public static final int <B>LAYOUT_LABEL_LEFT_ICON_RIGHT</B></PRE><DL><DD>A layout option<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.lowagie.text.pdf.PushbuttonField.LAYOUT_LABEL_LEFT_ICON_RIGHT">Constant Field Values</A></DL></DL><HR><A NAME="LAYOUT_LABEL_OVER_ICON"><!-- --></A><H3>LAYOUT_LABEL_OVER_ICON</H3><PRE>public static final int <B>LAYOUT_LABEL_OVER_ICON</B></PRE><DL><DD>A layout option<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.lowagie.text.pdf.PushbuttonField.LAYOUT_LABEL_OVER_ICON">Constant Field Values</A></DL></DL><HR><A NAME="SCALE_ICON_ALWAYS"><!-- --></A><H3>SCALE_ICON_ALWAYS</H3><PRE>public static final int <B>SCALE_ICON_ALWAYS</B></PRE><DL><DD>An icon scaling option<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.lowagie.text.pdf.PushbuttonField.SCALE_ICON_ALWAYS">Constant Field Values</A></DL></DL><HR><A NAME="SCALE_ICON_NEVER"><!-- --></A><H3>SCALE_ICON_NEVER</H3><PRE>public static final int <B>SCALE_ICON_NEVER</B></PRE><DL><DD>An icon scaling option<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.lowagie.text.pdf.PushbuttonField.SCALE_ICON_NEVER">Constant Field Values</A></DL></DL><HR><A NAME="SCALE_ICON_IS_TOO_BIG"><!-- --></A><H3>SCALE_ICON_IS_TOO_BIG</H3><PRE>public static final int <B>SCALE_ICON_IS_TOO_BIG</B></PRE><DL><DD>An icon scaling option<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.lowagie.text.pdf.PushbuttonField.SCALE_ICON_IS_TOO_BIG">Constant Field Values</A></DL></DL><HR><A NAME="SCALE_ICON_IS_TOO_SMALL"><!-- --></A><H3>SCALE_ICON_IS_TOO_SMALL</H3><PRE>public static final int <B>SCALE_ICON_IS_TOO_SMALL</B></PRE><DL><DD>An icon scaling option<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.lowagie.text.pdf.PushbuttonField.SCALE_ICON_IS_TOO_SMALL">Constant Field Values</A></DL></DL><HR><A NAME="layout"><!-- --></A><H3>layout</H3><PRE>private int <B>layout</B></PRE><DL><DD>Holds value of property layout.<P><DL></DL></DL><HR><A NAME="image"><!-- --></A><H3>image</H3><PRE>private <A HREF="../../../../com/lowagie/text/Image.html" title="class in com.lowagie.text">Image</A> <B>image</B></PRE><DL><DD>Holds value of property image.<P><DL></DL></DL><HR><A NAME="template"><!-- --></A><H3>template</H3><PRE>private <A HREF="../../../../com/lowagie/text/pdf/PdfTemplate.html" title="class in com.lowagie.text.pdf">PdfTemplate</A> <B>template</B></PRE><DL><DD>Holds value of property template.<P><DL></DL></DL><HR><A NAME="scaleIcon"><!-- --></A><H3>scaleIcon</H3><PRE>private int <B>scaleIcon</B></PRE><DL><DD>Holds value of property scaleIcon.<P><DL></DL></DL><HR><A NAME="proportionalIcon"><!-- --></A><H3>proportionalIcon</H3><PRE>private boolean <B>proportionalIcon</B></PRE><DL><DD>Holds value of property proportionalIcon.<P><DL></DL></DL><HR><A NAME="iconVerticalAdjustment"><!-- --></A><H3>iconVerticalAdjustment</H3><PRE>private float <B>iconVerticalAdjustment</B></PRE><DL><DD>Holds value of property iconVerticalAdjustment.<P><DL></DL></DL><HR><A NAME="iconHorizontalAdjustment"><!-- --></A><H3>iconHorizontalAdjustment</H3><PRE>private float <B>iconHorizontalAdjustment</B></PRE><DL><DD>Holds value of property iconHorizontalAdjustment.<P><DL></DL></DL><HR><A NAME="iconFitToBounds"><!-- --></A><H3>iconFitToBounds</H3><PRE>private boolean <B>iconFitToBounds</B></PRE><DL><DD>Holds value of property iconFitToBounds.<P><DL></DL></DL><HR><A NAME="tp"><!-- --></A><H3>tp</H3><PRE>private <A HREF="../../../../com/lowagie/text/pdf/PdfTemplate.html" title="class in com.lowagie.text.pdf">PdfTemplate</A> <B>tp</B></PRE><DL><DL></DL></DL><HR><A NAME="iconReference"><!-- --></A><H3>iconReference</H3><PRE>private <A HREF="../../../../com/lowagie/text/pdf/PRIndirectReference.html" title="class in com.lowagie.text.pdf">PRIndirectReference</A> <B>iconReference</B></PRE><DL><DD>Holds value of property iconReference.<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="PushbuttonField(com.lowagie.text.pdf.PdfWriter, com.lowagie.text.Rectangle, java.lang.String)"><!-- --></A><H3>PushbuttonField</H3><PRE>public <B>PushbuttonField</B>(<A HREF="../../../../com/lowagie/text/pdf/PdfWriter.html" title="class in com.lowagie.text.pdf">PdfWriter</A>&nbsp;writer,                       <A HREF="../../../../com/lowagie/text/Rectangle.html" title="class in com.lowagie.text">Rectangle</A>&nbsp;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>&nbsp;fieldName)</PRE><DL><DD>Creates a new instance of PushbuttonField<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. If <CODE>null</CODE> only the widget keys will be included in the field allowing it to be used as a kid field.</DL></DL><!-- ============ METHOD DETAIL ========== --><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="getLayout()"><!-- --></A><H3>getLayout</H3><PRE>public int <B>getLayout</B>()</PRE><DL><DD>Getter for property layout.<P><DD><DL><DT><B>Returns:</B><DD>Value of property layout.</DL></DD></DL><HR><A NAME="setLayout(int)"><!-- --></A><H3>setLayout</H3><PRE>public void <B>setLayout</B>(int&nbsp;layout)</PRE><DL><DD>Sets the icon and label layout. Possible values are <CODE>LAYOUT_LABEL_ONLY</CODE>, <CODE>LAYOUT_ICON_ONLY</CODE>, <CODE>LAYOUT_ICON_TOP_LABEL_BOTTOM</CODE>, <CODE>LAYOUT_LABEL_TOP_ICON_BOTTOM</CODE>, <CODE>LAYOUT_ICON_LEFT_LABEL_RIGHT</CODE>, <CODE>LAYOUT_LABEL_LEFT_ICON_RIGHT</CODE> and <CODE>LAYOUT_LABEL_OVER_ICON</CODE>. The default is <CODE>LAYOUT_LABEL_ONLY</CODE>.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>layout</CODE> - New value of property layout.</DL></DD></DL><HR><A NAME="getImage()"><!-- --></A><H3>getImage</H3><PRE>public <A HREF="../../../../com/lowagie/text/Image.html" title="class in com.lowagie.text">Image</A> <B>getImage</B>()</PRE><DL><DD>Getter for property image.<P><DD><DL><DT><B>Returns:</B><DD>Value of property image.</DL></DD></DL><HR><A NAME="setImage(com.lowagie.text.Image)"><!-- --></A><H3>setImage</H3><PRE>public void <B>setImage</B>(<A HREF="../../../../com/lowagie/text/Image.html" title="class in com.lowagie.text">Image</A>&nbsp;image)</PRE><DL><DD>Sets the icon as an image.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>image</CODE> - the image</DL></DD></DL><HR><A NAME="getTemplate()"><!-- --></A><H3>getTemplate</H3><PRE>public <A HREF="../../../../com/lowagie/text/pdf/PdfTemplate.html" title="class in com.lowagie.text.pdf">PdfTemplate</A> <B>getTemplate</B>()</PRE><DL><DD>Getter for property template.<P><DD><DL><DT><B>Returns:</B><DD>Value of property template.</DL></DD></DL><HR>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -