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

クラスMetalBorders.MenuItemBorder

    • フィールドの詳細

      • borderInsets

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

      • MenuItemBorder

        public MenuItemBorder​()
    • メソッドの詳細

      • paintBorder

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

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