com.xpn.xwiki.gwt.api.client.dialog
Class EditPropDialog

java.lang.Object
  extended by com.google.gwt.user.client.ui.UIObject
      extended by com.google.gwt.user.client.ui.Widget
          extended by com.google.gwt.user.client.ui.Panel
              extended by com.google.gwt.user.client.ui.SimplePanel
                  extended by com.google.gwt.user.client.ui.PopupPanel
                      extended by com.google.gwt.user.client.ui.DecoratedPopupPanel
                          extended by com.google.gwt.user.client.ui.DialogBox
                              extended by com.xpn.xwiki.gwt.api.client.dialog.DefaultDialog
                                  extended by com.xpn.xwiki.gwt.api.client.dialog.Dialog
                                      extended by com.xpn.xwiki.gwt.api.client.dialog.CustomDialog
                                          extended by com.xpn.xwiki.gwt.api.client.dialog.EditPropDialog
All Implemented Interfaces:
com.google.gwt.user.client.EventListener, com.google.gwt.user.client.EventPreview, com.google.gwt.user.client.ui.HasAnimation, com.google.gwt.user.client.ui.HasHTML, com.google.gwt.user.client.ui.HasText, com.google.gwt.user.client.ui.HasWidgets, com.google.gwt.user.client.ui.MouseListener, com.google.gwt.user.client.ui.SourcesPopupEvents, java.lang.Iterable<com.google.gwt.user.client.ui.Widget>

public class EditPropDialog
extends CustomDialog

Copyright 2006,XpertNet SARL,and individual contributors as indicated by the contributors.txt.

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.

Author:
ldubost

Nested Class Summary
 
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
 
Field Summary
protected  java.lang.String fieldname
           
protected  java.lang.String formname
           
protected  java.lang.String html
           
 
Fields inherited from class com.xpn.xwiki.gwt.api.client.dialog.CustomDialog
addPanel, messagePanel
 
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
EditPropDialog(XWikiGWTApp app, java.lang.String name, java.lang.String html, java.lang.String formname, java.lang.String fieldname, int buttonModes)
          Choice dialog
 
Method Summary
protected  void endDialog()
           
 java.lang.String getFormFieldValue(java.lang.String formname, java.lang.String fieldname)
           
 
Methods inherited from class com.xpn.xwiki.gwt.api.client.dialog.CustomDialog
setMessage, setPanel
 
Methods inherited from class com.xpn.xwiki.gwt.api.client.dialog.Dialog
cancelDialog, cancelDialogAsBack, 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
doAttachChildren, doDetachChildren, getHTML, getText, onEnsureDebugId, onEventPreview, onMouseDown, onMouseEnter, onMouseLeave, onMouseMove, onMouseUp, 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
addPopupListener, center, getContainerElement, getOffsetHeight, getOffsetWidth, getPopupLeft, getPopupTop, getTitle, hide, isAnimationEnabled, onDetach, onKeyDownPreview, onKeyPressPreview, onKeyUpPreview, removePopupListener, setAnimationEnabled, setHeight, setPopupPosition, setPopupPositionAndShow, setTitle, setVisible, setWidth
 
Methods inherited from class com.google.gwt.user.client.ui.Panel
adopt, adopt, disown, onLoad, onUnload, orphan
 
Methods inherited from class com.google.gwt.user.client.ui.Widget
getParent, isAttached, onAttach, onBrowserEvent, removeFromParent
 
Methods inherited from class com.google.gwt.user.client.ui.UIObject
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, isVisible, isVisible, removeStyleDependentName, removeStyleName, setElement, setElement, setPixelSize, setSize, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setVisible, sinkEvents, toString, unsinkEvents
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

html

protected java.lang.String html

formname

protected java.lang.String formname

fieldname

protected java.lang.String fieldname
Constructor Detail

EditPropDialog

public EditPropDialog(XWikiGWTApp app,
                      java.lang.String name,
                      java.lang.String html,
                      java.lang.String formname,
                      java.lang.String fieldname,
                      int buttonModes)
Choice dialog

Parameters:
app - XWiki GWT App object to access translations and css prefix names
name - dialog name
buttonModes - button modes Dialog.BUTTON_CANCEL|Dialog.BUTTON_NEXT for Cancel / Next
Method Detail

getFormFieldValue

public java.lang.String getFormFieldValue(java.lang.String formname,
                                          java.lang.String fieldname)

endDialog

protected void endDialog()
Overrides:
endDialog in class CustomDialog


Copyright © 2004-2009 XWiki. All Rights Reserved.