|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.Widget
com.google.gwt.user.client.ui.Composite
com.maryanovsky.gwtutils.client.Dialog
com.maryanovsky.gwtutils.client.Wizard
public class Wizard
A wizard is a multi-stage dialog.
| Field Summary |
|---|
| Fields inherited from class com.maryanovsky.gwtutils.client.Dialog |
|---|
dialogCallback |
| Constructor Summary | |
|---|---|
Wizard(DialogCallback dialogCallback)
Creates a new Wizard with the specified dialog callback. |
|
| Method Summary | |
|---|---|
protected void |
addStage(Widget stageWidget)
Adds a stage to the (end of the) stages of this wizard. |
protected DialogCallback |
makeContinuationCallback()
Returns dialog callback which can be used in intermediate dialogs to deny if the user denies, and continue to the next stage if he confirms. |
protected DialogCallback |
makeFinishCallback()
Returns a dialog callback which can be used as the callback of the last stage - it denies to the global callback if the user denies, and confirms if the user confirms. |
protected void |
onAttach()
Displays the first stage, or confirms (in a deferred command) if there are no stages. |
protected void |
showNextStage()
Moves to the next stage. |
| Methods inherited from class com.google.gwt.user.client.ui.Composite |
|---|
getElement, getWidget, initWidget, isAttached, onDetach, setWidget |
| Methods inherited from class com.google.gwt.user.client.ui.Widget |
|---|
doAttachChildren, doDetachChildren, getParent, onBrowserEvent, onLoad, onUnload, removeFromParent, setElement |
| Methods inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
addStyleDependentName, addStyleName, getAbsoluteLeft, getAbsoluteTop, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, removeStyleDependentName, removeStyleName, setHeight, setPixelSize, setSize, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkEvents, toString, unsinkEvents |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Wizard(DialogCallback dialogCallback)
| Method Detail |
|---|
protected void addStage(Widget stageWidget)
null value) immediately when
shown.
protected void onAttach()
onAttach in class Compositeprotected void showNextStage()
protected DialogCallback makeContinuationCallback()
protected DialogCallback makeFinishCallback()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||