com.ogane.xi
クラス BarCode
java.lang.Object
|
+--java.awt.Component
|
+--java.awt.Canvas
|
+--com.ogane.xi.BarCode
- すべての実装インタフェース:
- Accessible, ImageObserver, MenuContainer, Serializable
- public class BarCode
- extends Canvas
- 関連項目:
- 直列化された形式
クラス java.awt.Component から継承したメソッド |
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addPropertyChangeListener, addPropertyChangeListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, deliverEvent, disable, disableEvents, dispatchEvent, doLayout, enable, enable, enableEvents, enableInputMethods, firePropertyChange, getAlignmentX, getAlignmentY, getBackground, getBounds, getBounds, getColorModel, getComponentAt, getComponentAt, getComponentOrientation, getCursor, getDropTarget, getFont, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getHeight, getInputContext, getInputMethodRequests, getListeners, getLocale, getLocation, getLocation, getLocationOnScreen, getMaximumSize, getName, getParent, getPeer, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, invalidate, isDisplayable, isDoubleBuffered, isEnabled, isFocusTraversable, isLightweight, isOpaque, isShowing, isValid, isVisible, keyDown, keyUp, layout, list, list, list, list, list, locate, location, lostFocus, minimumSize, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, paramString, postEvent, preferredSize, prepareImage, prepareImage, print, printAll, processComponentEvent, processEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, reshape, resize, resize, setBackground, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFont, setForeground, setLocale, setLocation, setLocation, setName, setSize, setVisible, show, show, size, toString, transferFocus, validate |
JAN
public static final int JAN
EAN
public static final int EAN
UPC
public static final int UPC
ITF
public static final int ITF
CODE39
public static final int CODE39
NW7
public static final int NW7
CODE128
public static final int CODE128
NOCHECK
public static final int NOCHECK
MOD43
public static final int MOD43
MOD10W3
public static final int MOD10W3
MOD16
public static final int MOD16
MOD11
public static final int MOD11
MOD10W2
public static final int MOD10W2
DR7CHECK
public static final int DR7CHECK
WMOD11
public static final int WMOD11
LUNES
public static final int LUNES
MOD103
public static final int MOD103
JPEG
public static final int JPEG
PNG
public static final int PNG
BarCode
public BarCode(String msg,
int type)
throws BarCodeException
- パラメータ:
msg
- type
- - 例外:
BarCodeException
-
BarCode
public BarCode(String msg)
throws BarCodeException
- パラメータ:
msg
- - 例外:
BarCodeException
-
BarCode
public BarCode()
throws BarCodeException
- 例外:
BarCodeException
-
setType
public void setType(int type)
throws BarCodeException
- パラメータ:
type
- - 例外:
BarCodeException
-
getType
public int getType()
- 戻り値:
- タイプ
setMessage
public void setMessage(String msg)
throws BarCodeException
- パラメータ:
msg
- - 例外:
BarCodeException
-
getMessage
public String getMessage()
- 戻り値:
- メッセージ
setCheckDigitMethod
public void setCheckDigitMethod(int method)
throws BarCodeException
- パラメータ:
method
- - 例外:
BarCodeException
-
getCheckDigitMethod
public int getCheckDigitMethod()
- 戻り値:
- チェックデジットの値
setMinimumElementWidth
public void setMinimumElementWidth(int width)
- パラメータ:
width
-
getMinimumElementWidth
public int getMinimumElementWidth()
- 戻り値:
- ナロー幅
setBarCodeHeight
public void setBarCodeHeight(int height)
- パラメータ:
height
-
getBarCodeHeight
public int getBarCodeHeight()
- 戻り値:
- バーコードの高さ
setQuietZone
public void setQuietZone(int quietzone)
- パラメータ:
quietzone
-
getQuietZone
public int getQuietZone()
- 戻り値:
- クワイエットゾーンの幅
setVisibleAtRunTime
public void setVisibleAtRunTime(boolean visible)
- パラメータ:
visible
-
isVisibleAtRunTime
public boolean isVisibleAtRunTime()
- 戻り値:
- 実行時の可視状態
setSize
public void setSize(int w,
int h)
- 大きさを設定します。
- オーバーライド:
- クラス
Component
内の setSize
- パラメータ:
w
- 幅h
- 高さ
setBounds
public void setBounds(int x,
int y,
int w,
int h)
- 表示領域を設定します。
- オーバーライド:
- クラス
Component
内の setBounds
- パラメータ:
x
- X座標y
- Y座標w
- 幅h
- 高さ
getPreferredSize
public Dimension getPreferredSize()
- 推奨サイズを返します。
- オーバーライド:
- クラス
Component
内の getPreferredSize
- 戻り値:
- 大きさ
getMinimumSize
public Dimension getMinimumSize()
- 最小の大きさを返します。
- オーバーライド:
- クラス
Component
内の getMinimumSize
- 戻り値:
- 大きさ
update
public void update(Graphics g)
- 再描画メソッド。
- オーバーライド:
- クラス
Component
内の update
- パラメータ:
g
- Graphicsコンテキスト
paint
public void paint(Graphics g)
- 描画メソッド。
- オーバーライド:
- クラス
Canvas
内の paint
- パラメータ:
g
- Graphicsコンテキスト
getImage
public BufferedImage getImage()
- 戻り値:
- イメージ
write
public void write(int form,
File file)
throws IllegalArgumentException,
IOException
- パラメータ:
form
- file
- - 例外:
IllegalArgumentException
- IOException
-
write
public void write(int form,
OutputStream out)
throws IllegalArgumentException,
IOException
- パラメータ:
form
- out
- - 例外:
IllegalArgumentException
- IOException
-
Copyright 2000-2010, 大金システム設計事務所. All Rights Reserved.
2660-73 Mawatari, Hitachinaka, Ibaraki, 312-0012 JAPAN.
info@ogane.com