XI Ver. 0.5


com.ogane.barcode
クラス BarCode

java.lang.Object
  |
  +--com.ogane.barcode.BarCode
直系の既知のサブクラス:
BarCodeCODE39, BarCodeJAN, BarCodeNW7

public abstract class BarCode
extends Object


フィールドの概要
static int CODE128
           
static int CODE39
           
static int DR7CHECK
           
static int EAN
           
static int ITF
           
static int JAN
           
static int LUNES
           
static int MOD103
           
static int MOD10W2
           
static int MOD10W3
           
static int MOD11
           
static int MOD16
           
static int MOD43
           
static int NOCHECK
           
static int NW7
           
static int UPC
           
static int WMOD11
           
 
コンストラクタの概要
BarCode(String msg, int minwidth, int height)
           
 
メソッドの概要
abstract  String availableCharacters()
           
protected abstract  BarCodeException checkCheckDigitMethod(int method)
           
protected abstract  BarCodeException checkMessage(String msg)
           
protected  boolean checkNumberOnly(String data)
           
abstract  String getCheckDigit()
           
 int getCheckDigitMethod()
           
 int getHeight()
           
 String getMessage()
           
 int getMinimumElementWidth()
           
 int getQuietZone()
           
abstract  int getWidth()
           
abstract  boolean hasMoreElements()
           
abstract  BarCodeElement nextElement()
           
abstract  void reset()
           
 void setCheckDigitMethod(int method)
           
 void setHeight(int height)
           
 void setMessage(String msg)
           
 void setMinimumElementWidth(int width)
           
 void setQuietZone(int quietzone)
           
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

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
コンストラクタの詳細

BarCode

public BarCode(String msg,
               int minwidth,
               int height)
        throws BarCodeException
パラメータ:
chars -  
メソッドの詳細

setMessage

public void setMessage(String msg)
                throws BarCodeException
パラメータ:
msg -  

getMessage

public String getMessage()
戻り値:
メッセージ

setCheckDigitMethod

public void setCheckDigitMethod(int method)
                         throws BarCodeException

getCheckDigitMethod

public int getCheckDigitMethod()

setMinimumElementWidth

public void setMinimumElementWidth(int width)

getMinimumElementWidth

public int getMinimumElementWidth()

setHeight

public void setHeight(int height)

getHeight

public int getHeight()

setQuietZone

public void setQuietZone(int quietzone)

getQuietZone

public int getQuietZone()

checkNumberOnly

protected boolean checkNumberOnly(String data)

getWidth

public abstract int getWidth()

reset

public abstract void reset()

hasMoreElements

public abstract boolean hasMoreElements()

nextElement

public abstract BarCodeElement nextElement()

availableCharacters

public abstract String availableCharacters()

getCheckDigit

public abstract String getCheckDigit()

checkMessage

protected abstract BarCodeException checkMessage(String msg)

checkCheckDigitMethod

protected abstract BarCodeException checkCheckDigitMethod(int method)


XI Ver. 0.5


Copyright 2000-2010, 大金システム設計事務所. All Rights Reserved.
2660-73 Mawatari, Hitachinaka, Ibaraki, 312-0012 JAPAN.
info@ogane.com