com.caucho.portal.generic
Class GenericLayoutWindow

java.lang.Object
  extended by com.caucho.portal.generic.GenericWindow
      extended by com.caucho.portal.generic.GenericLayoutWindow
All Implemented Interfaces:
Window

public class GenericLayoutWindow
extends GenericWindow

A Window that is a container for one or more Windows.


Field Summary
protected static java.util.logging.Logger log
           
 
Constructor Summary
GenericLayoutWindow()
           
 
Method Summary
 void add(GenericWindow window)
          Add a window to the layout.
 void addLayout(GenericLayoutWindow layoutWindow)
          Add a GenericLayoutWindow to the layout.
 void addWindow(GenericPortletWindow portletWindow)
          Add a GenericPortletWindow to the layout, a GenericPortletWindow is a Window that contains one javax.portlet.Portlet .
 void destroy()
          Destroy each child window.
 void init(PortletContext portletContext)
          init() each child window.
 void processAction(PortletConnection connection)
          Use the PortletConnection to get an Action appropriate for this window, and then call processAction on each child window.
 void render(PortletConnection connection)
          Use the PortletConnection to get a Render appropriate for this window, and then call render on each child window.
 
Methods inherited from class com.caucho.portal.generic.GenericWindow
addInitParam, addInitParam, getBufferSize, getConstraints, getDefaultPreferences, getExpirationCache, getInitParameter, getInitParameterNames, getNamespace, getPortletConfig, getPortletContext, getPortletName, getPreferencesValidators, getRenderer, getResourceBundle, getRoleRefMap, getSupportedContentTypes, getSupportedLocales, handleConstraintFailure, handleException, handlePortletModeFailure, handleWindowStateFailure, isPortletModeAllowed, isPrivate, isWindowStateAllowed, newInstance, setBufferSize, setErrorPage, setExpirationCache, setNamespace, setPortletName, setPortletPreferences, setPrivate, setRenderer, setRendererClass, setResourceBundle, setResourceBundleFactory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected static final java.util.logging.Logger log
Constructor Detail

GenericLayoutWindow

public GenericLayoutWindow()
Method Detail

add

public void add(GenericWindow window)
Add a window to the layout.


addWindow

public void addWindow(GenericPortletWindow portletWindow)
Add a GenericPortletWindow to the layout, a GenericPortletWindow is a Window that contains one javax.portlet.Portlet . This method provides the same functionality as #add(); it is included for dependency injection containers that support injection based on method names (like Resin).


addLayout

public void addLayout(GenericLayoutWindow layoutWindow)
Add a GenericLayoutWindow to the layout. In this way layouts can be nested to an arbitrary depth and complexity. This method provides the same functionality as #add(); it is included for dependency injection containers that support injection based on method names (like Resin).


init

public void init(PortletContext portletContext)
          throws PortletException
init() each child window.

Overrides:
init in class GenericWindow
Throws:
PortletException

processAction

public void processAction(PortletConnection connection)
                   throws PortletException,
                          java.io.IOException
Use the PortletConnection to get an Action appropriate for this window, and then call processAction on each child window.

Specified by:
processAction in class GenericWindow
Throws:
PortletException
java.io.IOException

render

public void render(PortletConnection connection)
            throws PortletException,
                   java.io.IOException
Use the PortletConnection to get a Render appropriate for this window, and then call render on each child window.

Specified by:
render in class GenericWindow
Throws:
PortletException
java.io.IOException

destroy

public void destroy()
Destroy each child window.

Overrides:
destroy in class GenericWindow