|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.EventObject
com.starteam.events.QueryEvent
public final class QueryEvent
An event triggered whenever a QueryManager is added, changed or deleted on the server.
QueryListener,
Type.addFilterQueryListener(com.starteam.events.IFilterQueryListener),
Serialized Form| Method Summary | |
|---|---|
Query |
getQuery()
Gets the Query that has been added, changed or deleted, in its new state. |
java.lang.String |
toString()
Gets a short description of this QueryEvent. |
| Methods inherited from class java.util.EventObject |
|---|
getSource |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public Query getQuery()
Query.getType() will return a Type whose properties are up-to-date as of the time the event was triggered. This Type object is a physically different object from the Type object used to register the event handler. (In the case where the event handler was registered with a Server object, this Type object is physically different from the corresponding Type object in the Server's Type collection.)
If an application wants to refresh the list of queries associated with the original Type object, it must do so by explicitly calling Type.refreshFiltersAndQueries().
Query,
Type.getQueries(),
Type.refreshFiltersAndQueries()public java.lang.String toString()
toString in class java.util.EventObject
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||