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.


Method Index

 o canClose()
Causes the Fascade to query its views to see if they can close.
 o close()
Causes the Fascade to close permanently.
 o closeView(String)
Closes the named view permanently.
 o getWidgetSet(String)
Returns the WidgetSet for the named view.
 o sendMessage(Message)
Causes the Message to be sent to listeners.
 o setVisibleView(String)
Sets the named view visibility.

Methods

 o 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.

 o setVisibleView

 public abstract void setVisibleView(String viewName)

Sets the named view visibility.

 o closeView

 public abstract void closeView(String viewName)

Closes the named view permanently.

 o 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.

 o close

 public abstract void close()

Causes the Fascade to close permanently. This must be called to end the task.

 o sendMessage

 public abstract boolean sendMessage(Message message)

Causes the Message to be sent to listeners.



All Packages  Class Hierarchy  This Package  Previous  Next  Index