|
Kagetaka | |||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectnet.hizlab.kagetaka.awt.Border
AWT グラフィックスユーティリティクラスです。
入れ子クラスの概要 | |
class |
Border.Line
四方向の各ラインを表します。 |
フィールドの概要 | |
static int |
ALL
すべて |
Border.Line |
bottom
下 |
static int |
BOTTOM
下 |
Border.Line |
left
左 |
static int |
LEFT
左 |
Border.Line |
right
右 |
static int |
RIGHT
右 |
Border.Line |
top
上 |
static int |
TOP
上 |
コンストラクタの概要 | |
Border()
空のボーダーを作成します。 |
メソッドの概要 | |
void |
draw(Graphics g,
int x1,
int y1,
int x2,
int y2,
Color color)
ボーダーを描画します。 |
Insets |
getWidths()
ボーダーの実際の幅を返します。 |
void |
setBaseSize(FontData fd)
ベースサイズを設定します。 |
void |
setColor(int target,
Color value)
ボーダーの色を設定します。 |
void |
setStyle(int target,
Value value)
ボーダーのスタイルを設定します。 |
void |
setWidth(int target,
Value value)
ボーダーの幅を設定します。 |
String |
toString()
文字列表現を返します。 |
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
フィールドの詳細 |
public static final int ALL
public Border.Line bottom
public static final int BOTTOM
public Border.Line left
public static final int LEFT
public Border.Line right
public static final int RIGHT
public Border.Line top
public static final int TOP
コンストラクタの詳細 |
public Border()
メソッドの詳細 |
public void draw(Graphics g, int x1, int y1, int x2, int y2, Color color)
g
- グラフィックスx1
- 左上の X 座標y1
- 左上の Y 座標x2
- 右下の X 座標y2
- 右下の Y 座標color
- デフォルトの色public Insets getWidths()
public void setBaseSize(FontData fd)
fd
- フォントデータpublic void setColor(int target, Color value)
target
- ターゲットvalue
- 値public void setStyle(int target, Value value)
target
- ターゲットvalue
- 値public void setWidth(int target, Value value)
target
- ターゲットvalue
- 値public String toString()
|
Kagetaka | |||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
Copyright (c) 2002-2004 The Kagetaka Project 'November 20, 2004'