public class HTMLGadget extends AbstractGadget implements HTMLPresenter.Display
Constructor and Description |
---|
HTMLGadget() |
Modifier and Type | Method and Description |
---|---|
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() |
addFacet, getFacets
claimElement, initializeClaimedElement, isAttached, onBrowserEvent, render, render
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidgetOrNull, fireEvent, getLayoutData, getParent, removeFromParent, setLayoutData, sinkEvents
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleName, getStylePrimaryName, getTitle, isVisible, isVisible, removeStyleDependentName, removeStyleName, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString, unsinkEvents
public void setTemplate(String template)
setTemplate
in interface HTMLPresenter.Display
public void enableFacets()
enableFacets
in interface HTMLPresenter.Display
public void enableModifPanel(String baseUrl)
enableModifPanel
in interface HTMLPresenter.Display
public org.nuxeo.gwt.habyt.upload.client.FileChanges getUploadedFiles()
getUploadedFiles
in interface HTMLPresenter.Display
public String getHtmlFromView()
getHtmlFromView
in interface HTMLPresenter.Display
public void setPicturePreview(String pictureUrl)
setPicturePreview
in interface HTMLPresenter.Display
public com.google.gwt.user.client.ui.Image getPreviewImage()
getPreviewImage
in interface HTMLPresenter.Display
public void removePicturePreview()
removePicturePreview
in interface HTMLPresenter.Display
public void setHtmlContent(String html)
setHtmlContent
in interface HTMLPresenter.Display
public void switchToMainPanel()
switchToMainPanel
in interface HTMLPresenter.Display
public void switchToModifyPanel()
switchToModifyPanel
in interface HTMLPresenter.Display
public String getHtmlFromEditor()
getHtmlFromEditor
in interface HTMLPresenter.Display
public void setHtmlEditor(String html)
setHtmlEditor
in interface HTMLPresenter.Display
public com.google.gwt.event.dom.client.HasClickHandlers getSaveButton()
getSaveButton
in interface HTMLPresenter.Display
public com.google.gwt.event.dom.client.HasClickHandlers getModifyButton()
getModifyButton
in interface HTMLPresenter.Display
public com.google.gwt.event.dom.client.HasClickHandlers getCancelButton()
getCancelButton
in interface HTMLPresenter.Display
public com.google.gwt.user.client.ui.HasText getHtmlTitle()
getHtmlTitle
in interface HTMLPresenter.Display
public com.google.gwt.user.client.ui.HasText getTitleTextBox()
getTitleTextBox
in interface HTMLPresenter.Display
public com.google.gwt.user.client.ui.Image getHtmlPicture()
getHtmlPicture
in interface HTMLPresenter.Display
public com.google.gwt.user.client.ui.HasText getLegendTextBox()
getLegendTextBox
in interface HTMLPresenter.Display
public com.google.gwt.user.client.ui.HasText getLinkTextBox()
getLinkTextBox
in interface HTMLPresenter.Display
public HasMultipleValue<String> getTemplateListBox()
getTemplateListBox
in interface HTMLPresenter.Display
public com.google.gwt.user.client.ui.Widget asWidget()
asWidget
in interface com.google.gwt.user.client.ui.IsWidget
asWidget
in interface net.customware.gwt.presenter.client.widget.WidgetDisplay
asWidget
in class com.google.gwt.user.client.ui.Widget
public void startProcessing()
startProcessing
in interface net.customware.gwt.presenter.client.Display
public void stopProcessing()
stopProcessing
in interface net.customware.gwt.presenter.client.Display
public com.google.gwt.event.dom.client.HasClickHandlers getDeletePictureImage()
getDeletePictureImage
in interface HTMLPresenter.Display
Copyright © 2015 Nuxeo SA. All rights reserved.