org.nuxeo.opensocial.container.client.external.picture
Class PictureGadget
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.picture.PictureGadget
- 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, PicturePresenter.Display, HasFacets
public class PictureGadget
- extends AbstractGadget
- implements PicturePresenter.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 |
PictureGadget
public PictureGadget()
enableFacets
public void enableFacets()
- Specified by:
enableFacets
in interface PicturePresenter.Display
enableModifPanel
public void enableModifPanel(String baseUrl)
- Specified by:
enableModifPanel
in interface PicturePresenter.Display
getPicture
public com.google.gwt.user.client.ui.Image getPicture()
- Specified by:
getPicture
in interface PicturePresenter.Display
getModifyButton
public com.google.gwt.event.dom.client.HasClickHandlers getModifyButton()
- Specified by:
getModifyButton
in interface PicturePresenter.Display
getCancelButton
public com.google.gwt.event.dom.client.HasClickHandlers getCancelButton()
- Specified by:
getCancelButton
in interface PicturePresenter.Display
getSaveButton
public com.google.gwt.event.dom.client.HasClickHandlers getSaveButton()
- Specified by:
getSaveButton
in interface PicturePresenter.Display
getPictureTitle
public com.google.gwt.user.client.ui.HasText getPictureTitle()
- Specified by:
getPictureTitle
in interface PicturePresenter.Display
getTitleTextBox
public com.google.gwt.user.client.ui.HasText getTitleTextBox()
- Specified by:
getTitleTextBox
in interface PicturePresenter.Display
getLinkTextBox
public com.google.gwt.user.client.ui.HasText getLinkTextBox()
- Specified by:
getLinkTextBox
in interface PicturePresenter.Display
getLegendTextBox
public com.google.gwt.user.client.ui.HasText getLegendTextBox()
- Specified by:
getLegendTextBox
in interface PicturePresenter.Display
getUploadedFiles
public org.nuxeo.gwt.habyt.upload.client.FileChanges getUploadedFiles()
- Specified by:
getUploadedFiles
in interface PicturePresenter.Display
switchToMainPanel
public void switchToMainPanel()
- Specified by:
switchToMainPanel
in interface PicturePresenter.Display
switchToModifyPanel
public void switchToModifyPanel()
- Specified by:
switchToModifyPanel
in interface PicturePresenter.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
Copyright © 2011 Nuxeo SAS. All Rights Reserved.