|
JavaTM 2 Platform Standard Ed. 6 |
|||||||||
| 上一個類別 下一個類別 | 框架 無框架 | |||||||||
| 摘要: 巢狀 | 欄位 | 建構子 | 方法 | 詳細資訊: 欄位 | 建構子 | 方法 | |||||||||
java.lang.Objectjavax.swing.plaf.basic.BasicToolBarUI.DockingListener
public class BasicToolBarUI.DockingListener
此類別應視為“受保護”內部類別。僅在 BasicToolBarUI 的子類別中實例化此類別。
| 欄位摘要 | |
|---|---|
protected boolean |
isDragging
|
protected Point |
origin
|
protected JToolBar |
toolBar
|
| 建構子摘要 | |
|---|---|
BasicToolBarUI.DockingListener(JToolBar t)
|
|
| 方法摘要 | |
|---|---|
void |
mouseClicked(MouseEvent e)
鼠標按鍵在元件上單擊(按下並釋放)時調用。 |
void |
mouseDragged(MouseEvent e)
鼠標按鍵在元件上按下並拖動時調用。 |
void |
mouseEntered(MouseEvent e)
鼠標進入到元件上時調用。 |
void |
mouseExited(MouseEvent e)
鼠標離開元件時調用。 |
void |
mouseMoved(MouseEvent e)
鼠標鼠標移動到元件上但無按鍵按下時調用。 |
void |
mousePressed(MouseEvent e)
鼠標按鍵在元件上按下時調用。 |
void |
mouseReleased(MouseEvent e)
鼠標按鈕在元件上釋放時調用。 |
| 從類別 java.lang.Object 繼承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 欄位詳細資訊 |
|---|
protected JToolBar toolBar
protected boolean isDragging
protected Point origin
| 建構子詳細資訊 |
|---|
public BasicToolBarUI.DockingListener(JToolBar t)
| 方法詳細資訊 |
|---|
public void mouseClicked(MouseEvent e)
MouseListener 複製的描述
MouseListener 中的 mouseClickedpublic void mousePressed(MouseEvent e)
MouseListener 複製的描述
MouseListener 中的 mousePressedpublic void mouseReleased(MouseEvent e)
MouseListener 複製的描述
MouseListener 中的 mouseReleasedpublic void mouseEntered(MouseEvent e)
MouseListener 複製的描述
MouseListener 中的 mouseEnteredpublic void mouseExited(MouseEvent e)
MouseListener 複製的描述
MouseListener 中的 mouseExitedpublic void mouseDragged(MouseEvent e)
MouseMotionListener 複製的描述MOUSE_DRAGGED 事件被連續地傳遞到發起該拖動的元件(而不管鼠標位置是否處於該元件的邊界內)。
由於拖放實作是與平臺相關的,所以在本機拖放操作期間可能不傳遞 MOUSE_DRAGGED 事件。
MouseMotionListener 中的 mouseDraggedpublic void mouseMoved(MouseEvent e)
MouseMotionListener 複製的描述
MouseMotionListener 中的 mouseMoved
|
JavaTM 2 Platform Standard Ed. 6 |
|||||||||
| 上一個類別 下一個類別 | 框架 無框架 | |||||||||
| 摘要: 巢狀 | 欄位 | 建構子 | 方法 | 詳細資訊: 欄位 | 建構子 | 方法 | |||||||||
版權所有 2008 Sun Microsystems, Inc. 保留所有權利。請遵守GNU General Public License, version 2 only。