|
||||||||||
| 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
asquare.gwt.tk.client.ui.ModalDialog
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 asquare.gwt.tk.client.ui.ModalDialog |
|---|
asquare.gwt.tk.client.ui.ModalDialog.CaptionWrapper, asquare.gwt.tk.client.ui.ModalDialog.DragStyleController, asquare.gwt.tk.client.ui.ModalDialog.FocusOnCloseController, asquare.gwt.tk.client.ui.ModalDialog.InitializeFocusController, asquare.gwt.tk.client.ui.ModalDialog.PositionDialogController |
| 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 asquare.gwt.tk.client.ui.ModalDialog |
|---|
s_focusImpl, STYLENAME_CAPTION, STYLENAME_CONTENT, STYLENAME_DIALOG, STYLENAME_DRAGGING, STYLENAME_GLASSPANEL |
| 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 asquare.gwt.tk.client.ui.ModalDialog |
|---|
add, addController, createCaptionControllers, createControllers, getContentElement, getContentMinHeight, getContentMinWidth, getContentOffsetHeight, getContentOffsetWidth, getController, getFocusModel, getFocusOnCloseWidget, getGlassPanel, hide, onAttach, onBrowserEvent, onDetach, remove, removeController, setCaption, setCaption, setContentHeight, setContentMinHeight, setContentMinWidth, setContentWidth, setControllers, setFocusModel, show, show, sinkEvents, unsinkEvents |
| Methods inherited from class com.google.gwt.user.client.ui.PopupPanel |
|---|
addPopupListener, getPopupLeft, getPopupTop, onEventPreview, onKeyDownPreview, onKeyPressPreview, onKeyUpPreview, removePopupListener, setPopupPosition |
| Methods inherited from class com.google.gwt.user.client.ui.SimplePanel |
|---|
getContainerElement, getWidget, iterator, setWidget |
| Methods inherited from class com.google.gwt.user.client.ui.Panel |
|---|
adopt, clear, disown |
| Methods inherited from class com.google.gwt.user.client.ui.Widget |
|---|
getParent, isAttached, onLoad, removeFromParent |
| Methods inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
addStyleName, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleName, getTitle, isVisible, isVisible, removeStyleName, setElement, setHeight, setPixelSize, setSize, setStyleName, setStyleName, setTitle, setVisible, setVisible, setWidth, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| 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 | |||||||||