|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xwiki.gwt.user.client.ui.wizard.AbstractNavigationAwareWizardStep
org.xwiki.gwt.user.client.ui.wizard.AbstractInteractiveWizardStep
org.xwiki.gwt.wysiwyg.client.widget.wizard.util.AbstractSelectorWizardStep<T>
T - the type of data edited by this wizard steppublic abstract class AbstractSelectorWizardStep<T>
Abstract interactive wizard step to implement basic selector functions (storing edited data on
init(Object, AsyncCallback) and returning on getResult(), step names, directions, initialization),
regardless of the actual selecting method.
| Constructor Summary | |
|---|---|
AbstractSelectorWizardStep()
Default constructor. |
|
AbstractSelectorWizardStep(com.google.gwt.user.client.ui.FlowPanel panel)
Creates a new step that uses the given panel. |
|
| Method Summary | |
|---|---|
T |
getData()
|
Object |
getResult()
|
void |
init(Object data,
com.google.gwt.user.client.rpc.AsyncCallback<?> cb)
|
protected void |
initializeSelection(com.google.gwt.user.client.rpc.AsyncCallback<?> initCallback)
Initializes the selection on init(Object, AsyncCallback) time. |
void |
setActive()
Notifies this wizard step that it has been activated, when part of an aggregator for example. |
| Methods inherited from class org.xwiki.gwt.user.client.ui.wizard.AbstractInteractiveWizardStep |
|---|
display, getStepTitle, isAutoSubmit, setStepTitle |
| Methods inherited from class org.xwiki.gwt.user.client.ui.wizard.AbstractNavigationAwareWizardStep |
|---|
getDirectionName, getNextStep, getValidDirections, setDirectionName, setNextStep, setValidDirections |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.xwiki.gwt.user.client.ui.wizard.WizardStep |
|---|
onCancel, onSubmit |
| Constructor Detail |
|---|
public AbstractSelectorWizardStep()
public AbstractSelectorWizardStep(com.google.gwt.user.client.ui.FlowPanel panel)
panel - the panel where to place the step's widgets| Method Detail |
|---|
public void init(Object data,
com.google.gwt.user.client.rpc.AsyncCallback<?> cb)
WizardStep.init(Object, AsyncCallback)protected void initializeSelection(com.google.gwt.user.client.rpc.AsyncCallback<?> initCallback)
init(Object, AsyncCallback) time.
initCallback - the initialization callback, to handle asynchronous initializationpublic Object getResult()
WizardStep.getResult()public T getData()
public void setActive()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||