クラスBorderUIResource.BevelBorderUIResource
java.lang.Object
javax.swing.border.AbstractBorder
javax.swing.border.BevelBorder
javax.swing.plaf.BorderUIResource.BevelBorderUIResource
- すべての実装されたインタフェース:
Serializable, Border, UIResource
- 含まれているクラス:
BorderUIResource
public static class BorderUIResource.BevelBorderUIResource extends BevelBorder implements UIResource
ベベルボーダーUIリソース。
-
フィールドのサマリー
クラスで宣言されたフィールド BevelBorder
bevelType, highlightInner, highlightOuter, LOWERED, RAISED, shadowInner, shadowOuter -
コンストラクタのサマリー
コンストラクタコンストラクタ説明BevelBorderUIResource(int bevelType) BevelBorderUIResourceを構築します。BevelBorderUIResource(int bevelType, Color highlight, Color shadow) BevelBorderUIResourceを構築します。BevelBorderUIResource(int bevelType, Color highlightOuter, Color highlightInner, Color shadowOuter, Color shadowInner) BevelBorderUIResourceを構築します。 -
メソッドのサマリー
クラスで宣言されたメソッド BevelBorder
getBevelType, getBorderInsets, getHighlightInnerColor, getHighlightInnerColor, getHighlightOuterColor, getHighlightOuterColor, getShadowInnerColor, getShadowInnerColor, getShadowOuterColor, getShadowOuterColor, isBorderOpaque, paintBorder, paintLoweredBevel, paintRaisedBevel修飾子と型メソッド説明int斜影ボーダーのタイプを返します。getBorderInsets(Component c, Insets insets) insetsパラメータを、このBorderの現在のInsetsで初期化し直します。斜影ボーダーの内側ハイライトのカラーを返します。指定されたコンポーネントにレンダリングされたときの斜影ボーダーの内側ハイライト・カラーを返します。斜影ボーダーの外側ハイライトのカラーを返します。指定されたコンポーネントにレンダリングされたときの斜影ボーダーの外側ハイライト・カラーを返します。斜影ボーダーの内側陰影のカラーを返します。指定されたコンポーネント・レンダリングされたときの斜影ボーダーの内側シャドウ・カラーを返します。斜影ボーダーの外側陰影のカラーを返します。指定されたコンポーネント・レンダリングされたときの斜影ボーダーの外側シャドウ・カラーを返します。booleanボーダーが不透明かどうかを返します。voidpaintBorder(Component c, Graphics g, int x, int y, int width, int height) 指定されたコンポーネントのボーダーを、指定された位置およびサイズでペイントします。protected voidpaintLoweredBevel(Component c, Graphics g, int x, int y, int width, int height) 指定されたコンポーネントのベベルを、指定された位置とサイズでペイントします。protected voidpaintRaisedBevel(Component c, Graphics g, int x, int y, int width, int height) 指定されたコンポーネントの上げベベルを、指定された位置とサイズでペイントします。クラスで宣言されたメソッド AbstractBorder
getBaseline, getBaselineResizeBehavior, getBorderInsets, getInteriorRectangle, getInteriorRectangle修飾子と型メソッド説明intgetBaseline(Component c, int width, int height) ベースラインを返します。サイズの変化に合わせてコンポーネントのベースラインがどのように変化するかを示す列挙を返します。このデフォルトの実装は、AbstractBorder.getBorderInsets(Component,Insets)メソッドによって初期化される新しいInsetsオブジェクトを返します。getInteriorRectangle(Component c, int x, int y, int width, int height) 静的メソッドを呼び出す簡易メソッドです。static RectanglegetInteriorRectangle(Component c, Border b, int x, int y, int width, int height) ボーダーのイン・セットから引数の値を減算して矩形を返します。クラスオブジェクトで宣言されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait修飾子と型メソッド説明protected Objectclone()このオブジェクトのコピーを作成して、返します。booleanこのオブジェクトと他のオブジェクトが等しいかどうかを示します。protected voidfinalize()削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。最終決定は非推奨であり、将来のリリースで削除される可能性があります。final Class<?> getClass()このObjectの実行時クラスを返します。inthashCode()このオブジェクトに対するハッシュ・コード値を返します。final voidnotify()このオブジェクトのモニターで待機中のスレッドを1つ再開します。final voidこのオブジェクトのモニターで待機中のすべてのスレッドを再開します。toString()オブジェクトの文字列表現を返します。final voidwait()現在のスレッドが目覚めるまで待機します。通常、notifiedまたはinterruptedです。final voidwait(long timeoutMillis) 現在のスレッドは、通常、notifiedまたはinterruptedであるか、一定のリアルタイムが経過するまで、目覚めるまで待機します。final voidwait(long timeoutMillis, int nanos) 現在のスレッドは、通常、notifiedまたはinterruptedであるか、一定のリアルタイムが経過するまで、目覚めるまで待機します。
-
コンストラクタの詳細
-
BevelBorderUIResource
public BevelBorderUIResource(int bevelType) BevelBorderUIResourceを構築します。- パラメータ:
bevelType- ボーダーの斜影のタイプ
-
BevelBorderUIResource
-
BevelBorderUIResource
@ConstructorProperties({"bevelType","highlightOuterColor","highlightInnerColor","shadowOuterColor","shadowInnerColor"}) public BevelBorderUIResource(int bevelType, Color highlightOuter, Color highlightInner, Color shadowOuter, Color shadowInner) BevelBorderUIResourceを構築します。- パラメータ:
bevelType- ボーダーの斜影のタイプhighlightOuter- ベベル外側ハイライトに使用するカラーhighlightInner- ベベル内側ハイライトに使用するカラーshadowOuter- ベベル外側シャドウに使用するカラーshadowInner- ベベル内側シャドウに使用する色
-