public abstract class PFCode128 extends java.lang.Object implements PFBarCodeType
修飾子とタイプ | フィールドと説明 |
---|---|
protected static java.util.Hashtable |
CHECK_DIGIT_PATTERN_TABLE_A
チェックディジットパターン表(機能制限版でキャラクタコード表に存在しないものについて補完)
|
protected static java.util.Hashtable |
CHECK_DIGIT_PATTERN_TABLE_B |
protected static java.util.Hashtable |
CHECK_DIGIT_PATTERN_TABLE_C |
protected static java.lang.String[] |
CHECK_DIGIT_TABLE_A
チェックディジットコード表
|
protected static java.lang.String[] |
CHECK_DIGIT_TABLE_B |
protected static java.lang.String[] |
CHECK_DIGIT_TABLE_C |
protected static java.util.Hashtable |
PATTERN_TABLE_A
キャラクタコード表
|
protected static java.util.Hashtable |
PATTERN_TABLE_B |
protected static java.util.Hashtable |
PATTERN_TABLE_C |
protected static java.lang.String |
START_CHARATER_CODE_PATTERN_A
スタートキャラクタパターン
|
protected static java.lang.String |
START_CHARATER_CODE_PATTERN_B |
protected static java.lang.String |
START_CHARATER_CODE_PATTERN_C |
コンストラクタと説明 |
---|
PFCode128() |
修飾子とタイプ | メソッドと説明 |
---|---|
protected void |
drawCharacter(java.awt.Graphics2D graphics,
float xPosition,
float yPosition,
java.lang.String character,
boolean onDisplay)
文字のみを描画する.
|
protected void |
drawCharacter(java.awt.Graphics2D graphics,
float xPosition,
float yPosition,
java.lang.String character,
boolean displayString,
java.lang.String pattern,
boolean onDisplay)
1文字をバーコードに変換して描画する。
|
protected void |
drawStopCharacter(java.awt.Graphics2D graphics,
float xPosition,
float yPosition,
boolean onDisplay)
ストップキャラクタをバーコードに変換して描画する。
|
java.awt.Dimension |
getBarCodeSize(java.lang.String string,
boolean displayString,
boolean checkDigit)
バーコードの帳票出力サイズを取得する。
|
protected java.awt.Dimension |
getBarCodeSize(java.lang.String string,
boolean displayString,
boolean checkDigit,
boolean onDisplay)
バーコードのサイズを取得する。
|
protected float |
getBarHeight(boolean onDisplay)
バー高さを取得する。
|
protected float |
getCharacterWidth(boolean onDisplay)
キャラクタの幅を取得する。
|
protected float |
getDrawMargin(boolean onDisplay)
余白を取得する。
|
protected float |
getMinimumElement(boolean onDisplay)
最小エレメントを取得する。
|
protected float |
getQuietZoneWidth(boolean onDisplay)
クワイエットゾーンを取得する。
|
protected float |
getStopCharacterWidth(boolean onDisplay)
ストップキャラクタの幅を取得する.
|
protected java.awt.Font |
getStringFont(boolean onDisplay)
文字描画フォントを取得する。
|
protected boolean |
isDisplay(java.lang.String character)
文字として描画できるか判定する.
|
boolean |
isSelectableAddCheckDigit()
チェックディジット付加が選択できるかどうかを取得する。
|
boolean |
isSelectableDisplayString()
文字列表示が選択できるかどうかを取得する。
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
convertBarCodeImage, convertBarCodeImage, getCodeName, getSampleData, isConvertible, printBarCode
protected static java.util.Hashtable PATTERN_TABLE_A
protected static java.util.Hashtable PATTERN_TABLE_B
protected static java.util.Hashtable PATTERN_TABLE_C
protected static java.lang.String[] CHECK_DIGIT_TABLE_A
protected static java.lang.String[] CHECK_DIGIT_TABLE_B
protected static java.lang.String[] CHECK_DIGIT_TABLE_C
protected static java.util.Hashtable CHECK_DIGIT_PATTERN_TABLE_A
protected static java.util.Hashtable CHECK_DIGIT_PATTERN_TABLE_B
protected static java.util.Hashtable CHECK_DIGIT_PATTERN_TABLE_C
protected static final java.lang.String START_CHARATER_CODE_PATTERN_A
protected static final java.lang.String START_CHARATER_CODE_PATTERN_B
protected static final java.lang.String START_CHARATER_CODE_PATTERN_C
public boolean isSelectableDisplayString()
isSelectableDisplayString
インタフェース内 PFBarCodeType
public boolean isSelectableAddCheckDigit()
isSelectableAddCheckDigit
インタフェース内 PFBarCodeType
public java.awt.Dimension getBarCodeSize(java.lang.String string, boolean displayString, boolean checkDigit) throws PFRuntimeException
getBarCodeSize
インタフェース内 PFBarCodeType
string
- 対象文字列displayString
- 文字列の出力有無checkDigit
- チェックディジット付加PFRuntimeException
- 対象外の文字が含まれているprotected java.awt.Dimension getBarCodeSize(java.lang.String string, boolean displayString, boolean checkDigit, boolean onDisplay) throws PFRuntimeException
string
- 対象文字列displayString
- 文字列の出力有無checkDigit
- チェックディジット付加onDisplay
- 画面用フラグPFRuntimeException
- 対象外の文字が含まれているprotected void drawCharacter(java.awt.Graphics2D graphics, float xPosition, float yPosition, java.lang.String character, boolean displayString, java.lang.String pattern, boolean onDisplay)
graphics
- 描画先グラフィクスxPosition
- X座標yPosition
- Y座標character
- 文字displayString
- 文字列表示有無pattern
- コードパターンonDisplay
- 画面表示かどうかprotected boolean isDisplay(java.lang.String character)
character
- 文字protected void drawStopCharacter(java.awt.Graphics2D graphics, float xPosition, float yPosition, boolean onDisplay)
graphics
- 描画先グラフィクスxPosition
- X座標yPosition
- Y座標onDisplay
- 画面表示かどうかprotected void drawCharacter(java.awt.Graphics2D graphics, float xPosition, float yPosition, java.lang.String character, boolean onDisplay)
graphics
- 描画先グラフィクスxPosition
- X座標yPosition
- Y座標character
- 文字onDisplay
- 画面表示かどうかprotected float getMinimumElement(boolean onDisplay)
onDisplay
- 画面表示かどうかprotected float getCharacterWidth(boolean onDisplay)
onDisplay
- 画面表示かどうかprotected float getStopCharacterWidth(boolean onDisplay)
onDisplay
- 画面表示かどうかprotected float getQuietZoneWidth(boolean onDisplay)
onDisplay
- 画面表示かどうかprotected float getBarHeight(boolean onDisplay)
onDisplay
- 画面表示かどうかprotected float getDrawMargin(boolean onDisplay)
onDisplay
- 画面表示かどうかprotected java.awt.Font getStringFont(boolean onDisplay)
onDisplay
- 画面表示かどうか