Nuxeo Enterprise Platform 5.4

org.nuxeo.opensocial.container.client.external.picture
Class PictureGadget

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.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 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
PictureGadget()
           
 
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.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 getPicture()
           
 com.google.gwt.user.client.ui.HasText getPictureTitle()
           
 com.google.gwt.event.dom.client.HasClickHandlers getSaveButton()
           
 com.google.gwt.user.client.ui.HasText getTitleTextBox()
           
 org.nuxeo.gwt.habyt.upload.client.FileChanges getUploadedFiles()
           
 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

PictureGadget

public PictureGadget()
Method Detail

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

Nuxeo Enterprise Platform 5.4

Copyright © 2011 Nuxeo SAS. All Rights Reserved.