|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xwiki.gwt.wysiwyg.client.widget.wizard.util.AbstractSelectorWizardStep<T>
T - the type of data edited by this wizard steppublic abstract class AbstractSelectorWizardStep<T>
Abstract WizardStep 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()
|
|
| Method Summary | |
|---|---|
T |
getData()
|
java.lang.String |
getDirectionName(NavigationListener.NavigationDirection direction)
|
java.lang.Object |
getResult()
|
java.util.EnumSet<NavigationListener.NavigationDirection> |
getValidDirections()
|
void |
init(java.lang.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 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 |
|---|
display, getNextStep, getStepTitle, onCancel, onSubmit |
| Constructor Detail |
|---|
public AbstractSelectorWizardStep()
| Method Detail |
|---|
public void init(java.lang.Object data,
com.google.gwt.user.client.rpc.AsyncCallback<?> cb)
init in interface WizardStepprotected void initializeSelection(com.google.gwt.user.client.rpc.AsyncCallback<?> initCallback)
init(Object, AsyncCallback) time.
initCallback - the initialization callback, to handle asynchronous initialization.public java.lang.String getDirectionName(NavigationListener.NavigationDirection direction)
getDirectionName in interface WizardSteppublic java.lang.Object getResult()
getResult in interface WizardSteppublic java.util.EnumSet<NavigationListener.NavigationDirection> getValidDirections()
getValidDirections in interface WizardSteppublic T getData()
WizardSteppublic void setActive()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||