MouseEvent

Represents an event cause by mouse activitly. There are two possible way to identify a mouse event. One is by coordination (getX() and getY(). The other is by a logical name, called area (getArea()).

Class Name

org.zkoss.zk.ui.event.MouseEvent

Methods

Name

Description

Data Type

getArea()

Returns the logical name of the area that the click occurs, or null if not available.

java.lang.String

getKeys()

Returns what keys were pressed when the mouse is clicked, or 0 if none of them was pressed.

int

getX()

Returns the x coordination of the mouse pointer relevant to the component.

int

getY()

Returns the y coordination of the mouse pointer relevant to the component.

int

Inherited From