クラスBorderUIResource.MatteBorderUIResource

すべての実装されたインタフェース:
Serializable, Border, UIResource
含まれているクラス:
BorderUIResource

public static class BorderUIResource.MatteBorderUIResource extends MatteBorder implements UIResource
マット・ボーダーUIリソース。
  • フィールドのサマリー

    クラスで宣言されたフィールド MatteBorder

    color, tileIcon
    修飾子と型
    フィールド
    説明
    protected Color
    枠線に対してレンダリングされる色。
    protected Icon
    枠線のタイル表示に使用するアイコン。

    クラスで宣言されたフィールド EmptyBorder

    bottom, left, right, top
    修飾子と型
    フィールド
    説明
    protected int
    ボーダーの底のインセット。
    protected int
    ボーダーの左端。
    protected int
    ボーダーの右端。
    protected int
    ボーダーの上部インセット。
  • コンストラクタのサマリー

    コンストラクタ
    コンストラクタ
    説明
    MatteBorderUIResource(int top, int left, int bottom, int right, Color color)
    MatteBorderUIResourceを構築します。
    MatteBorderUIResource(int top, int left, int bottom, int right, Icon tileIcon)
    MatteBorderUIResourceを構築します。
    MatteBorderUIResourceを構築します。
  • メソッドのサマリー

    クラスで宣言されたメソッド MatteBorder

    getBorderInsets, getBorderInsets, getMatteColor, getTileIcon, isBorderOpaque, paintBorder
    修飾子と型
    メソッド
    説明
    ボーダーのイン・セットを返します。
    insetsパラメータを、このBorderの現在のInsetsで初期化し直します。
    ボーダーのタイリングに使用したカラーを返します。タイル・アイコンが使用されている場合はnullを返します。
    ボーダーのタイリングに使用したカラーを返します。べた一色が使用されている場合はnullを返します。
    boolean
    ボーダーが不透明かどうかを返します。
    void
    paintBorder(Component c, Graphics g, int x, int y, int width, int height)
    飾り縁ボーダーをペイントします。

    クラスで宣言されたメソッド AbstractBorder

    getBaseline, getBaselineResizeBehavior, getBorderInsets, getInteriorRectangle, getInteriorRectangle
    修飾子と型
    メソッド
    説明
    int
    getBaseline(Component c, int width, int height)
    ベースラインを返します。
    サイズの変化に合わせてコンポーネントのベースラインがどのように変化するかを示す列挙を返します。
    このデフォルトの実装は、AbstractBorder.getBorderInsets(Component,Insets)メソッドによって初期化される新しいInsetsオブジェクトを返します。
    getInteriorRectangle(Component c, int x, int y, int width, int height)
    静的メソッドを呼び出す簡易メソッドです。
    static Rectangle
    getInteriorRectangle(Component c, Border b, int x, int y, int width, int height)
    ボーダーのイン・セットから引数の値を減算して矩形を返します。

    クラスオブジェクトで宣言されたメソッド

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    修飾子と型
    メソッド
    説明
    protected Object
    このオブジェクトのコピーを作成して、返します。
    boolean
    このオブジェクトと他のオブジェクトが等しいかどうかを示します。
    protected void
    削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。
    最終決定は非推奨であり、将来のリリースで削除される可能性があります。
    final Class<?>
    このObjectの実行時クラスを返します。
    int
    このオブジェクトに対するハッシュ・コード値を返します。
    final void
    このオブジェクトのモニターで待機中のスレッドを1つ再開します。
    final void
    このオブジェクトのモニターで待機中のすべてのスレッドを再開します。
    オブジェクトの文字列表現を返します。
    final void
    現在のスレッドが目覚めるまで待機します。通常、notifiedまたはinterruptedです。
    final void
    wait(long timeoutMillis)
    現在のスレッドは、通常、notifiedまたはinterruptedであるか、一定のリアルタイムが経過するまで、目覚めるまで待機します。
    final void
    wait(long timeoutMillis, int nanos)
    現在のスレッドは、通常、notifiedまたはinterruptedであるか、一定のリアルタイムが経過するまで、目覚めるまで待機します。
  • コンストラクタの詳細

    • MatteBorderUIResource

      public MatteBorderUIResource(int top, int left, int bottom, int right, Color color)
      MatteBorderUIResourceを構築します。
      パラメータ:
      top - ボーダーの上イン・セット
      left - ボーダーの左イン・セット
      bottom - ボーダーの下イン・セット
      right - ボーダーの右イン・セット
      color - ボーダー用にレンダリングされるカラー
    • MatteBorderUIResource

      public MatteBorderUIResource(int top, int left, int bottom, int right, Icon tileIcon)
      MatteBorderUIResourceを構築します。
      パラメータ:
      top - ボーダーの上イン・セット
      left - ボーダーの左イン・セット
      bottom - ボーダーの下イン・セット
      right - ボーダーの右イン・セット
      tileIcon - ボーダーのタイリングに使うアイコン
    • MatteBorderUIResource

      public MatteBorderUIResource(Icon tileIcon)
      MatteBorderUIResourceを構築します。
      パラメータ:
      tileIcon - ボーダーのタイリングに使うアイコン