|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.doolin.bus.bean.Bean
net.sf.doolin.gui.action.support.AbstractActionContext
net.sf.doolin.gui.view.support.ViewActionContext<V>
V - Type of object for the viewpublic class ViewActionContext<V>
Context based on a view.
| Constructor Summary | |
|---|---|
ViewActionContext(GUIView<V> view)
Constructor |
|
ViewActionContext(GUIView<V> view,
Object initialContextValue)
Constructor |
|
| Method Summary | ||
|---|---|---|
protected
|
createValidationSupport()
Creates the validation support |
|
GUIApplication |
getApplication()
Gets the running application |
|
JComponent |
getComponent()
Gets the component associated with 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. |
|
|
getView()
Gets the view associated to this content |
|
|
getWindow()
Gets the window associated to this content |
|
| Methods inherited from class net.sf.doolin.gui.action.support.AbstractActionContext |
|---|
getContext, getValidationSupport, setContext |
| Methods inherited from class net.sf.doolin.bus.bean.Bean |
|---|
getBeanNotificationSupport, getParentBean, notify, setParentBean |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ViewActionContext(GUIView<V> view)
view - View
public ViewActionContext(GUIView<V> view,
Object initialContextValue)
view - ViewinitialContextValue - Initial context value| Method Detail |
|---|
protected <T> ValidationSupport<T> createValidationSupport()
AbstractActionContext
createValidationSupport in class AbstractActionContextT - Type of bean for the validator
public GUIApplication getApplication()
ActionContext
null)public JComponent getComponent()
ActionContext
public Object getData()
ActionContext
public SubscriberValidator getSubscriberValidator()
ActionContextfalse as soon as this ActionContext is no
longer valid.
public <T> GUIView<T> getView()
ActionContext
T - Type of model for the view
null if no view is associated to this
contextpublic <T> GUIWindow<T> getWindow()
ActionContext
T - Type of model for the window
null is no window can be associated with
this context.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||