?? barcodeean.html
字號:
</TABLE>
<!-- ========== METHOD SUMMARY =========== -->
<A NAME="method_summary"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Method Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/BarcodeEAN.html#calculateEANParity(java.lang.String)">calculateEANParity</A></B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A> code)</CODE>
<BR>
Calculates the EAN parity character.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/BarcodeEAN.html#convertUPCAtoUPCE(java.lang.String)">convertUPCAtoUPCE</A></B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A> text)</CODE>
<BR>
Converts an UPCA code into an UPCE code. </TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../../com/lowagie/text/Rectangle.html">Rectangle</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/BarcodeEAN.html#getBarcodeSize()">getBarcodeSize</A></B>()</CODE>
<BR>
Gets the maximum area that the barcode and the text, if any, will occupy. </TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static byte[]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/BarcodeEAN.html#getBarsEAN13(java.lang.String)">getBarsEAN13</A></B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A> _code)</CODE>
<BR>
Creates the bars for the barcode EAN13 and UPCA.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static byte[]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/BarcodeEAN.html#getBarsEAN8(java.lang.String)">getBarsEAN8</A></B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A> _code)</CODE>
<BR>
Creates the bars for the barcode EAN8.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static byte[]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/BarcodeEAN.html#getBarsSupplemental2(java.lang.String)">getBarsSupplemental2</A></B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A> _code)</CODE>
<BR>
Creates the bars for the barcode supplemental 2.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static byte[]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/BarcodeEAN.html#getBarsSupplemental5(java.lang.String)">getBarsSupplemental5</A></B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A> _code)</CODE>
<BR>
Creates the bars for the barcode supplemental 5.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static byte[]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/BarcodeEAN.html#getBarsUPCE(java.lang.String)">getBarsUPCE</A></B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A> _code)</CODE>
<BR>
Creates the bars for the barcode UPCE.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../../com/lowagie/text/Rectangle.html">Rectangle</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/BarcodeEAN.html#placeBarcode(com.lowagie.text.pdf.PdfContentByte, java.awt.Color, java.awt.Color)">placeBarcode</A></B>(<A HREF="../../../../com/lowagie/text/pdf/PdfContentByte.html">PdfContentByte</A> cb, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/awt/Color.html">Color</A> barColor, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/awt/Color.html">Color</A> textColor)</CODE>
<BR>
Places the barcode in a <CODE>PdfContentByte</CODE>. </TD>
</TR>
</TABLE>
<A NAME="methods_inherited_from_class_com.lowagie.text.pdf.Barcode"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Methods inherited from class com.lowagie.text.pdf.<A HREF="../../../../com/lowagie/text/pdf/Barcode.html">Barcode</A></B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../com/lowagie/text/pdf/Barcode.html#createImageWithBarcode(com.lowagie.text.pdf.PdfContentByte, java.awt.Color, java.awt.Color)">createImageWithBarcode</A>, <A HREF="../../../../com/lowagie/text/pdf/Barcode.html#createTemplateWithBarcode(com.lowagie.text.pdf.PdfContentByte, java.awt.Color, java.awt.Color)">createTemplateWithBarcode</A>, <A HREF="../../../../com/lowagie/text/pdf/Barcode.html#getBarHeight()">getBarHeight</A>, <A HREF="../../../../com/lowagie/text/pdf/Barcode.html#getBaseline()">getBaseline</A>, <A HREF="../../../../com/lowagie/text/pdf/Barcode.html#getCode()">getCode</A>, <A HREF="../../../../com/lowagie/text/pdf/Barcode.html#getCodeType()">getCodeType</A>, <A HREF="../../../../com/lowagie/text/pdf/Barcode.html#getFont()">getFont</A>, <A HREF="../../../../com/lowagie/text/pdf/Barcode.html#getN()">getN</A>, <A HREF="../../../../com/lowagie/text/pdf/Barcode.html#getSize()">getSize</A>, <A HREF="../../../../com/lowagie/text/pdf/Barcode.html#getTextAlignment()">getTextAlignment</A>, <A HREF="../../../../com/lowagie/text/pdf/Barcode.html#getX()">getX</A>, <A HREF="../../../../com/lowagie/text/pdf/Barcode.html#isChecksumText()">isChecksumText</A>, <A HREF="../../../../com/lowagie/text/pdf/Barcode.html#isExtended()">isExtended</A>, <A HREF="../../../../com/lowagie/text/pdf/Barcode.html#isGenerateChecksum()">isGenerateChecksum</A>, <A HREF="../../../../com/lowagie/text/pdf/Barcode.html#isGuardBars()">isGuardBars</A>, <A HREF="../../../../com/lowagie/text/pdf/Barcode.html#isStartStopText()">isStartStopText</A>, <A HREF="../../../../com/lowagie/text/pdf/Barcode.html#setBarHeight(float)">setBarHeight</A>, <A HREF="../../../../com/lowagie/text/pdf/Barcode.html#setBaseline(float)">setBaseline</A>, <A HREF="../../../../com/lowagie/text/pdf/Barcode.html#setChecksumText(boolean)">setChecksumText</A>, <A HREF="../../../../com/lowagie/text/pdf/Barcode.html#setCode(java.lang.String)">setCode</A>, <A HREF="../../../../com/lowagie/text/pdf/Barcode.html#setCodeType(int)">setCodeType</A>, <A HREF="../../../../com/lowagie/text/pdf/Barcode.html#setExtended(boolean)">setExtended</A>, <A HREF="../../../../com/lowagie/text/pdf/Barcode.html#setFont(com.lowagie.text.pdf.BaseFont)">setFont</A>, <A HREF="../../../../com/lowagie/text/pdf/Barcode.html#setGenerateChecksum(boolean)">setGenerateChecksum</A>, <A HREF="../../../../com/lowagie/text/pdf/Barcode.html#setGuardBars(boolean)">setGuardBars</A>, <A HREF="../../../../com/lowagie/text/pdf/Barcode.html#setN(float)">setN</A>, <A HREF="../../../../com/lowagie/text/pdf/Barcode.html#setSize(float)">setSize</A>, <A HREF="../../../../com/lowagie/text/pdf/Barcode.html#setStartStopText(boolean)">setStartStopText</A>, <A HREF="../../../../com/lowagie/text/pdf/Barcode.html#setTextAlignment(int)">setTextAlignment</A>, <A HREF="../../../../com/lowagie/text/pdf/Barcode.html#setX(float)">setX</A></CODE></TD>
</TR>
</TABLE>
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html">Object</A></B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html#clone()">clone</A>, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html#finalize()">finalize</A>, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html#getClass()">getClass</A>, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html#notify()">notify</A>, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html#toString()">toString</A>, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html#wait()">wait</A>, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html#wait(long)">wait</A>, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html#wait(long, int)">wait</A></CODE></TD>
</TR>
</TABLE>
<P>
<!-- ============ FIELD DETAIL =========== -->
<A NAME="field_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Field Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="GUARD_EMPTY"><!-- --></A><H3>
GUARD_EMPTY</H3>
<PRE>
static int[] <B>GUARD_EMPTY</B></PRE>
<DL>
<DD>The bar positions that are guard bars.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="GUARD_UPCA"><!-- --></A><H3>
GUARD_UPCA</H3>
<PRE>
static int[] <B>GUARD_UPCA</B></PRE>
<DL>
<DD>The bar positions that are guard bars.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="GUARD_EAN13"><!-- --></A><H3>
GUARD_EAN13</H3>
<PRE>
static int[] <B>GUARD_EAN13</B></PRE>
<DL>
<DD>The bar positions that are guard bars.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="GUARD_EAN8"><!-- --></A><H3>
GUARD_EAN8</H3>
<PRE>
static int[] <B>GUARD_EAN8</B></PRE>
<DL>
<DD>The bar positions that are guard bars.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="GUARD_UPCE"><!-- --></A><H3>
GUARD_UPCE</H3>
<PRE>
static int[] <B>GUARD_UPCE</B></PRE>
<DL>
<DD>The bar positions that are guard bars.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="TEXTPOS_EAN13"><!-- --></A><H3>
TEXTPOS_EAN13</H3>
<PRE>
static float[] <B>TEXTPOS_EAN13</B></PRE>
<DL>
<DD>The x coordinates to place the text.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="TEXTPOS_EAN8"><!-- --></A><H3>
TEXTPOS_EAN8</H3>
<PRE>
static float[] <B>TEXTPOS_EAN8</B></PRE>
<DL>
<DD>The x coordinates to place the text.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="BARS"><!-- --></A><H3>
BARS</H3>
<PRE>
static byte[][] <B>BARS</B></PRE>
<DL>
<DD>The basic bar widths.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="TOTALBARS_EAN13"><!-- --></A><H3>
TOTALBARS_EAN13</H3>
<PRE>
static final int <B>TOTALBARS_EAN13</B></PRE>
<DL>
<DD>The total number of bars for EAN13.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.lowagie.text.pdf.BarcodeEAN.TOTALBARS_EAN13">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="TOTALBARS_EAN8"><!-- --></A><H3>
TOTALBARS_EAN8</H3>
<PRE>
static final int <B>TOTALBARS_EAN8</B></PRE>
<DL>
<DD>The total number of bars for EAN8.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.lowagie.text.pdf.BarcodeEAN.TOTALBARS_EAN8">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="TOTALBARS_UPCE"><!-- --></A><H3>
TOTALBARS_UPCE</H3>
<PRE>
static final int <B>TOTALBARS_UPCE</B></PRE>
<DL>
<DD>The total number of bars for UPCE.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.lowagie.text.pdf.BarcodeEAN.TOTALBARS_UPCE">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="TOTALBARS_SUPP2"><!-- --></A><H3>
TOTALBARS_SUPP2</H3>
<PRE>
static final int <B>TOTALBARS_SUPP2</B></PRE>
<DL>
<DD>The total number of bars for supplemental 2.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.lowagie.text.pdf.BarcodeEAN.TOTALBARS_SUPP2">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="TOTALBARS_SUPP5"><!-- --></A><H3>
TOTALBARS_SUPP5</H3>
<PRE>
static final int <B>TOTALBARS_SUPP5</B></PRE>
<DL>
<DD>The total number of bars for supplemental 5.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.lowagie.text.pdf.BarcodeEAN.TOTALBARS_SUPP5">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="ODD"><!-- --></A><H3>
ODD</H3>
<PRE>
static final int <B>ODD</B></PRE>
<DL>
<DD>Marker for odd parity.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.lowagie.text.pdf.BarcodeEAN.ODD">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="EVEN"><!-- --></A><H3>
EVEN</H3>
<PRE>
static final int <B>EVEN</B></PRE>
<DL>
<DD>Marker for even parity.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.lowagie.text.pdf.BarcodeEAN.EVEN">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="PARITY13"><!-- --></A><H3>
PARITY13</H3>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -