JavaTM 2 Platform
Standard Ed. 5.0

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

java.lang.Object
  上位を拡張 javax.swing.border.AbstractBorder
      上位を拡張 javax.swing.plaf.metal.MetalBorders.MenuBarBorder
すべての実装されたインタフェース:
Serializable, Border, UIResource
含まれているクラス:
MetalBorders

public static class MetalBorders.MenuBarBorder
extends AbstractBorder
implements UIResource


フィールドの概要
protected static Insets borderInsets
           
 
コンストラクタの概要
MetalBorders.MenuBarBorder()
           
 
メソッドの概要
 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.MenuBarBorder

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

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
Standard Ed. 5.0

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

Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Documentation Redistribution Policy も参照してください。