java.lang.Object javax.swing.plaf.basic.BasicToolBarUI.DockingListener
This inner class is marked "public" due to a compiler bug.
This class should be treated as a "protected" inner class. Instantiate it only within subclasses of BasicToolBarUI.
Field Summary | |
---|---|
protected boolean |
isDragging
|
protected Point |
origin
|
protected JToolBar |
toolBar
|
Constructor Summary | |
---|---|
BasicToolBarUI.DockingListener
(
JToolBar
t) |
Method Summary | |
---|---|
void |
mouseClicked
(
MouseEvent
e) Invoked when the mouse button has been clicked (pressed and released) on a component. |
void |
mouseDragged
(
MouseEvent
e) Invoked when a mouse button is pressed on a component and then dragged. |
void |
mouseEntered
(
MouseEvent
e) Invoked when the mouse enters a component. |
void |
mouseExited
(
MouseEvent
e) Invoked when the mouse exits a component. |
void |
mouseMoved
(
MouseEvent
e) Invoked when the mouse cursor has been moved onto a component but no buttons have been pushed. |
void |
mousePressed
(
MouseEvent
e) Invoked when a mouse button has been pressed on a component. |
void |
mouseReleased
(
MouseEvent
e) Invoked when a mouse button has been released on a component. |
Methods inherited from class java.lang. Object |
---|
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait |
Field Detail |
---|
protected JToolBar toolBar
protected boolean isDragging
protected Point origin
Constructor Detail |
---|
public BasicToolBarUI.DockingListener(JToolBar t)
Method Detail |
---|
public void mouseClicked(MouseEvent e)
public void mousePressed(MouseEvent e)
public void mouseReleased(MouseEvent e)
public void mouseEntered(MouseEvent e)
public void mouseExited(MouseEvent e)
public void mouseDragged(MouseEvent e)
Due to platform-dependent Drag&Drop implementations, MOUSE_DRAGGED events may not be delivered during a native Drag&Drop operation.
public void mouseMoved(MouseEvent e)