|
JavaTM Platform Standard Ed. 6 |
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectjavax.swing.border.AbstractBorder
javax.swing.plaf.basic.BasicBorders.MenuBarBorder
public static class BasicBorders.MenuBarBorder
| コンストラクタの概要 | |
|---|---|
BasicBorders.MenuBarBorder(Color shadow,
Color highlight)
|
|
| メソッドの概要 | |
|---|---|
Insets |
getBorderInsets(Component c)
このデフォルト実装は、 top、left、bottom、および right の各フィールドが 0 に設定されているとき、新しい Insets インスタンスを返します。 |
Insets |
getBorderInsets(Component c,
Insets insets)
インセットパラメータを、この Border の現在のインセットで初期化し直します。 |
void |
paintBorder(Component c,
Graphics g,
int x,
int y,
int width,
int height)
このデフォルト実装では、ペイントを行いません。 |
| クラス javax.swing.border.AbstractBorder から継承されたメソッド |
|---|
getBaseline, getBaselineResizeBehavior, getInteriorRectangle, getInteriorRectangle, isBorderOpaque |
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| コンストラクタの詳細 |
|---|
public BasicBorders.MenuBarBorder(Color shadow,
Color highlight)
| メソッドの詳細 |
|---|
public void paintBorder(Component c,
Graphics g,
int x,
int y,
int width,
int height)
AbstractBorder の記述:
Border 内の paintBorderAbstractBorder 内の paintBorderc - このボーダーがペイントされるコンポーネントg - ペイントのグラフィックスx - ペイントされたボーダーの x 座標y - ペイントされたボーダーの y 座標width - ペイントされたボーダーの幅height - ペイントされたボーダーの高さpublic Insets getBorderInsets(Component c)
AbstractBorder の記述:top、left、bottom、および right の各フィールドが 0 に設定されているとき、新しい Insets インスタンスを返します。
Border 内の getBorderInsetsAbstractBorder 内の getBorderInsetsc - このボーダーのインセットの値を適用するコンポーネント
Insets オブジェクト
public Insets getBorderInsets(Component c,
Insets insets)
AbstractBorder の記述:
AbstractBorder 内の getBorderInsetsc - このボーダーのインセットの値を適用するコンポーネントinsets - 初期化し直されるオブジェクト
insets オブジェクト
|
JavaTM Platform Standard Ed. 6 |
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
Copyright 2009 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Documentation Redistribution Policy も参照してください。