|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectedu.sc.seis.gee.task.QueryEventsTask
QueryEventsTask.java Created: Wed Jan 16 08:25:02 2002
| Field Summary | |
protected boolean |
guiInitialized
|
static TimeInterval |
QUERY_INCREMENT
|
| Fields inherited from interface edu.sc.seis.gee.configurator.DefaultParamNames |
BUTTON_GROUP_ID, BUTTON_MODEL, DISPLAY_LOCATION, EAST, FALSE, FRAME, HEIGHT, HEIGHTPER, HORIZONTAL, JUSTIFY, JUSTIFY_BOTTOMLEFT, JUSTIFY_BOTTOMRIGHT, JUSTIFY_CENTER, JUSTIFY_TOPLEFT, JUSTIFY_TOPRIGHT, MAIN, NONE, NORTH, ORIENTATION, PALETTE, PREFIX, PRESELECTED, SERVER_DNS, SERVER_NAME, TASK_ACTION, TASK_CLASSNAME, TASK_ID, TASK_INSTANCE, TASK_NAME, TOOLTIP, TRUE, VERTICAL, WIDTH, WIDTHPER |
| Constructor Summary | |
QueryEventsTask()
|
|
| Method Summary | |
protected void |
appendEventDestinations(EventAccessOperations[] eventAccess)
|
void |
configure(java.util.Map params)
Configures a Task with any needed parameters. |
protected javax.swing.JComponent |
createGUI()
|
void |
destroy()
Called when reset is invoked on gee or if this task is no longer being used |
AbstractHandler |
getConfigureHandler(java.lang.String name,
org.xml.sax.XMLReader parser,
AbstractHandler parent)
|
java.util.Date |
getEndTime()
|
javax.swing.JComponent |
getGUI()
Gets the GUI for this Task. |
javax.swing.JComponent |
getMoreOptionsGUI()
Gets the "More Options" GUI component. |
java.util.Date |
getStartTime()
|
boolean |
hasMoreOptions()
True if this GUI has a "more options" funtionality. |
void |
invoke()
Called when a task is to be executed, usually by a menu or toolbar selection for simple tasks. |
ProxyEventAccessOperations[] |
queryEvents()
|
ProxyEventAccessOperations[] |
queryEvents(Area area,
Quantity minDepth,
Quantity maxDepth,
TimeRange timeRange,
java.lang.String[] magTypes,
float minMagnitude,
float maxMagnitude,
java.lang.String[] catalogs,
java.lang.String[] contributors)
|
EventAccessOperations[] |
queryEvents(Quantity minDepth,
Quantity maxDepth,
TimeRange timeRange,
float minMagnitude,
float maxMagnitude)
|
void |
setEndTime(java.util.Date d)
|
void |
setStartTime(java.util.Date d)
|
void |
timeConflictError()
|
void |
updateEventDestinations(EventAccessOperations[] eventAccess)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final TimeInterval QUERY_INCREMENT
protected boolean guiInitialized
| Constructor Detail |
public QueryEventsTask()
| Method Detail |
public javax.swing.JComponent getMoreOptionsGUI()
GUITask
getMoreOptionsGUI in interface GUITaskpublic boolean hasMoreOptions()
GUITask
hasMoreOptions in interface GUITaskpublic javax.swing.JComponent getGUI()
GUITask
getGUI in interface GUITaskpublic void invoke()
Task
invoke in interface Taskpublic void destroy()
Task
destroy in interface Task
public void configure(java.util.Map params)
throws ConfigurationException
TaskTask with any needed parameters. The Task
should have default values for as many things as possible, but can
throw a ConfigureException if a required parameter is missing.
configure in interface Taskparams - a Map value
ConfigurationException - if an error occursprotected javax.swing.JComponent createGUI()
public ProxyEventAccessOperations[] queryEvents()
throws ConfigurationException,
NoNetworkException
ConfigurationException
NoNetworkException
public ProxyEventAccessOperations[] queryEvents(Area area,
Quantity minDepth,
Quantity maxDepth,
TimeRange timeRange,
java.lang.String[] magTypes,
float minMagnitude,
float maxMagnitude,
java.lang.String[] catalogs,
java.lang.String[] contributors)
throws ConfigurationException,
NoNetworkException
ConfigurationException
NoNetworkException
public EventAccessOperations[] queryEvents(Quantity minDepth,
Quantity maxDepth,
TimeRange timeRange,
float minMagnitude,
float maxMagnitude)
throws ConfigurationException,
NoNetworkException
ConfigurationException
NoNetworkExceptionpublic void updateEventDestinations(EventAccessOperations[] eventAccess)
protected void appendEventDestinations(EventAccessOperations[] eventAccess)
public java.util.Date getStartTime()
public java.util.Date getEndTime()
public void timeConflictError()
public void setStartTime(java.util.Date d)
public void setEndTime(java.util.Date d)
public AbstractHandler getConfigureHandler(java.lang.String name,
org.xml.sax.XMLReader parser,
AbstractHandler parent)
getConfigureHandler in interface SAXTask
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||