|
JavaTM 2 Platform Standard Ed. 6 |
|||||||||
| 上一個類別 下一個類別 | 框架 無框架 | |||||||||
| 摘要: 巢狀 | 欄位 | 建構子 | 方法 | 詳細資訊: 欄位 | 建構子 | 方法 | |||||||||
java.lang.Objectjava.awt.event.MouseAdapter
javax.swing.plaf.basic.BasicTreeUI.MouseHandler
public class BasicTreeUI.MouseHandler
TreeMouseListener 負責基於鼠標事件更新選擇。
| 建構子摘要 | |
|---|---|
BasicTreeUI.MouseHandler()
|
|
| 方法摘要 | |
|---|---|
void |
mouseDragged(MouseEvent e)
鼠標按鍵在元件上按下並拖動時調用。 |
void |
mouseMoved(MouseEvent e)
已將鼠標按鍵移動到元件上(但沒有按下任何一個按鍵)時調用。 |
void |
mousePressed(MouseEvent e)
在元件上按下鼠標按鍵時調用。 |
void |
mouseReleased(MouseEvent e)
鼠標按鈕在元件上釋放時調用。 |
| 從類別 java.awt.event.MouseAdapter 繼承的方法 |
|---|
mouseClicked, mouseEntered, mouseExited, mouseWheelMoved |
| 從類別 java.lang.Object 繼承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 建構子詳細資訊 |
|---|
public BasicTreeUI.MouseHandler()
| 方法詳細資訊 |
|---|
public void mousePressed(MouseEvent e)
MouseListener 中的 mousePressedMouseAdapter 中的 mousePressedpublic void mouseDragged(MouseEvent e)
MouseAdapter 複製的描述MOUSE_DRAGGED 事件被連續地傳遞到發起該拖動的元件(而不管鼠標位置是否處於該元件的邊界內)。
由於拖放實作是與平臺相關的,所以在本機拖放操作期間可能不傳遞 MOUSE_DRAGGED 事件。
MouseMotionListener 中的 mouseDraggedMouseAdapter 中的 mouseDraggedpublic void mouseMoved(MouseEvent e)
MouseMotionListener 中的 mouseMovedMouseAdapter 中的 mouseMovedpublic void mouseReleased(MouseEvent e)
MouseAdapter 複製的描述
MouseListener 中的 mouseReleasedMouseAdapter 中的 mouseReleased
|
JavaTM 2 Platform Standard Ed. 6 |
|||||||||
| 上一個類別 下一個類別 | 框架 無框架 | |||||||||
| 摘要: 巢狀 | 欄位 | 建構子 | 方法 | 詳細資訊: 欄位 | 建構子 | 方法 | |||||||||
版權所有 2008 Sun Microsystems, Inc. 保留所有權利。請遵守GNU General Public License, version 2 only。