|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.click.ActionEventDispatcher.EventHolder
public class ActionEventDispatcher.EventHolder
Holds the list of listeners and event sources.
Field Summary | |
---|---|
protected int |
event
The EventHolder's event. |
Constructor Summary | |
---|---|
ActionEventDispatcher.EventHolder(int event)
Create a new EventHolder for the given event. |
Method Summary | |
---|---|
void |
clear()
Clear the events. |
boolean |
fireActionEvents(Context context)
Fire all the registered action events and return true if the page should continue processing. |
List<ActionListener> |
getEventListenerList()
Return the list of event listeners. |
List<Control> |
getEventSourceList()
Return the list of event sources. |
boolean |
hasActionEvents()
Checks if any Action Events have been registered. |
void |
registerActionEvent(Control source,
ActionListener listener)
Register the event source and event ActionListener to be fired in the specified event. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected int event
Constructor Detail |
---|
public ActionEventDispatcher.EventHolder(int event)
event
- the EventHolder's eventMethod Detail |
---|
public void registerActionEvent(Control source, ActionListener listener)
source
- the action event sourcelistener
- the event action listenerpublic boolean hasActionEvents()
public List<ActionListener> getEventListenerList()
public List<Control> getEventSourceList()
public void clear()
public boolean fireActionEvents(Context context)
context
- the page request context
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |