Nuxeo Enterprise Platform 5.4

org.nuxeo.opensocial.container.client.view
Class PreferencesWidget

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 org.nuxeo.opensocial.container.client.view.PreferencesWidget
All Implemented Interfaces:
com.google.gwt.event.logical.shared.HasCloseHandlers<com.google.gwt.user.client.ui.PopupPanel>, com.google.gwt.event.shared.HasHandlers, 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, Iterable<com.google.gwt.user.client.ui.Widget>, net.customware.gwt.presenter.client.Display, net.customware.gwt.presenter.client.widget.WidgetDisplay, PreferencesPresenter.Display

public class PreferencesWidget
extends com.google.gwt.user.client.ui.DialogBox
implements PreferencesPresenter.Display

Author:
Stéphane Fourrier

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
 
Field Summary
 
Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
 
Constructor Summary
PreferencesWidget()
           
 
Method Summary
 com.google.gwt.user.client.ui.HasValue<Boolean> addBooleanUserPref(String name, String displayName)
           
 com.google.gwt.user.client.ui.HasValue<String> addColorsUserPref(String name, String displayName)
           
 HasMultipleValue<String> addEnumUserPref(String name, String displayName)
           
 NXIDTextBox addNXIDUserPref(String name, String displayName)
           
 com.google.gwt.user.client.ui.HasValue<String> addStringUserPref(String name, String displayName)
           
 com.google.gwt.user.client.ui.Widget asWidget()
           
 void clean()
           
 com.google.gwt.event.dom.client.HasClickHandlers getBorderColors()
           
 com.google.gwt.event.dom.client.HasClickHandlers getCancelButton()
           
 com.google.gwt.event.dom.client.HasClickHandlers getHeaderColors()
           
 com.google.gwt.event.dom.client.HasClickHandlers getSaveButton()
           
 com.google.gwt.user.client.ui.HasText getTitleBox()
           
 com.google.gwt.event.dom.client.HasClickHandlers getTitleColors()
           
 com.google.gwt.event.dom.client.HasKeyUpHandlers getTitleEvent()
           
 void hidePopup()
           
 void setBorderColor(String color)
           
 void setHeaderColor(String color)
           
 void setTitleColor(String color)
           
 void showPopup()
           
 void startProcessing()
           
 void stopProcessing()
           
 
Methods inherited from class com.google.gwt.user.client.ui.DialogBox
getCaption, getHTML, getText, hide, onBrowserEvent, onMouseDown, onMouseEnter, onMouseLeave, onMouseMove, onMouseUp, setHTML, setText, show
 
Methods inherited from class com.google.gwt.user.client.ui.DecoratedPopupPanel
clear, getWidget, iterator, remove, setWidget
 
Methods inherited from class com.google.gwt.user.client.ui.PopupPanel
addAutoHidePartner, addCloseHandler, addPopupListener, center, getGlassStyleName, getOffsetHeight, getOffsetWidth, getPopupLeft, getPopupTop, getTitle, hide, isAnimationEnabled, isAutoHideEnabled, isAutoHideOnHistoryEventsEnabled, isGlassEnabled, isModal, isPreviewingAllNativeEvents, isShowing, isVisible, onEventPreview, onKeyDownPreview, onKeyPressPreview, onKeyUpPreview, 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
add
 
Methods inherited from class com.google.gwt.user.client.ui.Widget
fireEvent, getLayoutData, getParent, isAttached, removeFromParent, setLayoutData, sinkEvents
 
Methods inherited from class com.google.gwt.user.client.ui.UIObject
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getStyleName, getStylePrimaryName, isVisible, removeStyleDependentName, removeStyleName, setPixelSize, setSize, setStyleName, setStylePrimaryName, setVisible, toString, unsinkEvents
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.google.gwt.event.shared.HasHandlers
fireEvent
 

Constructor Detail

PreferencesWidget

public PreferencesWidget()
Method Detail

getBorderColors

public com.google.gwt.event.dom.client.HasClickHandlers getBorderColors()
Specified by:
getBorderColors in interface PreferencesPresenter.Display

setBorderColor

public void setBorderColor(String color)
Specified by:
setBorderColor in interface PreferencesPresenter.Display

getHeaderColors

public com.google.gwt.event.dom.client.HasClickHandlers getHeaderColors()
Specified by:
getHeaderColors in interface PreferencesPresenter.Display

setHeaderColor

public void setHeaderColor(String color)
Specified by:
setHeaderColor in interface PreferencesPresenter.Display

getTitleColors

public com.google.gwt.event.dom.client.HasClickHandlers getTitleColors()
Specified by:
getTitleColors in interface PreferencesPresenter.Display

setTitleColor

public void setTitleColor(String color)
Specified by:
setTitleColor in interface PreferencesPresenter.Display

getCancelButton

public com.google.gwt.event.dom.client.HasClickHandlers getCancelButton()
Specified by:
getCancelButton in interface PreferencesPresenter.Display

getSaveButton

public com.google.gwt.event.dom.client.HasClickHandlers getSaveButton()
Specified by:
getSaveButton in interface PreferencesPresenter.Display

getTitleBox

public com.google.gwt.user.client.ui.HasText getTitleBox()
Specified by:
getTitleBox in interface PreferencesPresenter.Display

getTitleEvent

public com.google.gwt.event.dom.client.HasKeyUpHandlers getTitleEvent()
Specified by:
getTitleEvent in interface PreferencesPresenter.Display

hidePopup

public void hidePopup()
Specified by:
hidePopup in interface PreferencesPresenter.Display

showPopup

public void showPopup()
Specified by:
showPopup in interface PreferencesPresenter.Display

clean

public void clean()

asWidget

public com.google.gwt.user.client.ui.Widget asWidget()
Specified by:
asWidget in interface net.customware.gwt.presenter.client.widget.WidgetDisplay

startProcessing

public void startProcessing()
Specified by:
startProcessing in interface net.customware.gwt.presenter.client.Display

stopProcessing

public void stopProcessing()
Specified by:
stopProcessing in interface net.customware.gwt.presenter.client.Display

addBooleanUserPref

public com.google.gwt.user.client.ui.HasValue<Boolean> addBooleanUserPref(String name,
                                                                          String displayName)
Specified by:
addBooleanUserPref in interface PreferencesPresenter.Display

addStringUserPref

public com.google.gwt.user.client.ui.HasValue<String> addStringUserPref(String name,
                                                                        String displayName)
Specified by:
addStringUserPref in interface PreferencesPresenter.Display

addColorsUserPref

public com.google.gwt.user.client.ui.HasValue<String> addColorsUserPref(String name,
                                                                        String displayName)
Specified by:
addColorsUserPref in interface PreferencesPresenter.Display

addEnumUserPref

public HasMultipleValue<String> addEnumUserPref(String name,
                                                String displayName)
Specified by:
addEnumUserPref in interface PreferencesPresenter.Display

addNXIDUserPref

public NXIDTextBox addNXIDUserPref(String name,
                                   String displayName)
Specified by:
addNXIDUserPref in interface PreferencesPresenter.Display

Nuxeo Enterprise Platform 5.4

Copyright © 2011 Nuxeo SAS. All Rights Reserved.