|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.doolin.gui.window.descriptor.AbstractGUIWindowDescriptor<B>
net.sf.doolin.gui.wizard.descriptor.WizardDescriptor<B>
B - Type of bean for the wizardpublic class WizardDescriptor<B>
Window descriptor for a wizard.
| Constructor Summary | |
|---|---|
WizardDescriptor()
Constructor that fixes the window factory to WizardWindowFactory. |
|
WizardDescriptor(WizardWindowFactory wizardWindowFactory)
Constructor that uses a custom version of WizardWindowFactory. |
|
| Method Summary | ||
|---|---|---|
protected void |
arrangeViews(GUIWindow<B> window)
Arranges the views inside the window. |
|
protected void |
arrangeWindow(GUIWindow<B> window)
Arranges the window. |
|
String |
getInitialView()
Gets the initial view for this wizard |
|
IWindowFactory |
getIwindowFactory()
Gets the factory for the wizard window implementation |
|
protected GUIViewDescriptor<B> |
getViewDescriptor(String viewId)
Gets the actual view descriptor from a view name |
|
Map<String,GUIViewDescriptor<B>> |
getViewMap()
Gets the mapping between view names and actual view descriptors. |
|
WizardRules<B> |
getWizardRules()
Gets the navigation rules for this wizard |
|
boolean |
isModal()
Checks if the wizard must be executed in modal mode or not. |
|
|
openView(GUIWindow<B> parentWindow,
GUIViewDescriptor<V> viewDescriptor,
V viewData)
Always return null since a wizard cannot hold views. |
|
void |
setInitialView(String initialView)
Sets the initial view name for this wizard. |
|
void |
setIwindowFactory(IWindowFactory iwindowFactory)
Sets the window implementation factory for this wizard. |
|
void |
setModal(boolean modal)
Sets the modal mode of the wizard |
|
protected void |
setViewId(GUIWindow<B> window,
String viewId)
Navigates to a new view. |
|
void |
setViewMap(Map<String,GUIViewDescriptor<B>> viewMap)
Sets the mapping between view names and actual view descriptors. |
|
void |
setWindowFactory(GUIWindowFactory windowFactory)
Sets the window factory for this wizard. |
|
void |
setWizardRules(WizardRules<B> wizardRules)
Sets the navigation rules for this wizard. |
|
| Methods inherited from class net.sf.doolin.gui.window.descriptor.AbstractGUIWindowDescriptor |
|---|
activateView, arrange, arrangeActionBars, createWindow, getActionFactory, getCloseAction, getIconId, getIconService, getMenuBar, getSize, getTitleExpression, getToolBars, getWindow, getWindowId, getWindowId, getWindowListeners, hideView, initViewComponent, onCloseWindow, onClosingWindow, onOpenedWindow, setActionFactory, setBeanName, setCloseAction, setIconId, setIconService, setMenuBar, setSize, setTitleExpression, setToolBars, setWindowId, setWindowListeners |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WizardDescriptor()
WizardWindowFactory.
public WizardDescriptor(WizardWindowFactory wizardWindowFactory)
WizardWindowFactory.
| Method Detail |
|---|
protected void arrangeViews(GUIWindow<B> window)
AbstractGUIWindowDescriptor
arrangeViews in class AbstractGUIWindowDescriptor<B>window - Window to arrangeprotected void arrangeWindow(GUIWindow<B> window)
AbstractGUIWindowDescriptor
arrangeWindow in class AbstractGUIWindowDescriptor<B>window - Windowpublic String getInitialView()
public IWindowFactory getIwindowFactory()
protected GUIViewDescriptor<B> getViewDescriptor(String viewId)
viewId - View name
public Map<String,GUIViewDescriptor<B>> getViewMap()
public WizardRules<B> getWizardRules()
public boolean isModal()
public <V> GUIView<V> openView(GUIWindow<B> parentWindow,
GUIViewDescriptor<V> viewDescriptor,
V viewData)
null since a wizard cannot hold views.
V - Type of data for the viewparentWindow - Parent windowviewDescriptor - Descriptor for the view to openviewData - Data for the view
public void setInitialView(String initialView)
initialView - Initial view namepublic void setIwindowFactory(IWindowFactory iwindowFactory)
DefaultIWindowFactory.
iwindowFactory - Window implementation factorypublic void setModal(boolean modal)
modal - Modal mode
protected void setViewId(GUIWindow<B> window,
String viewId)
window - Wizard windowviewId - View to navigate to.public void setViewMap(Map<String,GUIViewDescriptor<B>> viewMap)
viewMap - Mapping between view names and actual view descriptorspublic void setWindowFactory(GUIWindowFactory windowFactory)
WizardWindowFactory.
setWindowFactory in class AbstractGUIWindowDescriptor<B>windowFactory - Factory for the window implementationpublic void setWizardRules(WizardRules<B> wizardRules)
wizardRules - Navigation rules
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||