Home | Trees | Indices | Help |
|
---|
|
object --+ | util.EventObject --+ | ui.component.Event --+ | ClickEvent
Class for holding information about a mouse click event. A ClickEvent is fired when the user clicks on a
Component
.
The information available for click events are terminal dependent. Correct values for all event details cannot be guaranteed.
See Also:
ClickListener
Version: 1.1.2
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from Inherited from |
|
|||
BUTTON_LEFT = 1
|
|||
BUTTON_MIDDLE = 4
|
|||
BUTTON_RIGHT = 2
|
|
|||
Inherited from |
|
Constructs a new event with the specified source component.
|
Returns an identifier describing which mouse button the user pushed. Compare with BUTTON_LEFT, BUTTON_MIDDLE, BUTTON_RIGHT to find out which button it is.
|
Returns the mouse position (x coordinate) when the click took place. The position is relative to the browser client area.
|
Returns the mouse position (y coordinate) when the click took place. The position is relative to the browser client area.
|
Returns the relative mouse position (x coordinate) when the click took place. The position is relative to the clicked component.
|
Returns the relative mouse position (y coordinate) when the click took place. The position is relative to the clicked component.
|
Checks if the event is a double click event.
|
Checks if the Alt key was down when the mouse event took place.
|
Checks if the Ctrl key was down when the mouse event took place.
|
Checks if the Meta key was down when the mouse event took place.
|
Checks if the Shift key was down when the mouse event took place.
|
Returns a human readable string representing which button has been pushed. This is meant for debug purposes only and the string returned could change. Use getButton to check which button was pressed.
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Sat Apr 20 16:52:51 2013 | http://epydoc.sourceforge.net |