クラスMetalBorders.PopupMenuBorder

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

public static class MetalBorders.PopupMenuBorder extends AbstractBorder implements UIResource
クラスはJPopupMenuのボーダーを表します。
  • フィールドのサマリー

    フィールド
    修飾子と型
    フィールド
    説明
    protected static Insets
    ボーダー・インセット。
  • コンストラクタのサマリー

    コンストラクタ
    コンストラクタ
    説明
    PopupMenuBorderを構築します。
  • メソッドのサマリー

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

    getBaseline, getBaselineResizeBehavior, getBorderInsets, getBorderInsets, getInteriorRectangle, getInteriorRectangle, isBorderOpaque, paintBorder
    修飾子と型
    メソッド
    説明
    int
    getBaseline(Component c, int width, int height)
    ベースラインを返します。
    サイズの変化に合わせてコンポーネントのベースラインがどのように変化するかを示す列挙を返します。
    このデフォルトの実装は、AbstractBorder.getBorderInsets(Component,Insets)メソッドによって初期化される新しいInsetsオブジェクトを返します。
    インセット・パラメータを、このBorderの現在のイン・セットで初期化し直します。
    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)
    ボーダーのイン・セットから引数の値を減算して矩形を返します。
    boolean
    このデフォルト実装はfalseを返します。
    void
    paintBorder(Component c, Graphics g, 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であるか、一定のリアルタイムが経過するまで、目覚めるまで待機します。
  • フィールド詳細

    • borderInsets

      protected static Insets borderInsets
      ボーダー・インセット。
  • コンストラクタの詳細

    • PopupMenuBorder

      public PopupMenuBorder()
      PopupMenuBorderを構築します。