JavaTM 2 Platform
Std. Ed. v1.3

javax.swing.plaf
クラス BorderUIResource

java.lang.Object
  |
  +--javax.swing.plaf.BorderUIResource
すべての実装インタフェース:
Border, Serializable, UIResource

public class BorderUIResource
extends Object
implements Border, UIResource, Serializable

関連項目:
直列化された形式

内部クラスの概要
static class BorderUIResource.BevelBorderUIResource
           
static class BorderUIResource.CompoundBorderUIResource
           
static class BorderUIResource.EmptyBorderUIResource
           
static class BorderUIResource.EtchedBorderUIResource
           
static class BorderUIResource.LineBorderUIResource
           
static class BorderUIResource.MatteBorderUIResource
           
static class BorderUIResource.TitledBorderUIResource
           
 
コンストラクタの概要
BorderUIResource(Border delegate)
          UIResource のボーダオブジェクトを作成します。
 
メソッドの概要
static Border getBlackLineBorderUIResource()
           
 Insets getBorderInsets(Component c)
          ボーダのインセットの値を返します。
static Border getEtchedBorderUIResource()
           
static Border getLoweredBevelBorderUIResource()
           
static Border getRaisedBevelBorderUIResource()
           
 boolean isBorderOpaque()
          ボーダが不透明かどうかを返します。
 void paintBorder(Component c, Graphics g, int x, int y, int width, int height)
          指定されたコンポーネントのボーダを、指定された位置およびサイズでペイントします。
 
クラス 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

JavaTM 2 Platform
Std. Ed. v1.3

バグや機能要求の報告
さらに詳しい 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.