JavaTM Platform
Standard Ed. 6

javax.swing.plaf
クラス BorderUIResource

java.lang.Object
  上位を拡張 javax.swing.plaf.BorderUIResource
すべての実装されたインタフェース:
Serializable, Border, 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)
          既存の Border インスタンスをラップする、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)
既存の Border インスタンスをラップする、UIResource のボーダーオブジェクトを作成します。

パラメータ:
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
パラメータ:
c - このボーダーがペイントされるコンポーネント
g - ペイントのグラフィックス
x - ペイントされたボーダーの x 座標
y - ペイントされたボーダーの y 座標
width - ペイントされたボーダーの幅
height - ペイントされたボーダーの高さ

getBorderInsets

public Insets getBorderInsets(Component c)
インタフェース Border の記述:
ボーダーのインセットの値を返します。

定義:
インタフェース Border 内の getBorderInsets
パラメータ:
c - このボーダーのインセットの値を適用するコンポーネント

isBorderOpaque

public boolean isBorderOpaque()
インタフェース Border の記述:
ボーダーが不透明かどうかを返します。ボーダーが不透明である場合、ボーダーのバックグラウンドはペイント時にボーダー自身によって塗りつぶされます。

定義:
インタフェース Border 内の isBorderOpaque

JavaTM Platform
Standard Ed. 6

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

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