Nuxeo Enterprise Platform 5.4

org.nuxeo.opensocial.container.client.external.html
Class HTMLGadget

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.Composite
              extended by org.nuxeo.opensocial.container.client.gadgets.AbstractGadget
                  extended by org.nuxeo.opensocial.container.client.external.html.HTMLGadget
All Implemented Interfaces:
com.google.gwt.event.shared.HasHandlers, com.google.gwt.user.client.EventListener, net.customware.gwt.presenter.client.Display, net.customware.gwt.presenter.client.widget.WidgetDisplay, HTMLPresenter.Display, HasFacets

public class HTMLGadget
extends AbstractGadget
implements HTMLPresenter.Display

Author:
Stéphane Fourrier

Nested Class Summary
 
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
HTMLGadget()
           
 
Method Summary
 com.google.gwt.user.client.ui.Widget asWidget()
           
 void enableFacets()
           
 void enableModifPanel(String baseUrl)
           
 com.google.gwt.event.dom.client.HasClickHandlers getCancelButton()
           
 com.google.gwt.event.dom.client.HasClickHandlers getDeletePictureImage()
           
 String getHtmlFromEditor()
           
 String getHtmlFromView()
           
 com.google.gwt.user.client.ui.Image getHtmlPicture()
           
 com.google.gwt.user.client.ui.HasText getHtmlTitle()
           
 com.google.gwt.user.client.ui.HasText getLegendTextBox()
           
 com.google.gwt.user.client.ui.HasText getLinkTextBox()
           
 com.google.gwt.event.dom.client.HasClickHandlers getModifyButton()
           
 com.google.gwt.user.client.ui.Image getPreviewImage()
           
 com.google.gwt.event.dom.client.HasClickHandlers getSaveButton()
           
 HasMultipleValue<String> getTemplateListBox()
           
 com.google.gwt.user.client.ui.HasText getTitleTextBox()
           
 org.nuxeo.gwt.habyt.upload.client.FileChanges getUploadedFiles()
           
 void removePicturePreview()
           
 void setHtmlContent(String html)
           
 void setHtmlEditor(String html)
           
 void setPicturePreview(String pictureUrl)
           
 void setTemplate(String template)
           
 void startProcessing()
           
 void stopProcessing()
           
 void switchToMainPanel()
           
 void switchToModifyPanel()
           
 
Methods inherited from class org.nuxeo.opensocial.container.client.gadgets.AbstractGadget
addFacet, getFacets
 
Methods inherited from class com.google.gwt.user.client.ui.Composite
isAttached, onBrowserEvent
 
Methods inherited from class com.google.gwt.user.client.ui.Widget
fireEvent, getLayoutData, getParent, removeFromParent, setLayoutData, sinkEvents
 
Methods inherited from class com.google.gwt.user.client.ui.UIObject
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleName, getStylePrimaryName, getTitle, isVisible, isVisible, removeStyleDependentName, removeStyleName, setHeight, setPixelSize, setSize, setStyleName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, toString, unsinkEvents
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HTMLGadget

public HTMLGadget()
Method Detail

setTemplate

public void setTemplate(String template)
Specified by:
setTemplate in interface HTMLPresenter.Display

enableFacets

public void enableFacets()
Specified by:
enableFacets in interface HTMLPresenter.Display

enableModifPanel

public void enableModifPanel(String baseUrl)
Specified by:
enableModifPanel in interface HTMLPresenter.Display

getUploadedFiles

public org.nuxeo.gwt.habyt.upload.client.FileChanges getUploadedFiles()
Specified by:
getUploadedFiles in interface HTMLPresenter.Display

getHtmlFromView

public String getHtmlFromView()
Specified by:
getHtmlFromView in interface HTMLPresenter.Display

setPicturePreview

public void setPicturePreview(String pictureUrl)
Specified by:
setPicturePreview in interface HTMLPresenter.Display

getPreviewImage

public com.google.gwt.user.client.ui.Image getPreviewImage()
Specified by:
getPreviewImage in interface HTMLPresenter.Display

removePicturePreview

public void removePicturePreview()
Specified by:
removePicturePreview in interface HTMLPresenter.Display

setHtmlContent

public void setHtmlContent(String html)
Specified by:
setHtmlContent in interface HTMLPresenter.Display

switchToMainPanel

public void switchToMainPanel()
Specified by:
switchToMainPanel in interface HTMLPresenter.Display

switchToModifyPanel

public void switchToModifyPanel()
Specified by:
switchToModifyPanel in interface HTMLPresenter.Display

getHtmlFromEditor

public String getHtmlFromEditor()
Specified by:
getHtmlFromEditor in interface HTMLPresenter.Display

setHtmlEditor

public void setHtmlEditor(String html)
Specified by:
setHtmlEditor in interface HTMLPresenter.Display

getSaveButton

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

getModifyButton

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

getCancelButton

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

getHtmlTitle

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

getTitleTextBox

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

getHtmlPicture

public com.google.gwt.user.client.ui.Image getHtmlPicture()
Specified by:
getHtmlPicture in interface HTMLPresenter.Display

getLegendTextBox

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

getLinkTextBox

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

getTemplateListBox

public HasMultipleValue<String> getTemplateListBox()
Specified by:
getTemplateListBox in interface HTMLPresenter.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

getDeletePictureImage

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

Nuxeo Enterprise Platform 5.4

Copyright © 2011 Nuxeo SAS. All Rights Reserved.