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

クラスMetalScrollBarUI

    • フィールドの詳細

      • scrollBarWidth

        protected int scrollBarWidth
        スクロール・バーの幅です。
      • FREE_STANDING_PROP

        public static final String FREE_STANDING_PROP
        プロパティJScrollBar.isFreeStanding
        関連項目:
        定数フィールド値
      • isFreeStanding

        protected boolean isFreeStanding
        プロパティJScrollBar.isFreeStandingの値。
    • コンストラクタの詳細

      • MetalScrollBarUI

        public MetalScrollBarUI()
    • メソッドの詳細

      • createUI

        public static ComponentUI createUI​(JComponent c)
        新しいMetalScrollBarUIインスタンスを構築します。
        パラメータ:
        c - コンポーネント
        戻り値:
        新しいMetalScrollBarUIインスタンス
      • createDecreaseButton

        protected JButton createDecreaseButton​(int orientation)
        縮小ビューを表すビューを返します。
        オーバーライド:
        createDecreaseButton、クラス: BasicScrollBarUI
        パラメータ:
        orientation - オリエンテーション
        戻り値:
        減少ボタン
      • createIncreaseButton

        protected JButton createIncreaseButton​(int orientation)
        拡大ビューを表すビューを返します。
        オーバーライド:
        createIncreaseButton、クラス: BasicScrollBarUI
        パラメータ:
        orientation - オリエンテーション
        戻り値:
        増加ボタン
      • setThumbBounds

        protected void setThumbBounds​(int x,
                                      int y,
                                      int width,
                                      int height)
        無効な領域を拡大するときだけに、オーバーライドされます。 これはサムの下にある陰影を無効にします。
        オーバーライド:
        setThumbBounds、クラス: BasicScrollBarUI
        パラメータ:
        x - サムのxロケーションを設定
        y - サムのyのロケーションを設定
        width - サムの幅を設定
        height - サムの高さを設定
        関連項目:
        BasicScrollBarUI.getThumbBounds()