Previous ION Java User's Guide: ION Java Class and Method Reference Next

mousePressed()

Call the mousePressed() method when a mouse button is pressed in a drawable. Note that the Mouse Listener must have been registered in the drawable prior to calling mousePressed().

Syntax

public abstract void mousePressed(IONDrawable drawable, int X, int Y, long when,    int mask)

Arguments

drawable

The IONDrawable object in which the event occurred.

X

The X location of the mouse.

Y

The Y location of the mouse.

when

The time when the event happened.

mask

The button that was pressed.

Exceptions

None.

  IDL Online Help (March 06, 2007)