|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectwt.events.KeyedEventListenerAdapter
public class KeyedEventListenerAdapter
A do-nothing implementation of KeyedEventListener. Each method does nothing and designed to be overridden by derived classes. This allows classes derived from KeyedEventListener to be quickly created.
NOTE: it is preferable to extend this class (as opposed to simply implementing
KeyedEventListener).
Supported API: true
Extendable: true
| Method Summary | |
|---|---|
void |
notifyEvent(Object eventObject)
Notify the listener that a single-object event has occurred. |
void |
notifyMultiObjectEvent(Object eventObject)
Notify the listener that a multi-object event has occurred. |
void |
notifyVetoableEvent(Object eventObject)
Notify the listener that a single-object event has occurred. |
void |
notifyVetoableMultiObjectEvent(Object eventObject)
Notify the listener that a multi-object event has occurred. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public void notifyEvent(Object eventObject)
notifyEvent in interface KeyedEventListenereventObject -
public void notifyVetoableEvent(Object eventObject)
throws Exception
notifyVetoableEvent in interface KeyedEventListenereventObject -
Exception - the dispatcher and listener must agree on
the exception type.public void notifyMultiObjectEvent(Object eventObject)
notifyMultiObjectEvent in interface KeyedEventListenereventObject -
public void notifyVetoableMultiObjectEvent(Object eventObject)
throws Exception
notifyVetoableMultiObjectEvent in interface KeyedEventListenereventObject -
Exception - the dispatcher and listener must agree on
the exception type.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||