|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectjava.awt.event.MouseAdapter
javax.swing.plaf.basic.BasicScrollBarUI.TrackListener
protected class BasicScrollBarUI.TrackListener
マウスドラッグをトラックします。
| フィールドの概要 | |
|---|---|
protected int |
currentMouseX
|
protected int |
currentMouseY
|
protected int |
offset
|
| コンストラクタの概要 | |
|---|---|
protected |
BasicScrollBarUI.TrackListener()
|
| メソッドの概要 | |
|---|---|
void |
mouseDragged(MouseEvent e)
垂直スクロールバーのサムの上、または水平スクロールバーの左または右にある、左から右へのスクロールバーのサム、または右から左へのスクロールバーのサムの位置に、モデル値を設定します。 |
void |
mouseExited(MouseEvent e)
スクロールバーからマウスが出ると呼び出されます。 |
void |
mouseMoved(MouseEvent e)
ボタンを押さずに、マウスカーソルをコンポーネント上に移動すると呼び出されます。 |
void |
mousePressed(MouseEvent e)
サムコンポーネント上でマウスボタンを押した場合、スクロールバーの値を 1 ページ分減らし (ページアップ)、そうでない場合は 1 ページ分増やします。 |
void |
mouseReleased(MouseEvent e)
コンポーネント上でマウスボタンが離されると呼び出されます。 |
| クラス java.awt.event.MouseAdapter から継承されたメソッド |
|---|
mouseClicked, mouseEntered |
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| フィールドの詳細 |
|---|
protected transient int offset
protected transient int currentMouseX
protected transient int currentMouseY
| コンストラクタの詳細 |
|---|
protected BasicScrollBarUI.TrackListener()
| メソッドの詳細 |
|---|
public void mouseReleased(MouseEvent e)
MouseAdapter の記述:
MouseListener 内の mouseReleasedMouseAdapter 内の mouseReleasedpublic void mousePressed(MouseEvent e)
MouseListener 内の mousePressedMouseAdapter 内の mousePressedpublic void mouseDragged(MouseEvent e)
MouseMotionListener 内の mouseDraggedpublic void mouseMoved(MouseEvent e)
MouseMotionListener の記述:
MouseMotionListener 内の mouseMovedpublic void mouseExited(MouseEvent e)
MouseListener 内の mouseExitedMouseAdapter 内の mouseExitede - イベントを詳しく記述する MouseEvent
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Documentation Redistribution Policy も参照してください。