public class UnitWidget extends com.google.gwt.user.client.ui.FlowPanel implements HasWebContents, HasId
com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled
Constructor and Description |
---|
UnitWidget(String cssStyle) |
Modifier and Type | Method and Description |
---|---|
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) |
getWidget, getWidgetCount, getWidgetIndex, getWidgetIndex, iterator, remove, remove
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, fireEvent, getLayoutData, getParent, isAttached, onBrowserEvent, 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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
add, clear, iterator, remove
public UnitWidget(String cssStyle)
public boolean hasWebContents()
hasWebContents
in interface HasWebContents
public void addWebContent(com.google.gwt.user.client.ui.Widget webContent, long webContentPosition)
addWebContent
in interface HasWebContents
public void addWebContent(com.google.gwt.user.client.ui.Widget webContent)
addWebContent
in interface HasWebContents
public void removeWebContent(int index)
removeWebContent
in interface HasWebContents
public com.google.gwt.user.client.ui.Widget getWebContent(int index)
getWebContent
in interface HasWebContents
public HasId getWebContent(String webContentId)
getWebContent
in interface HasWebContents
public int getWebContentPosition(com.google.gwt.user.client.ui.Widget webContent)
getWebContentPosition
in interface HasWebContents
public List<com.google.gwt.user.client.ui.Widget> getWebContents()
getWebContents
in interface HasWebContents
Copyright © 2011 Nuxeo SA. All Rights Reserved.