Methods' Details |
addKeyHandler
[oneway] void |
addKeyHandler( |
[in] XKeyHandler |
xHandler ); |
- Description
- Add a new listener that is called on KeyEvent s. Every listener is
given the opportunity to consume the event, i.e. prevent the not yet
called listeners from being called.
- Parameter xHandler
-
If this is a valid reference it is inserted into the list of
handlers. It is the task of the caller to not register the
same handler twice (otherwise that listener will be called
twice.)
|
|
removeKeyHandler
[oneway] void |
removeKeyHandler( |
[in] XKeyHandler |
xHandler ); |
- Description
- Remove the specified listener from the list of listeners.
- Parameter xHandler
-
If the reference is empty then nothing will be changed. If the
handler has been registered twice (or more) then all refrences
will be removed.
|
|
addMouseClickHandler
- Description
- Add a new listener that is called on MouseEvent s. Every listener is
given the opportunity to consume the event, i.e. prevent the not yet
called listeners from being called.
- Parameter xHandler
-
If this is a valid reference it is inserted into the list of
handlers. It is the task of the caller to not register the
same handler twice (otherwise that listener will be called
twice.)
|
|
removeMouseClickHandler
- Description
- Remove the specified listener from the list of listeners.
- Parameter xHandler
-
If the reference is empty then nothing will be changed. If the
handler has been registered twice (or more) then all refrences
will be removed.
|
|
Copyright © 2003 Sun Microsystems, Inc.