javax.swing.plaf
クラス BorderUIResource
java.lang.Object
|
+--javax.swing.plaf.BorderUIResource
- すべての実装インタフェース:
- Border, Serializable, UIResource
- public class BorderUIResource
- extends Object
- implements Border, UIResource, Serializable
- 関連項目:
- 直列化された形式
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BorderUIResource
public BorderUIResource(Border delegate)
- UIResource のボーダオブジェクトを作成します。このオブジェクトは、既存の Border のインスタンスをラップします。
- パラメータ:
delegate
- ラップ対象のボーダ
getEtchedBorderUIResource
public static Border getEtchedBorderUIResource()
getLoweredBevelBorderUIResource
public static Border getLoweredBevelBorderUIResource()
getRaisedBevelBorderUIResource
public static Border getRaisedBevelBorderUIResource()
getBlackLineBorderUIResource
public static Border getBlackLineBorderUIResource()
paintBorder
public void paintBorder(Component c,
Graphics g,
int x,
int y,
int width,
int height)
- インタフェース
Border
の記述:
- 指定されたコンポーネントのボーダを、指定された位置およびサイズでペイントします。
- 定義:
- インタフェース
Border
内の paintBorder
- インタフェース
javax.swing.border.Border
からコピーされたタグ:
- パラメータ:
c
- このボーダがペイントされるコンポーネントg
- ペイントのグラフィックスx
- ペイントされたボーダの x 座標y
- ペイントされたボーダの y 座標width
- ペイントされたボーダの幅height
- ペイントされたボーダの高さ
getBorderInsets
public Insets getBorderInsets(Component c)
- インタフェース
Border
の記述:
- ボーダのインセットの値を返します。
- 定義:
- インタフェース
Border
内の getBorderInsets
- インタフェース
javax.swing.border.Border
からコピーされたタグ:
- パラメータ:
c
- このボーダのインセットの値を適用するコンポーネント
isBorderOpaque
public boolean isBorderOpaque()
- インタフェース
Border
の記述:
- ボーダが不透明かどうかを返します。ボーダが不透明である場合、ボーダのバックグラウンドはペイント時にボーダ自身によって塗りつぶされます。
- 定義:
- インタフェース
Border
内の isBorderOpaque
バグや機能要求の報告
さらに詳しい API リファレンスおよび開発者ドキュメントについては、 Java 2 SDK SE Developer Documentation を参照してください。このドキュメントには、概念、用語の定義、回避策、 実用的なコード例など、開発者を対象にした詳細な解説が掲載されています。 Java、Java 2D、JDBC は、米国およびその他の国における米国 Sun Microsystems, Inc. の商標もしくは登録商標です。
Copyright 1993-2000 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.