|
||||||||||
| 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.Panel
com.google.gwt.user.client.ui.SimplePanel
com.google.gwt.user.client.ui.PopupPanel
com.google.gwt.user.client.ui.DecoratedPopupPanel
com.google.gwt.user.client.ui.DialogBox
com.xpn.xwiki.gwt.api.client.dialog.DefaultDialog
com.xpn.xwiki.gwt.api.client.dialog.Dialog
com.xpn.xwiki.gwt.api.client.dialog.ChoiceDialog
public class ChoiceDialog
See the NOTICE file distributed with this work for additional information regarding copyright ownership.
This is free software;you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation;either version2.1of the License,or(at your option)any later version. This software is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this software;if not,write to the Free Software Foundation,Inc.,51 Franklin St,Fifth Floor,Boston,MA 02110-1301 USA,or see the FSF site:http://www.fsf.org.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.DialogBox |
|---|
com.google.gwt.user.client.ui.DialogBox.Caption |
| Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.PopupPanel |
|---|
com.google.gwt.user.client.ui.PopupPanel.PositionCallback |
| Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled |
| Nested classes/interfaces inherited from interface com.google.gwt.user.client.ui.HasWidgets |
|---|
com.google.gwt.user.client.ui.HasWidgets.ForIsWidget |
| Field Summary |
|---|
| Fields inherited from class com.xpn.xwiki.gwt.api.client.dialog.Dialog |
|---|
app, BUTTON_CANCEL, BUTTON_NEXT, BUTTON_PREVIOUS, cancelText, currentResult, nextCallback, nextText, previousText, wizard |
| Fields inherited from class com.xpn.xwiki.gwt.api.client.dialog.DefaultDialog |
|---|
contentPanel |
| Fields inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
DEBUG_ID_PREFIX |
| Constructor Summary | |
|---|---|
ChoiceDialog(XWikiGWTApp app,
java.lang.String name,
int buttonModes,
boolean autoSelect)
Choice dialog |
|
ChoiceDialog(XWikiGWTApp app,
java.lang.String name,
int buttonModes,
boolean autoSelect,
com.google.gwt.user.client.rpc.AsyncCallback nextCallback)
Choice dialog |
|
| Method Summary | |
|---|---|
void |
addChoice(ChoiceInfo choice)
|
void |
addChoice(java.lang.String name)
|
void |
onChoiceClick(com.xpn.xwiki.gwt.api.client.dialog.ChoiceDialog.ChoiceButton choiceButton)
|
| Methods inherited from class com.xpn.xwiki.gwt.api.client.dialog.Dialog |
|---|
cancelDialog, cancelDialogAsBack, endDialog, getActionsPanel, getButtonModes, getCancelText, getCSSName, getCSSName, getCssPrefix, getCurrentResult, getDialogTranslationName, getName, getNextCallback, getNextText, getPreviousText, getWizard, setAsyncCallback, setButtonModes, setCancelText, setCssPrefix, setCurrentResult, setDialogTranslationName, setName, setNextCallback, setNextText, setPreviousText, setWizard |
| Methods inherited from class com.xpn.xwiki.gwt.api.client.dialog.DefaultDialog |
|---|
add, hide, show |
| Methods inherited from class com.google.gwt.user.client.ui.DialogBox |
|---|
beginDragging, continueDragging, doAttachChildren, doDetachChildren, endDragging, getCaption, getHTML, getText, onBrowserEvent, onEnsureDebugId, onMouseDown, onMouseEnter, onMouseLeave, onMouseMove, onMouseUp, onPreviewNativeEvent, setHTML, setHTML, setText |
| Methods inherited from class com.google.gwt.user.client.ui.DecoratedPopupPanel |
|---|
clear, getCellElement, getWidget, iterator, remove, setWidget |
| Methods inherited from class com.google.gwt.user.client.ui.PopupPanel |
|---|
addAutoHidePartner, addCloseHandler, addPopupListener, center, getContainerElement, getGlassElement, getGlassStyleName, getOffsetHeight, getOffsetWidth, getPopupLeft, getPopupTop, getStyleElement, getTitle, hide, isAnimationEnabled, isAutoHideEnabled, isAutoHideOnHistoryEventsEnabled, isGlassEnabled, isModal, isPreviewingAllNativeEvents, isShowing, isVisible, onEventPreview, onKeyDownPreview, onKeyPressPreview, onKeyUpPreview, onUnload, removeAutoHidePartner, removePopupListener, setAnimationEnabled, setAutoHideEnabled, setAutoHideOnHistoryEventsEnabled, setGlassEnabled, setGlassStyleName, setHeight, setModal, setPopupPosition, setPopupPositionAndShow, setPreviewingAllNativeEvents, setTitle, setVisible, setWidth, showRelativeTo |
| Methods inherited from class com.google.gwt.user.client.ui.SimplePanel |
|---|
setWidget |
| Methods inherited from class com.google.gwt.user.client.ui.Panel |
|---|
add, adopt, adopt, disown, orphan, remove |
| Methods inherited from class com.google.gwt.user.client.ui.Widget |
|---|
addAttachHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onDetach, onLoad, removeFromParent, setLayoutData, sinkEvents |
| Methods inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, isVisible, removeStyleDependentName, removeStyleName, setElement, setElement, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setVisible, toString, unsinkEvents |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.google.gwt.event.shared.HasHandlers |
|---|
fireEvent |
| Constructor Detail |
|---|
public ChoiceDialog(XWikiGWTApp app,
java.lang.String name,
int buttonModes,
boolean autoSelect)
app - XWiki GWT App object to access translations and css prefix namesname - dialog namebuttonModes - button modes Dialog.BUTTON_CANCEL|Dialog.BUTTON_NEXT for Cancel / Next
public ChoiceDialog(XWikiGWTApp app,
java.lang.String name,
int buttonModes,
boolean autoSelect,
com.google.gwt.user.client.rpc.AsyncCallback nextCallback)
app - XWiki GWT App object to access translations and css prefix namesname - dialog namebuttonModes - button modes Dialog.BUTTON_CANCEL|Dialog.BUTTON_NEXT for Cancel / NextnextCallback - Callback when dialog is finished| Method Detail |
|---|
public void addChoice(java.lang.String name)
public void addChoice(ChoiceInfo choice)
public void onChoiceClick(com.xpn.xwiki.gwt.api.client.dialog.ChoiceDialog.ChoiceButton choiceButton)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||