|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.awt.event.MouseAdapter
javax.swing.plaf.basic.BasicTabbedPaneUI.MouseHandler
public class BasicTabbedPaneUI.MouseHandler
A helper class for determining if mouse presses occur inside tabs and sets the index appropriately. In SCROLL_TAB_MODE, this class also handles the mouse clicks on the scrolling buttons.
| Constructor Summary | |
|---|---|
BasicTabbedPaneUI.MouseHandler()
|
|
| Method Summary | |
|---|---|
void |
mouseEntered(MouseEvent e)
Receives notification when the mouse pointer has entered the tabbed pane. |
void |
mouseExited(MouseEvent e)
Receives notification when the mouse pointer has exited the tabbed pane. |
void |
mouseMoved(MouseEvent ev)
Receives notification when the mouse pointer has moved over the tabbed pane. |
void |
mousePressed(MouseEvent e)
This method is called when the mouse is pressed. |
void |
mouseReleased(MouseEvent e)
Implements this method in the interface with an empty method body. |
| Methods inherited from class java.awt.event.MouseAdapter |
|---|
mouseClicked |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BasicTabbedPaneUI.MouseHandler()
| Method Detail |
|---|
public void mouseReleased(MouseEvent e)
MouseAdapter
mouseReleased in interface MouseListenermouseReleased in class MouseAdaptere - the event, ignored in this implementationpublic void mousePressed(MouseEvent e)
mousePressed in interface MouseListenermousePressed in class MouseAdaptere - The MouseEvent.public void mouseEntered(MouseEvent e)
mouseEntered in interface MouseListenermouseEntered in class MouseAdaptere - the mouse eventpublic void mouseExited(MouseEvent e)
mouseExited in interface MouseListenermouseExited in class MouseAdaptere - the mouse eventpublic void mouseMoved(MouseEvent ev)
ev - the mouse event
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||