JavaTM Platform
Standard Ed. 6

javax.swing.plaf.metal
クラス MetalBorders.PaletteBorder

java.lang.Object
  上位を拡張 javax.swing.border.AbstractBorder
      上位を拡張 javax.swing.plaf.metal.MetalBorders.PaletteBorder
すべての実装されたインタフェース:
Serializable, Border, UIResource
含まれているクラス:
MetalBorders

public static class MetalBorders.PaletteBorder
extends AbstractBorder
implements UIResource

Palette が使用するボーダーです。

導入されたバージョン:
1.3

コンストラクタの概要
MetalBorders.PaletteBorder()
           
 
メソッドの概要
 Insets getBorderInsets(Component c)
          このデフォルト実装は、topleftbottom、および right の各フィールドが 0 に設定されているとき、新しい Insets インスタンスを返します。
 Insets getBorderInsets(Component c, Insets newInsets)
          インセットパラメータを、この Border の現在のインセットで初期化し直します。
 void paintBorder(Component c, Graphics g, int x, int y, int w, int h)
          このデフォルト実装では、ペイントを行いません。
 
クラス javax.swing.border.AbstractBorder から継承されたメソッド
getBaseline, getBaselineResizeBehavior, getInteriorRectangle, getInteriorRectangle, isBorderOpaque
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

MetalBorders.PaletteBorder

public MetalBorders.PaletteBorder()
メソッドの詳細

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 の記述:
このデフォルト実装は、topleftbottom、および 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 オブジェクト

JavaTM Platform
Standard Ed. 6

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

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