|
JavaTM Platform Standard Ed. 6 |
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectjava.awt.event.MouseAdapter
javax.swing.event.MouseInputAdapter
javax.swing.plaf.basic.BasicSliderUI.TrackListener
public class BasicSliderUI.TrackListener
マウスの動きを追跡します。
このクラスは、「protected」内部クラスとして扱う必要があります。このクラスのインスタンス生成は、
Copyright 2009 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Documentation Redistribution Policy も参照してください。
フィールドの概要
protected intcurrentMouseX
protected intcurrentMouseY
protected intoffset
コンストラクタの概要
BasicSliderUI.TrackListener()
メソッドの概要
voidmouseDragged(MouseEvent e)
モデル値を、トラックの原点を基準にしてサムの上部または左側に設定します。
voidmouseMoved(MouseEvent e)
ボタンを押さずに、マウスカーソルをコンポーネント上に移動すると呼び出されます。
voidmousePressed(MouseEvent e)
「サム」コンポーネント上でマウスボタンを押した場合、スクロールバーの値を 1 ページ分減らし (ページアップ)、そうでない場合は 1 ページ分増やします。
voidmouseReleased(MouseEvent e)
コンポーネント上でマウスボタンが離されると呼び出されます。
booleanshouldScroll(int direction)
クラス java.awt.event.MouseAdapter から継承されたメソッド
mouseClicked, mouseEntered, mouseExited, mouseWheelMoved
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
インタフェース java.awt.event.MouseListener から継承されたメソッド
mouseClicked, mouseEntered, mouseExited
フィールドの詳細
offset
protected transient int offset
currentMouseX
protected transient int currentMouseX
currentMouseY
protected transient int currentMouseY
コンストラクタの詳細
BasicSliderUI.TrackListener
public BasicSliderUI.TrackListener()
メソッドの詳細
mouseReleased
public void mouseReleased(MouseEvent e)
MouseAdapter の記述:
MouseListener 内の mouseReleasedMouseAdapter 内の mouseReleased
mousePressed
public void mousePressed(MouseEvent e)
MouseListener 内の mousePressedMouseAdapter 内の mousePressed
shouldScroll
public boolean shouldScroll(int direction)
mouseDragged
public void mouseDragged(MouseEvent e)
MouseMotionListener 内の mouseDraggedMouseAdapter 内の mouseDragged
mouseMoved
public void mouseMoved(MouseEvent e)
MouseAdapter の記述:
MouseMotionListener 内の mouseMovedMouseAdapter 内の mouseMoved
概要
パッケージ
クラス
使用
階層ツリー
非推奨 API
索引
ヘルプ
JavaTM Platform
Standard Ed. 6
前のクラス
次のクラス
フレームあり
フレームなし
概要: 入れ子 | フィールド | コンストラクタ | メソッド
詳細: フィールド | コンストラクタ | メソッド
バグの報告と機能のリクエスト
さらに詳しい API リファレンスおよび開発者ドキュメントについては、Java SE 開発者用ドキュメントを参照してください。開発者向けの詳細な解説、概念の概要、用語の定義、バグの回避策、およびコード実例が含まれています。