| java.lang.Object org.glasser.qform.QueryPanelEvent
QueryPanelEvent | final public class QueryPanelEvent implements SmartEvent,java.io.Serializable(Code) | | This is a SmartEvent that is fired by a QueryPanel to notify listeners of
various types of events.
author: David F. Glasser |
Constructor Summary | |
public | QueryPanelEvent(QueryPanel source, int type) Constructs a QueryPanelEvent object.
Parameters: source - the QueryPanel which originated this event. Parameters: type - an it indicating what type of event occurred. |
Method Summary | |
public Class | getListenerClass() Returns the Class for the interface that receives this type of event; in this
particular case is is QueryPanelListener.class. | public int | getType() Returns an int indicating the type of event occurred. | public void | notifyListener(EventListener listener) This method, specified by the org.glasser.util.SmartEventListener interface,
is passed a reference to one of the listeners registered to receive this
event. |
HORIZONTAL_SCROLLBAR_STATE_CHANGED | final public static int HORIZONTAL_SCROLLBAR_STATE_CHANGED(Code) | | |
STATE_CHANGED | final public static int STATE_CHANGED(Code) | | |
QueryPanelEvent | public QueryPanelEvent(QueryPanel source, int type)(Code) | | Constructs a QueryPanelEvent object.
Parameters: source - the QueryPanel which originated this event. Parameters: type - an it indicating what type of event occurred. Currently the onlytype of event is STATE_CHANGED. |
getListenerClass | public Class getListenerClass()(Code) | | Returns the Class for the interface that receives this type of event; in this
particular case is is QueryPanelListener.class.
|
getType | public int getType()(Code) | | Returns an int indicating the type of event occurred. Currently the only
type of event is STATE_CHANGED.
|
notifyListener | public void notifyListener(EventListener listener)(Code) | | This method, specified by the org.glasser.util.SmartEventListener interface,
is passed a reference to one of the listeners registered to receive this
event. It then calls the appropriate method on the listener interface,
notifying the object of the event.
|
|
|