org.nuxeo.opensocial.container.client.external.html
Class HTMLGadget
java.lang.Object
com.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.Widget
com.google.gwt.user.client.ui.Composite
org.nuxeo.opensocial.container.client.gadgets.AbstractGadget
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 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 |
| Fields inherited from class com.google.gwt.user.client.ui.UIObject |
DEBUG_ID_PREFIX |
| 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 |
HTMLGadget
public HTMLGadget()
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
Copyright © 2011 Nuxeo SAS. All Rights Reserved.