- java.lang.Object
-
- javax.swing.border.AbstractBorder
-
- javax.swing.plaf.metal.MetalBorders.ButtonBorder
-
- すべての実装されたインタフェース:
Serializable
,Border
,UIResource
- 含まれているクラス:
- MetalBorders
public static class MetalBorders.ButtonBorder extends AbstractBorder implements UIResource
クラスはJButton
のボーダーを表します。- 関連項目:
- 直列化された形式
-
-
フィールドのサマリー
フィールド 修飾子と型 フィールド 説明 protected static Insets
borderInsets
ボーダー・インセット。
-
コンストラクタのサマリー
コンストラクタ コンストラクタ 説明 ButtonBorder()
-
メソッドのサマリー
すべてのメソッド インスタンス・メソッド 具象メソッド 修飾子と型 メソッド 説明 Insets
getBorderInsets(Component c, Insets newInsets)
インセット・パラメータを、このBorderの現在のイン・セットで初期化し直します。void
paintBorder(Component c, Graphics g, int x, int y, int w, int h)
このデフォルト実装では、ペイントを行いません。-
クラス javax.swing.border.AbstractBorderから継承されたメソッド
getBaseline, getBaselineResizeBehavior, getBorderInsets, getInteriorRectangle, getInteriorRectangle, isBorderOpaque
-
-
-
-
フィールドの詳細
-
borderInsets
protected static Insets borderInsets
ボーダー・インセット。
-
-
メソッドの詳細
-
paintBorder
public void paintBorder(Component c, Graphics g, int x, int y, int w, int h)
クラスからコピーされた説明:AbstractBorder
このデフォルト実装では、ペイントを行いません。- 定義:
paintBorder
、インタフェース:Border
- オーバーライド:
paintBorder
、クラス:AbstractBorder
- パラメータ:
c
- このボーダーがペイントされるコンポーネントg
- ペイント・グラフィックスx
- ペイントされるボーダーのx座標y
- ペイントされるボーダーのy座標w
- ペイントされるボーダーの幅h
- ペイントされるボーダーの高さ
-
getBorderInsets
public Insets getBorderInsets(Component c, Insets newInsets)
クラスからコピーされた説明:AbstractBorder
インセット・パラメータを、このBorderの現在のイン・セットで初期化し直します。- オーバーライド:
getBorderInsets
、クラス:AbstractBorder
- パラメータ:
c
- このボーダーのイン・セットの値を適用するコンポーネントnewInsets
- 初期化し直されるオブジェクト- 戻り値:
insets
オブジェクト
-
-