📄 annotation.html
字号:
</DL>
</DL>
<HR>
<A NAME="URY"><!-- --></A><H3>
URY</H3>
<PRE>
public static <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A> <B>URY</B></PRE>
<DL>
<DD>This is a possible attribute.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="annotationtype"><!-- --></A><H3>
annotationtype</H3>
<PRE>
protected int <B>annotationtype</B></PRE>
<DL>
<DD>This is the type of annotation.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="annotationAttributes"><!-- --></A><H3>
annotationAttributes</H3>
<PRE>
protected <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/util/HashMap.html">HashMap</A> <B>annotationAttributes</B></PRE>
<DL>
<DD>This is the title of the <CODE>Annotation</CODE>.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="markupAttributes"><!-- --></A><H3>
markupAttributes</H3>
<PRE>
protected <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/util/Properties.html">Properties</A> <B>markupAttributes</B></PRE>
<DL>
<DD>Contains extra markupAttributes
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="llx"><!-- --></A><H3>
llx</H3>
<PRE>
protected float <B>llx</B></PRE>
<DL>
<DD>This is the lower left x-value
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="lly"><!-- --></A><H3>
lly</H3>
<PRE>
protected float <B>lly</B></PRE>
<DL>
<DD>This is the lower left y-value
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="urx"><!-- --></A><H3>
urx</H3>
<PRE>
protected float <B>urx</B></PRE>
<DL>
<DD>This is the upper right x-value
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="ury"><!-- --></A><H3>
ury</H3>
<PRE>
protected float <B>ury</B></PRE>
<DL>
<DD>This is the upper right y-value
<P>
<DL>
</DL>
</DL>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="Annotation(float, float, float, float)"><!-- --></A><H3>
Annotation</H3>
<PRE>
private <B>Annotation</B>(float llx, float lly, float urx, float ury)</PRE>
<DL>
<DD>Constructs an <CODE>Annotation</CODE> with a certain title and some text.
<P>
</DL>
<HR>
<A NAME="Annotation(java.lang.String, java.lang.String)"><!-- --></A><H3>
Annotation</H3>
<PRE>
public <B>Annotation</B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A> title, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A> text)</PRE>
<DL>
<DD>Constructs an <CODE>Annotation</CODE> with a certain title and some text.
<P>
<DT><B>Parameters:</B><DD><CODE>title</CODE> - the title of the annotation<DD><CODE>text</CODE> - the content of the annotation</DL>
<HR>
<A NAME="Annotation(java.lang.String, java.lang.String, float, float, float, float)"><!-- --></A><H3>
Annotation</H3>
<PRE>
public <B>Annotation</B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A> title, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A> text, float llx, float lly, float urx, float ury)</PRE>
<DL>
<DD>Constructs an <CODE>Annotation</CODE> with a certain title and some text.
<P>
<DT><B>Parameters:</B><DD><CODE>title</CODE> - the title of the annotation<DD><CODE>text</CODE> - the content of the annotation<DD><CODE>llx</CODE> - the lower left x-value<DD><CODE>lly</CODE> - the lower left y-value<DD><CODE>urx</CODE> - the upper right x-value<DD><CODE>ury</CODE> - the upper right y-value</DL>
<HR>
<A NAME="Annotation(float, float, float, float, java.net.URL)"><!-- --></A><H3>
Annotation</H3>
<PRE>
public <B>Annotation</B>(float llx, float lly, float urx, float ury, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/net/URL.html">URL</A> url)</PRE>
<DL>
<DD>Constructs an <CODE>Annotation</CODE>.
<P>
<DT><B>Parameters:</B><DD><CODE>llx</CODE> - the lower left x-value<DD><CODE>lly</CODE> - the lower left y-value<DD><CODE>urx</CODE> - the upper right x-value<DD><CODE>ury</CODE> - the upper right y-value<DD><CODE>url</CODE> - the external reference</DL>
<HR>
<A NAME="Annotation(float, float, float, float, java.lang.String)"><!-- --></A><H3>
Annotation</H3>
<PRE>
public <B>Annotation</B>(float llx, float lly, float urx, float ury, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A> url)</PRE>
<DL>
<DD>Constructs an <CODE>Annotation</CODE>.
<P>
<DT><B>Parameters:</B><DD><CODE>llx</CODE> - the lower left x-value<DD><CODE>lly</CODE> - the lower left y-value<DD><CODE>urx</CODE> - the upper right x-value<DD><CODE>ury</CODE> - the upper right y-value<DD><CODE>url</CODE> - the external reference</DL>
<HR>
<A NAME="Annotation(float, float, float, float, java.lang.String, java.lang.String)"><!-- --></A><H3>
Annotation</H3>
<PRE>
public <B>Annotation</B>(float llx, float lly, float urx, float ury, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A> file, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A> dest)</PRE>
<DL>
<DD>Constructs an <CODE>Annotation</CODE>.
<P>
<DT><B>Parameters:</B><DD><CODE>llx</CODE> - the lower left x-value<DD><CODE>lly</CODE> - the lower left y-value<DD><CODE>urx</CODE> - the upper right x-value<DD><CODE>ury</CODE> - the upper right y-value<DD><CODE>file</CODE> - an external PDF file<DD><CODE>dest</CODE> - the destination in this file</DL>
<HR>
<A NAME="Annotation(float, float, float, float, java.lang.String, int)"><!-- --></A><H3>
Annotation</H3>
<PRE>
public <B>Annotation</B>(float llx, float lly, float urx, float ury, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A> file, int page)</PRE>
<DL>
<DD>Constructs an <CODE>Annotation</CODE>.
<P>
<DT><B>Parameters:</B><DD><CODE>llx</CODE> - the lower left x-value<DD><CODE>lly</CODE> - the lower left y-value<DD><CODE>urx</CODE> - the upper right x-value<DD><CODE>ury</CODE> - the upper right y-value<DD><CODE>file</CODE> - an external PDF file<DD><CODE>page</CODE> - a page number in this file</DL>
<HR>
<A NAME="Annotation(float, float, float, float, int)"><!-- --></A><H3>
Annotation</H3>
<PRE>
public <B>Annotation</B>(float llx, float lly, float urx, float ury, int named)</PRE>
<DL>
<DD>Constructs an <CODE>Annotation</CODE>.
<P>
<DT><B>Parameters:</B><DD><CODE>llx</CODE> - the lower left x-value<DD><CODE>lly</CODE> - the lower left y-value<DD><CODE>urx</CODE> - the upper right x-value<DD><CODE>ury</CODE> - the upper right y-value<DD><CODE>named</CODE> - a named destination in this file</DL>
<HR>
<A NAME="Annotation(float, float, float, float, java.lang.String, java.lang.String, java.lang.String, java.lang.String)"><!-- --></A><H3>
Annotation</H3>
<PRE>
public <B>Annotation</B>(float llx, float lly, float urx, float ury, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A> application, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A> parameters, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A> operation, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A> defaultdir)</PRE>
<DL>
<DD>Constructs an <CODE>Annotation</CODE>.
<P>
<DT><B>Parameters:</B><DD><CODE>llx</CODE> - the lower left x-value<DD><CODE>lly</CODE> - the lower left y-value<DD><CODE>urx</CODE> - the upper right x-value<DD><CODE>ury</CODE> - the upper right y-value<DD><CODE>application</CODE> - an external application<DD><CODE>parameters</CODE> - parameters to pass to this application<DD><CODE>operation</CODE> - the operation to pass to this application<DD><CODE>defaultdir</CODE> - the default directory to run this application in</DL>
<HR>
<A NAME="Annotation(java.util.Properties)"><!-- --></A><H3>
Annotation</H3>
<PRE>
public <B>Annotation</B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/util/Properties.html">Properties</A> attributes)</PRE>
<DL>
<DD>Returns an <CODE>Annotation</CODE> that has been constructed taking in account the value of some <VAR>attributes</VAR>.
<P>
<DT><B>Parameters:</B><DD><CODE>attributes</CODE> - Some attributes</DL>
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Method Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="type()"><!-- --></A><H3>
type</H3>
<PRE>
public int <B>type</B>()</PRE>
<DL>
<DD>Gets the type of the text element.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../com/lowagie/text/Element.html#type()">type</A></CODE> in interface <CODE><A HREF="../../../com/lowagie/text/Element.html">Element</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>a type</DL>
</DD>
</DL>
<HR>
<A NAME="process(com.lowagie.text.ElementListener)"><!-- --></A><H3>
process</H3>
<PRE>
public boolean <B>process</B>(<A HREF="../../../com/lowagie/text/ElementListener.html">ElementListener</A> listener)</PRE>
<DL>
<DD>Processes the element by adding it (or the different parts) to an <CODE>ElementListener</CODE>.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../com/lowagie/text/Element.html#process(com.lowagie.text.ElementListener)">process</A></CODE> in interface <CODE><A HREF="../../../com/lowagie/text/Element.html">Element</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>listener</CODE> - an <CODE>ElementListener</CODE><DT><B>Returns:</B><DD><CODE>true</CODE> if the element was processed successfully</DL>
</DD>
</DL>
<HR>
<A NAME="getChunks()"><!-- --></A><H3>
getChunks</H3>
<PRE>
public <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/util/ArrayList.html">ArrayList</A> <B>getChunks</B>()</PRE>
<DL>
<DD>Gets all the chunks in this element.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../com/lowagie/text/Element.html#getChunks()">getChunks</A></CODE> in interface <CODE><A HREF="../../../com/lowagie/text/Element.html">Element</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>an <CODE>ArrayList</CODE></DL>
</DD>
</DL>
<HR>
<A NAME="setDimensions(float, float, float, float)"><!-- --></A><H3>
setDimensions</H3>
<PRE>
public void <B>setDimensions</B>(float llx, float lly, float urx, float ury)</PRE>
<DL>
<DD>Sets the dimensions of this annotation.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -