84 |
/** |
/** |
85 |
* A helper class that handles focus. |
* A helper class that handles focus. |
86 |
*/ |
*/ |
87 |
protected class FocusHandler extends FocusAdapter |
public class FocusHandler extends FocusAdapter |
88 |
{ |
{ |
89 |
/** |
/** |
90 |
* This method is called when the component gains focus. |
* This method is called when the component gains focus. |
112 |
* sets the index appropriately. In SCROLL_TAB_MODE, this class also |
* sets the index appropriately. In SCROLL_TAB_MODE, this class also |
113 |
* handles the mouse clicks on the scrolling buttons. |
* handles the mouse clicks on the scrolling buttons. |
114 |
*/ |
*/ |
115 |
protected class MouseHandler extends MouseAdapter |
public class MouseHandler extends MouseAdapter |
116 |
{ |
{ |
117 |
/** |
/** |
118 |
* This method is called when the mouse is pressed. The index cannot |
* This method is called when the mouse is pressed. The index cannot |