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

クラスBasicDesktopIconUI.MouseInputHandler

    • コンストラクタの詳細

      • MouseInputHandler

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

      • moveAndRepaint

        public void moveAndRepaint​(JComponent f,
                                   int newX,
                                   int newY,
                                   int newWidth,
                                   int newHeight)
        コンポーネントfを移動および再描画します。
        パラメータ:
        f - コンポーネント
        newX - 新しいX座標
        newY - 新しいY座標
        newWidth - 新しい幅
        newHeight - 新しい高さ