|
JavaTM 2 Platform Std. Ed. v1.3 |
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 内部クラス | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Object
|
+--javax.swing.border.AbstractBorder
|
+--javax.swing.border.EmptyBorder
|
+--javax.swing.border.MatteBorder
塗りつぶしカラーやタイリングされたアイコンを使う飾り縁ボーダを提供するクラスです。
警告: このクラスの直列化されたオブジェクトは、今後の Swing リリースと互換ではなくなる予定です。現在の直列化のサポートは、短期間の運用や、同じバージョンの Swing を実行するアプリケーション間の RMI に適しています。今後の Swing リリースでは、長期間の持続性をサポートする予定です。
| フィールドの概要 | |
protected Color |
color
|
protected Icon |
tileIcon
|
| クラス javax.swing.border.EmptyBorder から継承したフィールド |
bottom, left, right, top |
| コンストラクタの概要 | |
MatteBorder(Icon tileIcon)
飾り縁ボーダを、指定されたタイルアイコンで作成します。 |
|
MatteBorder(Insets borderInsets,
Color matteColor)
飾り縁ボーダを、指定されたインセットおよびカラーで作成します。 |
|
MatteBorder(Insets borderInsets,
Icon tileIcon)
飾り縁ボーダを、指定されたインセットおよびタイルアイコンで作成します。 |
|
MatteBorder(int top,
int left,
int bottom,
int right,
Color matteColor)
飾り縁ボーダを、指定されたインセットおよびカラーで作成します。 |
|
MatteBorder(int top,
int left,
int bottom,
int right,
Icon tileIcon)
飾り縁ボーダを、指定されたインセットおよびタイルアイコンで作成します。 |
|
| メソッドの概要 | |
Insets |
getBorderInsets()
ボーダのインセットの値を返します。 |
Insets |
getBorderInsets(Component c)
ボーダのインセットの値を返します。 |
Insets |
getBorderInsets(Component c,
Insets insets)
insets パラメータを、この Border の現在の Insets で初期化し直します。 |
Color |
getMatteColor()
ボーダのタイリングに使用したカラーを返します。 |
Icon |
getTileIcon()
ボーダのタイリングに使用したカラーを返します。 |
boolean |
isBorderOpaque()
ボーダが不透明かどうかを返します。 |
void |
paintBorder(Component c,
Graphics g,
int x,
int y,
int width,
int height)
飾り縁ボーダをペイントします。 |
| クラス javax.swing.border.AbstractBorder から継承したメソッド |
getInteriorRectangle, getInteriorRectangle |
| クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| フィールドの詳細 |
protected Color color
protected Icon tileIcon
| コンストラクタの詳細 |
public MatteBorder(int top,
int left,
int bottom,
int right,
Color matteColor)
top - ボーダの上インセットleft - ボーダの左インセットbottom - ボーダの下インセットright - ボーダの右インセットmatteColor - ボーダを描画したカラー
public MatteBorder(Insets borderInsets,
Color matteColor)
borderInsets - ボーダのインセットmatteColor - ボーダを描画したカラー
public MatteBorder(int top,
int left,
int bottom,
int right,
Icon tileIcon)
top - ボーダの上インセットleft - ボーダの左インセットbottom - ボーダの下インセットright - ボーダの右インセットtileIcon - ボーダのタイリングに使うアイコン
public MatteBorder(Insets borderInsets,
Icon tileIcon)
borderInsets - ボーダのインセットtileIcon - ボーダのタイリングに使うアイコンpublic MatteBorder(Icon tileIcon)
tileIcon - ボーダのタイリングに使うアイコン| メソッドの詳細 |
public void paintBorder(Component c,
Graphics g,
int x,
int y,
int width,
int height)
EmptyBorder 内の paintBorderjavax.swing.border.Border からコピーされたタグ:c - このボーダがペイントされるコンポーネントg - ペイントのグラフィックスx - ペイントされたボーダの x 座標y - ペイントされたボーダの y 座標width - ペイントされたボーダの幅height - ペイントされたボーダの高さpublic Insets getBorderInsets(Component c)
EmptyBorder 内の getBorderInsetsc - このボーダのインセットの値を適用するコンポーネント
public Insets getBorderInsets(Component c,
Insets insets)
EmptyBorder 内の getBorderInsetsc - このボーダのインセットの値を適用するコンポーネントinsets - 初期化し直されるオブジェクトpublic Insets getBorderInsets()
EmptyBorder 内の getBorderInsetspublic Color getMatteColor()
public Icon getTileIcon()
public boolean isBorderOpaque()
EmptyBorder 内の isBorderOpaque
|
JavaTM 2 Platform Std. Ed. v1.3 |
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 内部クラス | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
Java、Java 2D、JDBC は、米国およびその他の国における米国 Sun Microsystems, Inc. の商標もしくは登録商標です。
Copyright 1993-2000 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.