public class ContainerWidget extends com.google.gwt.user.client.ui.Composite implements ContainerPresenter.Display
Constructor and Description |
---|
ContainerWidget() |
Modifier and Type | Method and Description |
---|---|
void |
addUnit(int zoneIndex,
String unitClass,
String unitName) |
void |
addZone(String cssStyle) |
com.google.gwt.user.client.ui.Widget |
asWidget() |
HasId |
getContainerFooter() |
HasId |
getContainerHeader() |
HasId |
getContainerSideBar() |
int |
getNumberOfUnits(int zoneIndex) |
int |
getNumberOfZones() |
HasWebContents |
getUnit(int zoneIndex,
int unitIndex) |
HasWebContents |
getUnit(String unitName) |
net.customware.gwt.presenter.client.widget.WidgetDisplay |
getWebContent(String webContentId) |
HasUnits |
getZone(int index) |
boolean |
hasWebContentInUnit(int zoneIndex,
int unitIndex) |
boolean |
hasWebContentInUnit(String unitName) |
boolean |
hasWebContentInZone(int zoneIndex) |
boolean |
hasWebContentsIContainer() |
void |
maximizeWebContent(com.google.gwt.user.client.ui.Widget widget) |
void |
minimizeWebContent(com.google.gwt.user.client.ui.Widget widget,
String unitName,
long position) |
void |
moveWebContent(String fromUnitName,
int fromWebContentPosition,
String toUnitName,
int toWebContentPosition) |
void |
moveWebContents(int fromZoneIndex,
int fromUnitIndex,
int toZoneIndex,
int toUnitIndex) |
void |
removeUnit(int zoneIndex,
int unitIndex) |
void |
removeWebContent(String webContentId) |
void |
removeZone(int zoneIndex) |
void |
setContainerCustomSize(String cssStyle,
long size) |
void |
setContainerFixedSize(String cssStyle) |
void |
setContainerFooter(boolean hasFooter,
String footerId) |
void |
setContainerHeader(boolean hasHeader,
String headerId) |
void |
setContainerSideBar(boolean hasSidebar,
String cssStyle,
String sideBarId) |
void |
setData() |
void |
startProcessing() |
void |
stopProcessing() |
void |
updateZoneTemplate(int zoneIndex,
String zoneClass) |
claimElement, initializeClaimedElement, isAttached, onBrowserEvent, render, render
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidgetOrNull, fireEvent, getLayoutData, getParent, 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
public void setContainerHeader(boolean hasHeader, String headerId)
setContainerHeader
in interface ContainerPresenter.Display
public HasId getContainerHeader()
getContainerHeader
in interface ContainerPresenter.Display
public void setContainerCustomSize(String cssStyle, long size)
setContainerCustomSize
in interface ContainerPresenter.Display
public void setContainerFixedSize(String cssStyle)
setContainerFixedSize
in interface ContainerPresenter.Display
public void setContainerSideBar(boolean hasSidebar, String cssStyle, String sideBarId)
setContainerSideBar
in interface ContainerPresenter.Display
public HasId getContainerSideBar()
getContainerSideBar
in interface ContainerPresenter.Display
public void setContainerFooter(boolean hasFooter, String footerId)
setContainerFooter
in interface ContainerPresenter.Display
public HasId getContainerFooter()
getContainerFooter
in interface ContainerPresenter.Display
public void setData()
setData
in interface ContainerPresenter.Display
public void addZone(String cssStyle)
addZone
in interface ContainerPresenter.Display
public void removeZone(int zoneIndex)
removeZone
in interface ContainerPresenter.Display
public HasUnits getZone(int index)
getZone
in interface ContainerPresenter.Display
public void updateZoneTemplate(int zoneIndex, String zoneClass)
updateZoneTemplate
in interface ContainerPresenter.Display
public int getNumberOfZones()
public void addUnit(int zoneIndex, String unitClass, String unitName)
addUnit
in interface ContainerPresenter.Display
public void removeUnit(int zoneIndex, int unitIndex)
removeUnit
in interface ContainerPresenter.Display
public HasWebContents getUnit(String unitName)
getUnit
in interface ContainerPresenter.Display
public HasWebContents getUnit(int zoneIndex, int unitIndex)
getUnit
in interface ContainerPresenter.Display
public int getNumberOfUnits(int zoneIndex)
public void removeWebContent(String webContentId)
removeWebContent
in interface ContainerPresenter.Display
public net.customware.gwt.presenter.client.widget.WidgetDisplay getWebContent(String webContentId)
getWebContent
in interface ContainerPresenter.Display
public void moveWebContents(int fromZoneIndex, int fromUnitIndex, int toZoneIndex, int toUnitIndex)
moveWebContents
in interface ContainerPresenter.Display
public void moveWebContent(String fromUnitName, int fromWebContentPosition, String toUnitName, int toWebContentPosition)
moveWebContent
in interface ContainerPresenter.Display
public void maximizeWebContent(com.google.gwt.user.client.ui.Widget widget)
maximizeWebContent
in interface ContainerPresenter.Display
public void minimizeWebContent(com.google.gwt.user.client.ui.Widget widget, String unitName, long position)
minimizeWebContent
in interface ContainerPresenter.Display
public boolean hasWebContentInUnit(int zoneIndex, int unitIndex)
public boolean hasWebContentInUnit(String unitName)
public boolean hasWebContentInZone(int zoneIndex)
public boolean hasWebContentsIContainer()
public com.google.gwt.user.client.ui.Widget asWidget()
asWidget
in interface com.google.gwt.user.client.ui.IsWidget
asWidget
in interface net.customware.gwt.presenter.client.widget.WidgetDisplay
asWidget
in class com.google.gwt.user.client.ui.Widget
public void startProcessing()
startProcessing
in interface net.customware.gwt.presenter.client.Display
public void stopProcessing()
stopProcessing
in interface net.customware.gwt.presenter.client.Display
Copyright © 2015 Nuxeo SA. All rights reserved.