javax.swing.plaf.basic
public class BasicToolBarUI.DockingListener extends Object implements MouseInputListener
Field Summary | |
---|---|
protected boolean | isDragging Whether the JToolBar is being dragged. |
protected Point | origin
The origin point. |
protected JToolBar | toolBar The JToolBar being dragged. |
Constructor Summary | |
---|---|
DockingListener(JToolBar t)
Creates a new DockingListener object.
|
Method Summary | |
---|---|
void | mouseClicked(MouseEvent e)
This method is called when the mouse is clicked.
|
void | mouseDragged(MouseEvent e)
This method is called when the mouse is dragged. |
void | mouseEntered(MouseEvent e)
This method is called when the mouse enters the JToolBar.
|
void | mouseExited(MouseEvent e)
This method is called when the mouse exits the JToolBar.
|
void | mouseMoved(MouseEvent e)
This method is called when the mouse is moved in the JToolBar.
|
void | mousePressed(MouseEvent e)
This method is called when the mouse is pressed in the JToolBar. |
void | mouseReleased(MouseEvent e)
This method is called when the mouse is released from the JToolBar.
|
Parameters: t The JToolBar this DockingListener is being used for.
Parameters: e The MouseEvent.
Parameters: e The MouseEvent.
Parameters: e The MouseEvent.
Parameters: e The MouseEvent.
Parameters: e The MouseEvent.
Parameters: e The MouseEvent.
Parameters: e The MouseEvent.