edu.sc.seis.gee.task
Class DisplayMakerTask

java.lang.Object
  extended byedu.sc.seis.gee.task.DisplayMakerTask
All Implemented Interfaces:
DefaultParamNames, Task
Direct Known Subclasses:
AdditionSortedSeismogramDisplay, AzSortMultiSeismogramWindowTask, BazSortMultiSeismogramWindowTask, ComponentSortedWindowTask, DistSortMultiSeismogramWindowTask, MultiSeismogramWindowTask, PickZoneWindow, RecordSectionTask, ReverseAdditionSortedDisplayTask, ReverseAlphabeticalDisplayTask, ReverseAzDisplayTask, ReverseBazDisplayTask, ReverseDistanceDisplayTask, SingleWindowDisplayTask, StationWindowTask

public abstract class DisplayMakerTask
extends java.lang.Object
implements Task


Field Summary
protected  ColumnSeismogramTask colSeis
           
protected  java.util.Map params
           
 
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
DisplayMakerTask()
           
 
Method Summary
 void configure(java.util.Map configParams)
          Configures a Task with any needed parameters.
 void destroy()
          Called when reset is invoked on gee or if this task is no longer being used
 void invoke()
          Called when a task is to be executed, usually by a menu or toolbar selection for simple tasks.
abstract  SeismogramDisplay makeDisplay()
           
abstract  boolean needsEventInformation()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

colSeis

protected ColumnSeismogramTask colSeis

params

protected java.util.Map params
Constructor Detail

DisplayMakerTask

public DisplayMakerTask()
Method Detail

makeDisplay

public abstract SeismogramDisplay makeDisplay()

needsEventInformation

public abstract boolean needsEventInformation()

invoke

public void invoke()
            throws ConfigurationException
Description copied from interface: Task
Called when a task is to be executed, usually by a menu or toolbar selection for simple tasks.

Specified by:
invoke in interface Task
Throws:
ConfigurationException

configure

public void configure(java.util.Map configParams)
Description copied from interface: Task
Configures a Task 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.

Specified by:
configure in interface Task
Parameters:
configParams - a Map value

destroy

public void destroy()
Description copied from interface: Task
Called when reset is invoked on gee or if this task is no longer being used

Specified by:
destroy in interface Task


Copyright © 2002-2006 Seismology at the University of South Carolina. All Rights Reserved.