|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.doolin.gui.action.support.DelegateDataActionContext
public class DelegateDataActionContext
This action context wraps another action context but provides its own data.
| Constructor Summary | |
|---|---|
DelegateDataActionContext(ActionContext delegate,
Object data)
Constructor |
|
| 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. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DelegateDataActionContext(ActionContext delegate,
Object data)
delegate - Delegate action contextdata - Data to provide| Method Detail |
|---|
public GUIApplication getApplication()
ActionContext
getApplication in interface ActionContextnull)public JComponent getComponent()
ActionContext
getComponent in interface ActionContextpublic Object getContext()
ActionContext
getContext in interface ActionContextnull if none has been
defined.public Object getData()
ActionContext
getData in interface ActionContextpublic SubscriberValidator getSubscriberValidator()
ActionContextfalse as soon as this ActionContext is no
longer valid.
getSubscriberValidator in interface ActionContextpublic <V> ValidationSupport<V> getValidationSupport()
ActionContext
getValidationSupport in interface ActionContextV - 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.
public <T> GUIView<T> getView()
ActionContext
getView in interface ActionContextT - Type of model for the view
null if no view is associated to this
contextpublic <T> GUIWindow<T> getWindow()
ActionContext
getWindow in interface ActionContextT - Type of model for the window
null is no window can be associated with
this context.public void setContext(Object value)
ActionContext
setContext in interface ActionContextvalue - New contextual value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||