Nuxeo Enterprise Platform 5.4

org.nuxeo.opensocial.container.client.ui
Class UnitWidget

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.Panel
              extended by com.google.gwt.user.client.ui.ComplexPanel
                  extended by com.google.gwt.user.client.ui.FlowPanel
                      extended by org.nuxeo.opensocial.container.client.ui.UnitWidget
All Implemented Interfaces:
com.google.gwt.event.shared.HasHandlers, com.google.gwt.user.client.EventListener, com.google.gwt.user.client.ui.HasWidgets, com.google.gwt.user.client.ui.IndexedPanel, com.google.gwt.user.client.ui.InsertPanel, Iterable<com.google.gwt.user.client.ui.Widget>, HasId, HasWebContents

public class UnitWidget
extends com.google.gwt.user.client.ui.FlowPanel
implements HasWebContents, HasId

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
UnitWidget(String cssStyle)
           
 
Method Summary
 void addWebContent(com.google.gwt.user.client.ui.Widget webContent)
           
 void addWebContent(com.google.gwt.user.client.ui.Widget webContent, long webContentPosition)
           
 String getId()
           
 com.google.gwt.user.client.ui.Widget getWebContent(int index)
           
 HasId getWebContent(String webContentId)
           
 int getWebContentPosition(com.google.gwt.user.client.ui.Widget webContent)
           
 List<com.google.gwt.user.client.ui.Widget> getWebContents()
           
 boolean hasWebContents()
           
 void removeWebContent(int index)
           
 void setId(String id)
           
 
Methods inherited from class com.google.gwt.user.client.ui.FlowPanel
add, clear, insert
 
Methods inherited from class com.google.gwt.user.client.ui.ComplexPanel
getWidget, getWidgetCount, getWidgetIndex, iterator, remove, remove
 
Methods inherited from class com.google.gwt.user.client.ui.Widget
fireEvent, getLayoutData, getParent, isAttached, onBrowserEvent, 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
 
Methods inherited from interface com.google.gwt.user.client.ui.HasWidgets
add, clear, iterator, remove
 
Methods inherited from interface com.google.gwt.user.client.ui.IndexedPanel
getWidget, getWidgetCount, getWidgetIndex, remove
 

Constructor Detail

UnitWidget

public UnitWidget(String cssStyle)
Method Detail

hasWebContents

public boolean hasWebContents()
Specified by:
hasWebContents in interface HasWebContents

setId

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

getId

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

addWebContent

public void addWebContent(com.google.gwt.user.client.ui.Widget webContent,
                          long webContentPosition)
Specified by:
addWebContent in interface HasWebContents

addWebContent

public void addWebContent(com.google.gwt.user.client.ui.Widget webContent)
Specified by:
addWebContent in interface HasWebContents

removeWebContent

public void removeWebContent(int index)
Specified by:
removeWebContent in interface HasWebContents

getWebContent

public com.google.gwt.user.client.ui.Widget getWebContent(int index)
Specified by:
getWebContent in interface HasWebContents

getWebContent

public HasId getWebContent(String webContentId)
Specified by:
getWebContent in interface HasWebContents

getWebContentPosition

public int getWebContentPosition(com.google.gwt.user.client.ui.Widget webContent)
Specified by:
getWebContentPosition in interface HasWebContents

getWebContents

public List<com.google.gwt.user.client.ui.Widget> getWebContents()
Specified by:
getWebContents in interface HasWebContents

Nuxeo Enterprise Platform 5.4

Copyright © 2011 Nuxeo SAS. All Rights Reserved.