モジュール java.desktop
パッケージ javax.swing.plaf.basic

クラスBasicBorders.MenuBarBorder

    • コンストラクタの詳細

      • MenuBarBorder

        public MenuBarBorder​(Color shadow,
                             Color highlight)
        MenuBarBorderの新しいインスタンスを構築します。
        パラメータ:
        shadow - 影の色
        highlight - ハイライトの色
    • メソッドの詳細

      • paintBorder

        public void paintBorder​(Component c,
                                Graphics g,
                                int x,
                                int y,
                                int width,
                                int height)
        クラスからコピーされた説明: AbstractBorder
        このデフォルト実装では、ペイントを行いません。
        定義:
        paintBorder、インタフェース: Border
        オーバーライド:
        paintBorder、クラス: AbstractBorder
        パラメータ:
        c - このボーダーがペイントされるコンポーネント
        g - ペイントのグラフィックス
        x - ペイントされるボーダーのx座標
        y - ペイントされるボーダーのy座標
        width - ペイントされるボーダーの幅
        height - ペイントされるボーダーの高さ
      • getBorderInsets

        public Insets getBorderInsets​(Component c,
                                      Insets insets)
        クラスからコピーされた説明: AbstractBorder
        インセット・パラメータを、このBorderの現在のイン・セットで初期化し直します。
        オーバーライド:
        getBorderInsets、クラス: AbstractBorder
        パラメータ:
        c - このボーダーのイン・セットの値を適用するコンポーネント
        insets - 初期化し直されるオブジェクト
        戻り値:
        insetsオブジェクト