Nuxeo Enterprise Platform 5.4

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

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.ContainerBuilderWidget
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, ContainerBuilderPresenter.Display

public class ContainerBuilderWidget
extends com.google.gwt.user.client.ui.DialogBox
implements ContainerBuilderPresenter.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
ContainerBuilderWidget()
           
 
Method Summary
 int addZone()
           
 com.google.gwt.user.client.ui.Widget asWidget()
           
 com.google.gwt.event.dom.client.HasClickHandlers getAddRowButton()
           
 com.google.gwt.event.dom.client.HasClickHandlers getCloseBuilderButton()
           
 HasMultipleValue<String> getContainerSizeListBox()
           
 com.google.gwt.user.client.ui.HasValue<String> getCustomSizeTextBox()
           
 Map getEventFromCustomContentPanel(com.google.gwt.event.dom.client.ClickEvent event)
           
 com.google.gwt.user.client.ui.HasValue<Boolean> getFooterSelectionCheckBox()
           
 com.google.gwt.user.client.ui.HasValue<Boolean> getHeaderSelectionCheckBox()
           
 com.google.gwt.event.dom.client.HasClickHandlers getListOfZonePanel()
           
 com.google.gwt.event.dom.client.HasClickHandlers getShowCodeButton()
           
 HasMultipleValue<String> getSideBarPositionListBox()
           
 com.google.gwt.event.dom.client.HasClickHandlers getValidCustomSizeButton()
           
 HasMultipleValue<String> getZone(int index)
           
 void hidePopup()
           
 void removeZone(int index)
           
 void setData()
           
 void setFooter(boolean hasFooter)
           
 void setHeader(boolean hasHeader)
           
 void setSizePanelVisible(boolean isVisible)
           
 void showCloseButtonPanel()
           
 void showCodePreviewPanel()
           
 void showContainerSizePanel()
           
 void showFooterPanel()
           
 void showHeaderPanel()
           
 void showHTMLCode(String codeSource)
           
 void showPopup()
           
 void showSideBarPanel()
           
 void showZonesPanel()
           
 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

ContainerBuilderWidget

public ContainerBuilderWidget()
Method Detail

showContainerSizePanel

public void showContainerSizePanel()
Specified by:
showContainerSizePanel in interface ContainerBuilderPresenter.Display

showSideBarPanel

public void showSideBarPanel()
Specified by:
showSideBarPanel in interface ContainerBuilderPresenter.Display

showZonesPanel

public void showZonesPanel()
Specified by:
showZonesPanel in interface ContainerBuilderPresenter.Display

showHeaderPanel

public void showHeaderPanel()
Specified by:
showHeaderPanel in interface ContainerBuilderPresenter.Display

showFooterPanel

public void showFooterPanel()
Specified by:
showFooterPanel in interface ContainerBuilderPresenter.Display

showCodePreviewPanel

public void showCodePreviewPanel()
Specified by:
showCodePreviewPanel in interface ContainerBuilderPresenter.Display

showCloseButtonPanel

public void showCloseButtonPanel()
Specified by:
showCloseButtonPanel in interface ContainerBuilderPresenter.Display

getContainerSizeListBox

public HasMultipleValue<String> getContainerSizeListBox()
Specified by:
getContainerSizeListBox in interface ContainerBuilderPresenter.Display

getCustomSizeTextBox

public com.google.gwt.user.client.ui.HasValue<String> getCustomSizeTextBox()
Specified by:
getCustomSizeTextBox in interface ContainerBuilderPresenter.Display

getValidCustomSizeButton

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

getSideBarPositionListBox

public HasMultipleValue<String> getSideBarPositionListBox()
Specified by:
getSideBarPositionListBox in interface ContainerBuilderPresenter.Display

getAddRowButton

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

getListOfZonePanel

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

getEventFromCustomContentPanel

public Map getEventFromCustomContentPanel(com.google.gwt.event.dom.client.ClickEvent event)
Specified by:
getEventFromCustomContentPanel in interface ContainerBuilderPresenter.Display

getHeaderSelectionCheckBox

public com.google.gwt.user.client.ui.HasValue<Boolean> getHeaderSelectionCheckBox()
Specified by:
getHeaderSelectionCheckBox in interface ContainerBuilderPresenter.Display

getFooterSelectionCheckBox

public com.google.gwt.user.client.ui.HasValue<Boolean> getFooterSelectionCheckBox()
Specified by:
getFooterSelectionCheckBox in interface ContainerBuilderPresenter.Display

getShowCodeButton

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

getCloseBuilderButton

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

setSizePanelVisible

public void setSizePanelVisible(boolean isVisible)
Specified by:
setSizePanelVisible in interface ContainerBuilderPresenter.Display

setHeader

public void setHeader(boolean hasHeader)
Specified by:
setHeader in interface ContainerBuilderPresenter.Display

setFooter

public void setFooter(boolean hasFooter)
Specified by:
setFooter in interface ContainerBuilderPresenter.Display

setData

public void setData()
Specified by:
setData in interface ContainerBuilderPresenter.Display

addZone

public int addZone()
Specified by:
addZone in interface ContainerBuilderPresenter.Display

removeZone

public void removeZone(int index)
Specified by:
removeZone in interface ContainerBuilderPresenter.Display

getZone

public HasMultipleValue<String> getZone(int index)
Specified by:
getZone in interface ContainerBuilderPresenter.Display

showHTMLCode

public void showHTMLCode(String codeSource)
Specified by:
showHTMLCode in interface ContainerBuilderPresenter.Display

showPopup

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

hidePopup

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

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

Nuxeo Enterprise Platform 5.4

Copyright © 2011 Nuxeo SAS. All Rights Reserved.