All Packages Class Hierarchy This Package Previous Next Index
Interface org.jcon.df.edit.TaskLogicFascade
- public interface TaskLogicFascade
This interface is a Fascade for TestLogic. The use of a
Fascade avoids exposing all the TaskLogic's methods,
thus allowing looser coupling. The methods are all of
what the Task needs to manupulate the views.
-
canClose()
- Causes the Fascade to query its views to see if they
can close.
-
close()
- Causes the Fascade to close permanently.
-
closeView(String)
- Closes the named view permanently.
-
getWidgetSet(String)
- Returns the WidgetSet for the named view.
-
sendMessage(Message)
- Causes the Message to be sent to listeners.
-
setVisibleView(String)
- Sets the named view visibility.
getWidgetSet
public abstract WidgetSet getWidgetSet(String viewName)
- Returns the WidgetSet for the named view. This can be
used to directly manipulate the view's controls and
modules.
setVisibleView
public abstract void setVisibleView(String viewName)
- Sets the named view visibility.
closeView
public abstract void closeView(String viewName)
- Closes the named view permanently.
canClose
public abstract String canClose()
- Causes the Fascade to query its views to see if they
can close. Returns null for yes or an explanation of
why can't close. NOTE - Currently the Fascade does NOT
query the views and always returns null.
close
public abstract void close()
- Causes the Fascade to close permanently. This must be
called to end the task.
sendMessage
public abstract boolean sendMessage(Message message)
- Causes the Message to be sent to listeners.
All Packages Class Hierarchy This Package Previous Next Index