|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ActionContext
Context for the execution of an action.
This interface is central to the Doolin GUI framework. It allows almost each
element of an application (mainly GUIAction instances) to know
where they are running: the application, the window, the view, the
data and the contextual data.
| Method Summary | ||
|---|---|---|
GUIApplication |
getApplication()
Gets the running application |
|
JComponent |
getComponent()
Gets the component associated with this context. |
|
Object |
getContext()
Gets any contextual information linked to this context. |
|
Object |
getData()
Gets the data associated with this context. |
|
SubscriberValidator |
getSubscriberValidator()
Gets the validator to use for any subscription managed by this context. |
|
|
getValidationSupport()
Gets the validation support for this action context |
|
|
getView()
Gets the view associated to this content |
|
|
getWindow()
Gets the window associated to this content |
|
void |
setContext(Object value)
Sets the contextual value of this context. |
|
| Method Detail |
|---|
GUIApplication getApplication()
null)JComponent getComponent()
Object getContext()
null if none has been
defined.Object getData()
SubscriberValidator getSubscriberValidator()
false as soon as this ActionContext is no
longer valid.
<V> ValidationSupport<V> getValidationSupport()
V - Type of the bean that is managed by the validation support. It
should be the same than the one associated with the window or
the view.
<T> GUIView<T> getView()
T - Type of model for the view
null if no view is associated to this
context<T> GUIWindow<T> getWindow()
T - Type of model for the window
null is no window can be associated with
this context.void setContext(Object value)
value - New contextual value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||