All Packages Class Hierarchy This Package Previous Next Index
Interface org.jcon.df.edit.Task
- public interface Task
- extends MessageListener
This interface represents a "task" the user needs to
perform. Each task has one or more windows, which it
can manipulate through the window's WidgetSet.
-
closeWindowRequested(String)
- Notifies the task that the user has attempted to close the
view named viewName.
-
commandRequested(String, String)
- The task should process the command.
-
getMessageDefs()
- Returns a Vector of MessageDefs defining the Messages the
task fires.
-
processEditEvent(EditEvent)
- The task should check the event type and process it if
desired.
-
setContainerServices(ContainerServices)
- Sets the entry point to the ContainerServices subsystem.
-
setTaskLogicFascade(TaskLogicFascade)
- Sets the all important source of what the task needs to
accomplish its view manipulation.
-
start(Message)
- The instance should start working, such as populating its
view with data using ContainerServices.
setTaskLogicFascade
public abstract void setTaskLogicFascade(TaskLogicFascade fascade)
- Sets the all important source of what the task needs to
accomplish its view manipulation.
setContainerServices
public abstract void setContainerServices(ContainerServices services)
- Sets the entry point to the ContainerServices subsystem.
This can be used to collaborate with other classes.
start
public abstract void start(Message startMessage)
- The instance should start working, such as populating its
view with data using ContainerServices.
- Parameters:
- startMessage - the Message that TaskLogic received
for its own start. This may contain
task specific data,
closeWindowRequested
public abstract void closeWindowRequested(String viewName)
- Notifies the task that the user has attempted to close the
view named viewName. If there is only one window for the
task then the viewName is irrelevant.
processEditEvent
public abstract void processEditEvent(EditEvent evt)
- The task should check the event type and process it if
desired. This is a polymorphic event.
commandRequested
public abstract void commandRequested(String viewName,
String command)
- The task should process the command. This is a
convenience method for EditEvent.COMMAND.
getMessageDefs
public abstract Vector getMessageDefs()
- Returns a Vector of MessageDefs defining the Messages the
task fires.
All Packages Class Hierarchy This Package Previous Next Index