javax.swing.plaf.metal
クラス MetalBorders.MenuItemBorder
java.lang.Object
javax.swing.border.AbstractBorder
javax.swing.plaf.metal.MetalBorders.MenuItemBorder
- すべての実装されたインタフェース:
- Serializable, Border, UIResource
- 含まれているクラス:
- MetalBorders
public static class MetalBorders.MenuItemBorder
- extends AbstractBorder
- implements UIResource
| クラス 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 の記述:
- このデフォルト実装は、
top、left、bottom、および 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 オブジェクト
バグの報告と機能のリクエスト
さらに詳しい API リファレンスおよび開発者ドキュメントについては、Java 2 SDK SE 開発者用ドキュメントを参照してください。開発者向けの詳細な解説、概念の概要、用語の定義、バグの回避策、およびコード実例が含まれています。Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Documentation Redistribution Policy も参照してください。