|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Object
|
+--java.awt.event.MouseAdapter
|
+--ButtonHandler
This object is used to manage the mouse event associate to the ButtonCtrl. It will send the command associate to the attached button.
ButtonCtrl,
MouseAdapter| Field Summary | |
(package private) boolean |
m_bAutoRelease
If it true it will unpress the button after the action is perform. |
(package private) ButtonCtrl |
m_button
Keep the attached button. |
| Constructor Summary | |
ButtonHandler(ButtonCtrl button,
boolean bAutomaticRelease)
Constructor. |
|
| Method Summary | |
void |
mousePressed(java.awt.event.MouseEvent e)
Anwser to the mouse press event. |
void |
mouseReleased(java.awt.event.MouseEvent e)
Called when the user release the mouse button. |
| Methods inherited from class java.awt.event.MouseAdapter |
mouseClicked,
mouseEntered,
mouseExited |
| Methods inherited from class java.lang.Object |
|
| Field Detail |
ButtonCtrl m_button
boolean m_bAutoRelease
| Constructor Detail |
public ButtonHandler(ButtonCtrl button,
boolean bAutomaticRelease)
button - Button which listen the events.bAutomaticRelease - If true, the button will automaticaly
unpress after sending the command.| Method Detail |
public void mousePressed(java.awt.event.MouseEvent e)
e - Mouse event objectMouseEventpublic void mouseReleased(java.awt.event.MouseEvent e)
e - Mouse event objectMouseEvent
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||