com.ogane.xi
クラス BarCode2D
java.lang.Object
|
+--java.awt.Component
|
+--java.awt.Canvas
|
+--com.ogane.xi.BarCode2D
- すべての実装インタフェース:
- Accessible, ImageObserver, MenuContainer, Serializable
- public class BarCode2D
- extends Canvas
- 関連項目:
- 直列化された形式
フィールドの概要 |
static int |
JPEG
|
static int |
PNG
|
クラス 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 |
JPEG
public static final int JPEG
PNG
public static final int PNG
BarCode2D
public BarCode2D(String msg,
int type)
- パラメータ:
msg
- type
-
BarCode2D
public BarCode2D(String msg)
- パラメータ:
msg
-
BarCode2D
public BarCode2D()
setType
public void setType(int type)
- パラメータ:
type
- - 例外:
BarCodeException
-
getType
public int getType()
- 戻り値:
- タイプ
setMessage
public void setMessage(String msg)
- パラメータ:
msg
- - 例外:
BarCodeException
-
getMessage
public String getMessage()
- 戻り値:
- メッセージ
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