Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.gwt.ui.client.base.impl
Class StackContainer

java.lang.Object
  extended by org.nuxeo.ecm.gwt.ui.client.base.impl.StackContainer
All Implemented Interfaces:
Container, Drawable

public class StackContainer
extends java.lang.Object
implements Container

Author:
Bogdan Stefanescu

Constructor Summary
StackContainer()
           
 
Method Summary
 void activateSite(Site site)
           
 void clear()
           
 void closeAll()
           
 void closeSite(Site site)
           
 java.lang.Object createHandle(Site site)
           
 void deactivateSite(Site site)
           
 void disableSite(Site site)
           
 void enableSite(Site site)
           
 java.lang.Object getActiveSiteHandle()
           
 java.lang.String getHandle(Site site)
           
 com.smartgwt.client.widgets.layout.SectionStackSection getSection(Site site)
           
 SiteEventHandler getSiteEventHandler()
           
 com.smartgwt.client.widgets.layout.SectionStack getWidget()
          Gets the underlying widget of this object.
 void installWidget(Site site)
           
 boolean isSiteActive(Site site)
           
 boolean isSiteEnabled(Site site)
           
 void setSiteEventHandler(SiteEventHandler handler)
           
 void updateSiteIcon(Site site)
           
 void updateSiteTitle(Site site)
          Updates the title and icon and show the site if not yet visible.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StackContainer

public StackContainer()
Method Detail

getHandle

public java.lang.String getHandle(Site site)

getSection

public com.smartgwt.client.widgets.layout.SectionStackSection getSection(Site site)

getWidget

public com.smartgwt.client.widgets.layout.SectionStack getWidget()
Description copied from interface: Drawable
Gets the underlying widget of this object.

Specified by:
getWidget in interface Drawable
Returns:
the widget. cannot be null.

activateSite

public void activateSite(Site site)
Specified by:
activateSite in interface Container

deactivateSite

public void deactivateSite(Site site)
Specified by:
deactivateSite in interface Container

enableSite

public void enableSite(Site site)
Specified by:
enableSite in interface Container

disableSite

public void disableSite(Site site)
Specified by:
disableSite in interface Container

isSiteActive

public boolean isSiteActive(Site site)
Specified by:
isSiteActive in interface Container

isSiteEnabled

public boolean isSiteEnabled(Site site)
Specified by:
isSiteEnabled in interface Container

getActiveSiteHandle

public java.lang.Object getActiveSiteHandle()
Specified by:
getActiveSiteHandle in interface Container

createHandle

public java.lang.Object createHandle(Site site)
Specified by:
createHandle in interface Container

closeSite

public void closeSite(Site site)
Specified by:
closeSite in interface Container

updateSiteIcon

public void updateSiteIcon(Site site)
Specified by:
updateSiteIcon in interface Container

updateSiteTitle

public void updateSiteTitle(Site site)
Description copied from interface: Container
Updates the title and icon and show the site if not yet visible.

Specified by:
updateSiteTitle in interface Container

installWidget

public void installWidget(Site site)
Specified by:
installWidget in interface Container

closeAll

public void closeAll()
Specified by:
closeAll in interface Container

clear

public void clear()
Specified by:
clear in interface Container

getSiteEventHandler

public SiteEventHandler getSiteEventHandler()
Specified by:
getSiteEventHandler in interface Container

setSiteEventHandler

public void setSiteEventHandler(SiteEventHandler handler)
Specified by:
setSiteEventHandler in interface Container

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.