JavaTM Platform
Standard Ed. 6

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

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

public static class MetalBorders.ToolBarBorder
extends AbstractBorder
implements UIResource, SwingConstants


フィールドの概要
protected  javax.swing.plaf.metal.MetalBumps bumps
           
 
インタフェース javax.swing.SwingConstants から継承されたフィールド
BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST
 
コンストラクタの概要
MetalBorders.ToolBarBorder()
           
 
メソッドの概要
 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
 

フィールドの詳細

bumps

protected javax.swing.plaf.metal.MetalBumps bumps
コンストラクタの詳細

MetalBorders.ToolBarBorder

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

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 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Documentation Redistribution Policy も参照してください。