Nuxeo Enterprise Platform 5.4

org.nuxeo.opensocial.container.client.view
Class PortletWidget

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.view.PortletWidget
All Implemented Interfaces:
com.google.gwt.event.dom.client.HasMouseDownHandlers, com.google.gwt.event.dom.client.HasMouseMoveHandlers, com.google.gwt.event.dom.client.HasMouseOutHandlers, com.google.gwt.event.dom.client.HasMouseUpHandlers, 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, PortletPresenter.Display, HasId

public class PortletWidget
extends com.google.gwt.user.client.ui.Composite
implements PortletPresenter.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
PortletWidget()
           
 
Method Summary
 void addContent(com.google.gwt.user.client.ui.Widget widget)
           
 com.google.gwt.event.shared.HandlerRegistration addMouseDownHandler(com.google.gwt.event.dom.client.MouseDownHandler handler)
           
 com.google.gwt.event.shared.HandlerRegistration addMouseMoveHandler(com.google.gwt.event.dom.client.MouseMoveHandler handler)
           
 com.google.gwt.event.shared.HandlerRegistration addMouseOutHandler(com.google.gwt.event.dom.client.MouseOutHandler handler)
           
 com.google.gwt.event.shared.HandlerRegistration addMouseUpHandler(com.google.gwt.event.dom.client.MouseUpHandler handler)
           
 void addTool(com.google.gwt.user.client.ui.Widget widget)
           
 com.google.gwt.user.client.ui.Widget asWidget()
           
 void clean()
           
 com.google.gwt.user.client.ui.Widget getHeader()
           
 String getId()
           
 String getParentId()
           
 void hideContent()
           
 boolean isCollapsed()
           
 void setBorderColor(String color)
           
 void setHeaderColor(String color)
           
 void setIcon(String icon)
           
 void setId(String id)
           
 void setTitle(String title)
           
 void setTitleColor(String color)
           
 void showContent()
           
 void startProcessing()
           
 void stopProcessing()
           
 
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, setVisible, setVisible, setWidth, toString, unsinkEvents
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.google.gwt.event.shared.HasHandlers
fireEvent
 

Constructor Detail

PortletWidget

public PortletWidget()
Method Detail

isCollapsed

public boolean isCollapsed()

showContent

public void showContent()
Specified by:
showContent in interface PortletPresenter.Display

hideContent

public void hideContent()
Specified by:
hideContent in interface PortletPresenter.Display

clean

public void clean()
Specified by:
clean in interface PortletPresenter.Display

getHeader

public com.google.gwt.user.client.ui.Widget getHeader()
Specified by:
getHeader in interface PortletPresenter.Display

addTool

public void addTool(com.google.gwt.user.client.ui.Widget widget)
Specified by:
addTool in interface PortletPresenter.Display

getId

public String getId()
Specified by:
getId in interface HasId

getParentId

public String getParentId()
Specified by:
getParentId in interface PortletPresenter.Display

setId

public void setId(String id)
Specified by:
setId in interface HasId

addContent

public void addContent(com.google.gwt.user.client.ui.Widget widget)
Specified by:
addContent in interface PortletPresenter.Display

setTitle

public void setTitle(String title)
Specified by:
setTitle in interface PortletPresenter.Display
Overrides:
setTitle in class com.google.gwt.user.client.ui.UIObject

setBorderColor

public void setBorderColor(String color)
Specified by:
setBorderColor in interface PortletPresenter.Display

setHeaderColor

public void setHeaderColor(String color)
Specified by:
setHeaderColor in interface PortletPresenter.Display

setTitleColor

public void setTitleColor(String color)
Specified by:
setTitleColor in interface PortletPresenter.Display

setIcon

public void setIcon(String icon)
Specified by:
setIcon in interface PortletPresenter.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

addMouseDownHandler

public com.google.gwt.event.shared.HandlerRegistration addMouseDownHandler(com.google.gwt.event.dom.client.MouseDownHandler handler)
Specified by:
addMouseDownHandler in interface com.google.gwt.event.dom.client.HasMouseDownHandlers

addMouseUpHandler

public com.google.gwt.event.shared.HandlerRegistration addMouseUpHandler(com.google.gwt.event.dom.client.MouseUpHandler handler)
Specified by:
addMouseUpHandler in interface com.google.gwt.event.dom.client.HasMouseUpHandlers

addMouseMoveHandler

public com.google.gwt.event.shared.HandlerRegistration addMouseMoveHandler(com.google.gwt.event.dom.client.MouseMoveHandler handler)
Specified by:
addMouseMoveHandler in interface com.google.gwt.event.dom.client.HasMouseMoveHandlers

addMouseOutHandler

public com.google.gwt.event.shared.HandlerRegistration addMouseOutHandler(com.google.gwt.event.dom.client.MouseOutHandler handler)
Specified by:
addMouseOutHandler in interface com.google.gwt.event.dom.client.HasMouseOutHandlers

Nuxeo Enterprise Platform 5.4

Copyright © 2011 Nuxeo SAS. All Rights Reserved.