|
||||||||||
| 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.window.support.WindowActionContext<B>
B - Type of data for the windowpublic class WindowActionContext<B>
Action context for a window
| Constructor Summary | |
|---|---|
WindowActionContext(GUIWindow<B> window)
Constructor |
|
| Method Summary | ||
|---|---|---|
protected ValidationSupport<B> |
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 WindowActionContext(GUIWindow<B> window)
window - The window| Method Detail |
|---|
protected ValidationSupport<B> createValidationSupport()
AbstractActionContext
createValidationSupport in class AbstractActionContextpublic 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 | |||||||||