JavaTM 2
Platform
Std. Ed. v1.4.0

javax.swing.plaf.metal
クラス MetalBorders.MenuItemBorder

java.lang.Object
  |
  +--javax.swing.border.AbstractBorder
        |
        +--javax.swing.plaf.metal.MetalBorders.MenuItemBorder
すべての実装インタフェース:
Border, Serializable, UIResource
含まれているクラス:
MetalBorders

public static class MetalBorders.MenuItemBorder
extends AbstractBorder
implements UIResource


フィールドの概要
protected static Insets borderInsets
           
 
コンストラクタの概要
MetalBorders.MenuItemBorder()
           
 
メソッドの概要
 Insets getBorderInsets(Component c)
          このデフォルト実装は、topleftbottom、および right フィールドが 0 に設定される新規 Insets インスタンスを返します。
 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 から継承したメソッド
getInteriorRectangle, getInteriorRectangle, isBorderOpaque
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

borderInsets

protected static Insets borderInsets
コンストラクタの詳細

MetalBorders.MenuItemBorder

public MetalBorders.MenuItemBorder()
メソッドの詳細

paintBorder

public void paintBorder(Component c,
                        Graphics g,
                        int x,
                        int y,
                        int w,
                        int h)
クラス AbstractBorder の記述:
このデフォルト実装では、ペイントを行いません。

定義:
インタフェース Border 内の paintBorder
オーバーライド:
クラス AbstractBorder 内の paintBorder
パラメータ:
c - このボーダがペイントされるコンポーネント
g - ペイントのグラフィックス
x - ペイントされたボーダの x 座標
y - ペイントされたボーダの y 座標
w - ペイントされたボーダの幅
h - ペイントされたボーダの高さ

getBorderInsets

public Insets getBorderInsets(Component c)
クラス AbstractBorder の記述:
このデフォルト実装は、topleftbottom、および right フィールドが 0 に設定される新規 Insets インスタンスを返します。

定義:
インタフェース Border 内の getBorderInsets
オーバーライド:
クラス AbstractBorder 内の getBorderInsets
パラメータ:
c - このボーダのインセットの値を適用するコンポーネント
戻り値:
0 に初期化される新しい Insets オブジェクト

getBorderInsets

public Insets getBorderInsets(Component c,
                              Insets newInsets)
クラス AbstractBorder の記述:
インセットパラメータを、この Border の現在のインセットで初期化し直します。

オーバーライド:
クラス AbstractBorder 内の getBorderInsets
パラメータ:
c - このボーダのインセットの値を適用するコンポーネント
newInsets - 初期化し直されるオブジェクト
戻り値:
insets オブジェクト

JavaTM 2
Platform
Std. Ed. v1.4.0

バグの報告と機能のリクエスト
これ以外の API リファレンスおよび開発者用ドキュメントについては、 Java 2 SDK SE 開発者用ドキュメントを参照してください。 開発者向けの詳細な解説、概念の概要、用語の定義、バグの回避策、 およびコード実例が含まれています。

Java、Java 2D、および JDBC は米国ならびにその他の国における米国 Sun Microsystems, Inc. の商標もしくは登録商標です。
Copyright 1993-2002 Sun Microsystems, Inc. 901 San Antonio Road
Palo Alto, California, 94303, U.S.A. All Rights Reserved.