gov.sandia.ccaffeine.dc.user_iface.MVC.event
Class QueryEvent
java.lang.Object
java.util.EventObject
gov.sandia.ccaffeine.dc.user_iface.MVC.event.QueryEvent
- All Implemented Interfaces:
- java.io.Serializable
public class QueryEvent
- extends java.util.EventObject
Used to notify components that an entity
wants to send a query.
A view entity might
respond by sending back a
ResultSetEvent.
- See Also:
- Serialized Form
Fields inherited from class java.util.EventObject |
source |
Methods inherited from class java.util.EventObject |
getSource, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
query
protected java.lang.Object query
requester
protected ResultSetListener requester
QueryEvent
public QueryEvent(java.lang.Object source,
java.lang.Object query,
ResultSetListener requester)
- Create a QueryEvent.
Used to notify components that an entity
wants to send a query.
A view entity might
respond by sending back a
ResultSetEvent.
- Parameters:
source
- The entity that created this event.query
- The queryrequester
- The entity that sent the query.
The response to the query will be sent to the requester
of the query.
getQuery
public java.lang.Object getQuery()
- Retrieve the query.
- Returns:
- The query.
getRequester
public ResultSetListener getRequester()
- Retrieve the entity that sent the query.
The response to the query will be sent to the requester
of the query.
- Returns:
- The entity that sent the query.