Nuxeo Enterprise Platform 5.4

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

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.FolderPickerWidget
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, FolderPickerPresenter.Display

public class FolderPickerWidget
extends com.google.gwt.user.client.ui.DialogBox
implements FolderPickerPresenter.Display


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
FolderPickerWidget()
           
 
Method Summary
 FolderWidget addFolder(String name, String id)
           
 com.google.gwt.user.client.ui.Widget asWidget()
           
 com.google.gwt.event.dom.client.HasClickHandlers getChooseButton()
           
 com.google.gwt.event.dom.client.HasClickHandlers getCloseButton()
           
 String getSelectedFolder()
           
 void hidePicker()
           
 void showFolderDetails(String title, String imagePreview, String creator)
           
 void showPicker()
           
 void startProcessing()
           
 void stopProcessing()
           
 void unSelectFolders()
           
 
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

FolderPickerWidget

public FolderPickerWidget()
Method Detail

addFolder

public FolderWidget addFolder(String name,
                              String id)
Specified by:
addFolder in interface FolderPickerPresenter.Display

unSelectFolders

public void unSelectFolders()
Specified by:
unSelectFolders in interface FolderPickerPresenter.Display

getSelectedFolder

public String getSelectedFolder()
Specified by:
getSelectedFolder in interface FolderPickerPresenter.Display

showFolderDetails

public void showFolderDetails(String title,
                              String imagePreview,
                              String creator)
Specified by:
showFolderDetails in interface FolderPickerPresenter.Display

hidePicker

public void hidePicker()
Specified by:
hidePicker in interface FolderPickerPresenter.Display

showPicker

public void showPicker()
Specified by:
showPicker in interface FolderPickerPresenter.Display

asWidget

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

getCloseButton

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

getChooseButton

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

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

Nuxeo Enterprise Platform 5.4

Copyright © 2011 Nuxeo SAS. All Rights Reserved.