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

📄 basefield.html

📁 IText PDF开发工具说明文档,使用很方便。
💻 HTML
📖 第 1 页 / 共 5 页
字号:
borderColor</H3><PRE>protected <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Color.html?is-external=true" title="class or interface in java.awt">Color</A> <B>borderColor</B></PRE><DL><DL></DL></DL><HR><A NAME="backgroundColor"><!-- --></A><H3>backgroundColor</H3><PRE>protected <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Color.html?is-external=true" title="class or interface in java.awt">Color</A> <B>backgroundColor</B></PRE><DL><DL></DL></DL><HR><A NAME="textColor"><!-- --></A><H3>textColor</H3><PRE>protected <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Color.html?is-external=true" title="class or interface in java.awt">Color</A> <B>textColor</B></PRE><DL><DL></DL></DL><HR><A NAME="font"><!-- --></A><H3>font</H3><PRE>protected <A HREF="../../../../com/lowagie/text/pdf/BaseFont.html" title="class in com.lowagie.text.pdf">BaseFont</A> <B>font</B></PRE><DL><DL></DL></DL><HR><A NAME="fontSize"><!-- --></A><H3>fontSize</H3><PRE>protected float <B>fontSize</B></PRE><DL><DL></DL></DL><HR><A NAME="alignment"><!-- --></A><H3>alignment</H3><PRE>protected int <B>alignment</B></PRE><DL><DL></DL></DL><HR><A NAME="writer"><!-- --></A><H3>writer</H3><PRE>protected <A HREF="../../../../com/lowagie/text/pdf/PdfWriter.html" title="class in com.lowagie.text.pdf">PdfWriter</A> <B>writer</B></PRE><DL><DL></DL></DL><HR><A NAME="text"><!-- --></A><H3>text</H3><PRE>protected <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>text</B></PRE><DL><DL></DL></DL><HR><A NAME="box"><!-- --></A><H3>box</H3><PRE>protected <A HREF="../../../../com/lowagie/text/Rectangle.html" title="class in com.lowagie.text">Rectangle</A> <B>box</B></PRE><DL><DL></DL></DL><HR><A NAME="rotation"><!-- --></A><H3>rotation</H3><PRE>protected int <B>rotation</B></PRE><DL><DD>Holds value of property rotation.<P><DL></DL></DL><HR><A NAME="visibility"><!-- --></A><H3>visibility</H3><PRE>protected int <B>visibility</B></PRE><DL><DD>Holds value of property visibility.<P><DL></DL></DL><HR><A NAME="fieldName"><!-- --></A><H3>fieldName</H3><PRE>protected <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>fieldName</B></PRE><DL><DD>Holds value of property fieldName.<P><DL></DL></DL><HR><A NAME="options"><!-- --></A><H3>options</H3><PRE>protected int <B>options</B></PRE><DL><DD>Holds value of property options.<P><DL></DL></DL><HR><A NAME="maxCharacterLength"><!-- --></A><H3>maxCharacterLength</H3><PRE>protected int <B>maxCharacterLength</B></PRE><DL><DD>Holds value of property maxCharacterLength.<P><DL></DL></DL><HR><A NAME="fieldKeys"><!-- --></A><H3>fieldKeys</H3><PRE>private static final <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/HashMap.html?is-external=true" title="class or interface in java.util">HashMap</A> <B>fieldKeys</B></PRE><DL><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="BaseField(com.lowagie.text.pdf.PdfWriter, com.lowagie.text.Rectangle, java.lang.String)"><!-- --></A><H3>BaseField</H3><PRE>public <B>BaseField</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 <CODE>TextField</CODE>.<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="getRealFont()"><!-- --></A><H3>getRealFont</H3><PRE>protected <A HREF="../../../../com/lowagie/text/pdf/BaseFont.html" title="class in com.lowagie.text.pdf">BaseFont</A> <B>getRealFont</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><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="getBorderAppearance()"><!-- --></A><H3>getBorderAppearance</H3><PRE>protected <A HREF="../../../../com/lowagie/text/pdf/PdfAppearance.html" title="class in com.lowagie.text.pdf">PdfAppearance</A> <B>getBorderAppearance</B>()</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="getHardBreaks(java.lang.String)"><!-- --></A><H3>getHardBreaks</H3><PRE>protected static <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</A> <B>getHardBreaks</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>&nbsp;text)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="trimRight(java.lang.StringBuffer)"><!-- --></A><H3>trimRight</H3><PRE>protected static void <B>trimRight</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/StringBuffer.html?is-external=true" title="class or interface in java.lang">StringBuffer</A>&nbsp;buf)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="breakLines(java.util.ArrayList, com.lowagie.text.pdf.BaseFont, float, float)"><!-- --></A><H3>breakLines</H3><PRE>protected static <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</A> <B>breakLines</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</A>&nbsp;breaks,                                      <A HREF="../../../../com/lowagie/text/pdf/BaseFont.html" title="class in com.lowagie.text.pdf">BaseFont</A>&nbsp;font,                                      float&nbsp;fontSize,                                      float&nbsp;width)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="drawTopFrame(com.lowagie.text.pdf.PdfAppearance)"><!-- --></A><H3>drawTopFrame</H3><PRE>private void <B>drawTopFrame</B>(<A HREF="../../../../com/lowagie/text/pdf/PdfAppearance.html" title="class in com.lowagie.text.pdf">PdfAppearance</A>&nbsp;app)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="drawBottomFrame(com.lowagie.text.pdf.PdfAppearance)"><!-- --></A><H3>drawBottomFrame</H3><PRE>private void <B>drawBottomFrame</B>(<A HREF="../../../../com/lowagie/text/pdf/PdfAppearance.html" title="class in com.lowagie.text.pdf">PdfAppearance</A>&nbsp;app)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="getBorderWidth()"><!-- --></A><H3>getBorderWidth</H3><PRE>public float <B>getBorderWidth</B>()</PRE><DL><DD>Gets the border width in points.<P><DD><DL><DT><B>Returns:</B><DD>the border width in points</DL></DD></DL><HR><A NAME="setBorderWidth(float)"><!-- --></A><H3>setBorderWidth</H3><PRE>public void <B>setBorderWidth</B>(float&nbsp;borderWidth)</PRE><DL><DD>Sets the border width in points. To eliminate the border set the border color to <CODE>null</CODE>.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>borderWidth</CODE> - the border width in points</DL></DD></DL><HR><A NAME="getBorderStyle()"><!-- --></A><H3>getBorderStyle</H3><PRE>public int <B>getBorderStyle</B>()</PRE><DL><DD>Gets the border style.<P><DD><DL><DT><B>Returns:</B><DD>the border style</DL></DD></DL><HR><A NAME="setBorderStyle(int)"><!-- --></A><H3>setBorderStyle</H3><PRE>public void <B>setBorderStyle</B>(int&nbsp;borderStyle)</PRE><DL><DD>Sets the border style. The styles are found in <CODE>PdfBorderDictionary</CODE> and can be <CODE>STYLE_SOLID</CODE>, <CODE>STYLE_DASHED</CODE>, <CODE>STYLE_BEVELED</CODE>, <CODE>STYLE_INSET</CODE> and <CODE>STYLE_UNDERLINE</CODE>.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>borderStyle</CODE> - the border style</DL></DD></DL><HR>

⌨️ 快捷键说明

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