|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.awt.Component | +dsx.JBarCodePro1.BarCodeBean
Field Summary | |
static int |
ALIGNCENTER
|
static int |
ALIGNLEFT
|
static int |
ALIGNRIGHT
|
static int |
BAR11
|
static int |
BAR128
|
static int |
BARIN25
|
static int |
BAR39
|
static int |
BAR93
|
static int |
BAREAN128
|
static int |
BAREAN13
|
static int |
BAREAN8
|
static int |
BARHIBCEAN128
|
static int |
BARHIBCIN25
|
static int |
BARHIBCLIC128
|
static int |
BARHIBCLIC39
|
static int |
BARJAN13
|
static int |
BARJAN8
|
static int |
BarMSI
|
static int |
BARUPCA
|
static int |
BARUPCE
|
static int |
BORDERNBROKENLINE
|
static int |
BORDERNONE
|
static int |
BORDERNSOLIDLINE
|
static int |
BORDERWBROKENLINE
|
static int |
BORDERWSOLIDLINE
|
static int |
CODABAR
|
static int |
CODE128A
|
static int |
CODE128AUTO
|
static int |
CODE128B
|
static int |
CODE128C
|
static int |
EXTBAR39
|
protected int |
m_Symbol
|
static int |
ORIENT0
|
static int |
ORIENT90
|
static int |
ORIENT180
|
static int |
ORIENT270
|
Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT,
CENTER_ALIGNMENT,
LEFT_ALIGNMENT,
RIGHT_ALIGNMENT,
TOP_ALIGNMENT |
Constructor Summary | |
BarCodeBean()
Creates new BarCodeBean |
Method Summary | |
void |
addPropertyChangeListener(java.beans.PropertyChangeListener listener)
|
java.awt.Color |
getBackground()
|
int |
getBar128Type()
|
boolean |
getBarBearerMode()
|
int |
getBarBorderStyle()
|
java.lang.String |
getBarBottomComment()
|
java.awt.Font |
getBarBottomCommentFont()
|
boolean |
getBarCheckEnable()
|
int |
getBarCommentAlignStyle()
|
short |
getBarHeight()
|
boolean |
getBarHRDisplay()
|
java.awt.Font |
getBarHRFont()
|
java.lang.String |
getBarMessage()
|
short |
getBarNarrowWidth()
|
short |
getBarOrientation()
|
short |
getBarQuietZone()
|
float |
getBarRatio()
|
java.lang.String |
getBarSupplement()
|
int |
getBarSymbology()
|
java.lang.String |
getBarTopComment()
|
java.awt.Font |
getBarTopCommentFont()
|
boolean |
getBarTransparent()
|
java.awt.Color |
getForeground()
|
java.awt.Dimension |
getPreferredSize()
|
boolean |
IsOpaque()
|
void |
paint(java.awt.Graphics g)
|
protected void |
paintBar(java.awt.Graphics g,Point ptLeftTop)
|
boolean |
putPngImageToFile(java.lang.String sFileName)
|
boolean |
putPngImageToStream(java.io.OutputStream os)
|
void |
removePropertyChangeListener(java.beans.PropertyChangeListener listener)
|
void |
setBackground(java.awt.Color colorBG)
|
void |
setBar128Type(int iType)
|
void |
setBarBearerMode(boolean bMode)
|
void |
setBarBorderStyle(int istyle)
|
void |
setBarBottomComment(java.lang.String bottomComment)
|
void |
setBarBottomCommentFont(java.awt.Font bottomFont)
|
void |
setBarCheckEnable(boolean bCheck)
|
void |
setBarCommentAlignStyle(int istyle)
|
void |
setBarHeight(short shHeight)
|
void |
setBarHRDisplay(boolean bDisplay)
|
void |
setBarHRFont(java.awt.Font fnewFont)
|
void |
setBarMessage(java.lang.String value)
|
void |
setBarNarrowWidth(short shWidth)
|
void |
setBarOrientation(int iOrient)
|
void |
setBarQuietZone(short shQuietZone)
|
void |
setBarRatio(float fRatio)
|
void |
setBarSupplement(java.lang.String value)
|
void |
setBarSymbology(int iSymbol)
|
void |
setBarTopComment(java.lang.String topComment)
|
void |
setBarTopCommentFont(java.awt.Font topFont)
|
void |
setBarTransparent(boolean btran)
|
void |
setForeground(java.awt.Color colorBar)
|
Methods inherited from class java.awt.Component |
action,
add,
addComponentListener,
addFocusListener,
addInputMethodListener,
addKeyListener,
addMouseListener,
addMouseMotionListener,
addPropertyChangeListener,
bounds,
checkImage,
checkImage,
coalesceEvents,
contains,
createImage,
createImage,
disable,
disableEvents,
dispatchEvent,
enable,
enable,
enableEvents,
enableInputMethods,
getBounds,
getColorModel,
getComponentOrientation,
getCursor,
getDropTarget,
getFont,
getFontMetrics,
getInputContext,
getInputMethodRequests,
getLocale,
getLocation,
getLocationOnScreen,
getName,
getParent,
getPeer,
getSize,
getToolkit,
getTreeLock,
gotFocus,
handleEvent,
hide,
imageUpdate,
inside,
isDisplayable,
isEnabled,
isLightweight,
isShowing,
isValid,
isVisible,
keyDown,
keyUp,
list,
list,
list,
location,
lostFocus,
mouseDown,
mouseDrag,
mouseEnter,
mouseExit,
mouseMove,
mouseUp,
move,
nextFocus,
paintAll,
postEvent,
prepareImage,
prepareImage,
printAll,
processComponentEvent,
processInputMethodEvent,
processMouseEvent,
remove,
removeComponentListener,
removeFocusListener,
removeInputMethodListener,
removeKeyListener,
removeMouseListener,
removeMouseMotionListener,
removePropertyChangeListener,
repaint,
repaint,
repaint,
resize,
resize,
setBounds,
setBounds,
setComponentOrientation,
setCursor,
setDropTarget,
setLocale,
setLocation,
setLocation,
setName,
setSize,
setSize,
show,
show,
size,
toString,
transferFocus |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Field Detail |
protected int m_Symbol
public static final int BAR11
public static final int CODABAR
public static final int BARMSI
public static final int BAR39
public static final int EXTBAR39
public static final int BAR93
public static final int BAR128
public static final int BAREAN128
public static final int BARUPCA
public static final int BARUPCE
public static final int BAREAN13
public static final int BAREAN8
public static final int BARJAN13
public static final int BARJAN8
public static final int BARHIBCLIC39
public static final int BARHIBCLIC128
public static final int BARHIBCEAN128
public static final int BARHIBCIN25
public static final int BARIN25
public static final int BORDERNONE
public static final int BORDERNBROKENLINE
public static final int BORDERWBROKENLINE
public static final int BORDERNSOLIDLINE
public static final int BORDERWSOLIDLINE
public static final int ALIGNCENTER
public static final int ALIGNLEFT
public static final int ALIGNRIGHT
public static final int CODE128A
public static final int CODE128B
public static final int CODE128C
public static final int CODE128AUTO
public static final int ORIENT0
public static final int ORIENT90
public static final int ORIENT180
public static final int ORIENT270
Constructor Detail |
public BarCodeBean()
Method Detail |
public boolean putPngImageToStream(java.io.OutputStream os)
public boolean putPngImageToFile(java.lang.String sFileName)
Convert barcode into a PNG image and put it to a file
sFileName: image file name
public java.awt.Dimension getPreferredSize()
Returns barcode's dimension in points
public int getBar128Type()
public void setBar128Type(int iType)
Sets Code 128's type. Please refer to getBar128Type() for details
public int getBarSymbology()
Value | Description of Symbologies |
BAR11 | Code 11 |
CODABAR | Codabar |
BARMSI | Presley or MSI |
BAR39 | Code 39 |
EXTBAR39 | Extended Code 39 |
BAR93 | Code 93 |
BAR128 | Code 128 |
BAREAN128 | EAN 128 |
BARUPCA | UPCA |
BARUPCE | UPCE |
BAREAN13 | EAN13 |
BAREAN8 | EAN8 |
BARJAN13 | JAN13 |
BARJAN8 | JAN8 |
BARHIBCLIC39 | HIBC with Code 39 |
BARHIBCLIC128 | HIBC with Code 128 |
BARHIBCEAN128 | HIBC with EAN 128 |
BARHIBCIN25 | HIBC with Interleaved 2 of 5 |
BARIN25 | Interleaved 2 of 5 |
public java.awt.Color getBackground()
public void setBackground(java.awt.Color colorBG)
public java.awt.Color getForeground()
public void setForeground(java.awt.Color colorBar)
public java.lang.String getBarMessage()
public void setBarMessage(java.lang.String value)
public java.lang.String getBarSupplement()
public void setBarSupplement(java.lang.String value)
public java.lang.String getBarTopComment()
public void setBarTopComment(java.lang.String topComment)
public java.lang.String getBarBottomComment()
public void setBarBottomComment(java.lang.String bottomComment)
public short getBarHeight()
public void setBarHeight(short shHeight)
public int getBarOrientation()
public void setBarOrientation(int iOrient)
public short getBarQuietZone()
public void setBarQuietZone(short shQuietZone)
public float getBarRatio()
public void setBarRatio(float fRatio)
public java.awt.Font getBarHRFont()
public void setBarHRFont(java.awt.Font fnewFont)
public java.awt.Font getBarTopCommentFont()
public void setBarTopCommentFont(java.awt.Font topFont)
public java.awt.Font getBarBottomCommentFont()
public void setBarBottomCommentFont(java.awt.Font bottomFont)
public boolean getBarTransparent()
public void setBarTransparent(boolean btran)
public boolean getBarCheckEnable()
public void setBarCheckEnable(boolean bCheck)
public boolean getBarHRDisplay()
public void setBarHRDisplay(boolean bDisplay)
public boolean getBarBearerMode()
public void setBarBearerMode(boolean bMode)
public int getBarBorderStyle()
BORDERNONE | No border is drawn |
BORDERNBROKENLINE | Border is drawn in thin broken lines |
BORDERWBROKENLINE | Border is drawn in thick broken lines |
BORDERNSOLIDLINE | Border is drawn in thin solid lines |
BORDERWSOLIDLINE | Border is drawn in thick solid lines |
public void setBarBorderStyle(int istyle)
public int getBarCommentAlignStyle()
ALIGNCENTER | Top and bottom comments are aligned with barcode in center |
ALIGNLEFT | Top and bottom comments are aligned with barcode in left |
ALIGNRIGHT | Top and bottom comments are aligned with barcode in right |
public void setBarCommentAlignStyle(int istyle)
public short getBarNarrowWidth()
public void setBarNarrowWidth(short shWidth)
protected void paintBar(java.awt.Graphics g,Point ptLeftTop)
public void paint(java.awt.Graphics g)
public boolean IsOpaque()
public void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
public void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |