|
Kagetaka | |||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectnet.hizlab.kagetaka.rendering.block.Wadge
複数の文字タイプの固まりを表します。
| フィールドの概要 | |
protected Drawkit |
drawkit
ドローキット |
protected IntBuffer |
heights
文字の高さ |
protected int |
indent
文字ごとの上下のインデント量 |
protected static char |
KIN_LOCK
改行不可 |
protected int |
maxHeight
最大の高さ |
protected int |
minHeight
最小の高さ |
protected int |
offset
文字ごとの左右のオフセット量 |
protected CharBuffer |
options
禁則かどうか |
protected Block |
parent
親ブロック |
protected IntBuffer |
reals
文字の実際の幅 |
protected static char |
SOKUYOU
促音と拗音 |
protected static char |
TYPE_ATTR
アトリビュート |
protected static char |
TYPE_BLOCK
インラインブロック |
protected static char |
TYPE_BR
改行 |
protected static char |
TYPE_FLOAT
フロート |
protected static char |
TYPE_FORM
フォームアイテム |
protected static char |
TYPE_ID
ID |
protected static char |
TYPE_IMAGE
画像 |
protected static char |
TYPE_LTRB
左上右下軸で反転 |
protected static char |
TYPE_NONE
回転無し |
protected static char |
TYPE_NULL
ダミー文字(末尾のスペースを削った場合) |
protected static char |
TYPE_RIGHT
右 90 度回転 |
protected CharBuffer |
types
タイプ |
protected CharBuffer |
values
文字等 |
protected int |
valuesIndex
文字バッファんのインデックス |
protected int |
valuesLength
実際の文字の長さ |
protected IntBuffer |
widths
文字の幅 |
| コンストラクタの概要 | |
protected |
Wadge(Drawkit drawkit,
Status status,
Block parent)
文字列片を作成します。 |
| メソッドの概要 | |
protected void |
append(Block block)
インラインブロックを追加します。 |
protected void |
append(char c,
char t,
int r,
int w,
int h,
boolean before,
boolean after,
boolean save)
指定された情報をバッファに追加します。 |
protected void |
append(FloatBlock block)
フロートブロックを追加します。 |
protected void |
append(FormItem item)
フォームアイテムを追加します。 |
protected void |
append(String text,
int begin,
int end,
boolean save)
文字列を追加します。 |
protected void |
append(String src,
String alt,
Value width,
Value height,
int border)
画像を追加します。 |
protected void |
commit()
すべて確定します。 |
protected void |
draw(Canvas canvas,
Lines lines)
描画します。 |
protected int |
getDrawOffset(Lines lines)
描画時の x 軸方向のオフセット値を取得します。 |
protected void |
restore()
最後に保存した状態に戻します。 |
protected void |
setRuby(int mode)
ルビのモードを変更します。 |
protected void |
statusChanged(Status status)
ステータスの変更を通知します。 |
protected void |
validate(Lines lines,
int awidth)
再整形を行います。 |
| クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| フィールドの詳細 |
protected Drawkit drawkit
protected IntBuffer heights
protected int indent
protected static final char KIN_LOCK
protected int maxHeight
protected int minHeight
protected int offset
protected CharBuffer options
protected Block parent
protected IntBuffer reals
protected static final char SOKUYOU
protected static final char TYPE_ATTR
protected static final char TYPE_BLOCK
protected static final char TYPE_BR
protected static final char TYPE_FLOAT
protected static final char TYPE_FORM
protected static final char TYPE_ID
protected static final char TYPE_IMAGE
protected static final char TYPE_LTRB
protected static final char TYPE_NONE
protected static final char TYPE_NULL
protected static final char TYPE_RIGHT
protected CharBuffer types
protected CharBuffer values
protected int valuesIndex
protected int valuesLength
protected IntBuffer widths
| コンストラクタの詳細 |
protected Wadge(Drawkit drawkit,
Status status,
Block parent)
drawkit - ドローキットstatus - ステータスparent - 親ブロック| メソッドの詳細 |
protected void append(Block block)
block - インラインブロック
protected void append(char c,
char t,
int r,
int w,
int h,
boolean before,
boolean after,
boolean save)
c - 文字や、ID などを識別する値t - c のタイプr - 本当の幅w - 描画に必要な幅h - 描画に必要な高さbefore - この文字の直前で改行されても大丈夫な場合は
true、ダメな場合は falseafter - この文字の直後で改行されても大丈夫な場合は
true、ダメな場合は falsesave - 文字の追加前に、現在の状態を保存する場合は
true、保存しない場合は falseprotected void append(FloatBlock block)
block - フロートブロックprotected void append(FormItem item)
item - アイテム
protected void append(String text,
int begin,
int end,
boolean save)
text - 文字列begin - 開始位置end - 終了位置save - 文字の追加前に、現在の状態を保存する場合は
true、保存しない場合は false
protected void append(String src,
String alt,
Value width,
Value height,
int border)
src - ソースalt - 代替文字width - 幅height - 高さborder - ボーダーprotected void commit()
protected void draw(Canvas canvas,
Lines lines)
canvas - 描画キャンバスlines - 行情報protected int getDrawOffset(Lines lines)
lines - 行情報
protected void restore()
protected void setRuby(int mode)
mode - ルビのモードprotected void statusChanged(Status status)
status - 新しいステータス
protected void validate(Lines lines,
int awidth)
lines - 行情報awidth - 追加幅
|
Kagetaka | |||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
Copyright (c) 2002-2004 The Kagetaka Project 'November 20, 2004'