MutableRenderStateWrapper provides a convenient
implementation of the MutableRenderState interface
that can be subclassed by developers.
This class implements the Wrapper or Decorator pattern.
Methods default to calling through to the wrapped request object.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public MutableRenderParameters | getRenderParameters()
Overrides javax. Implements javax.
Gets the mutable render parameters.
|
| public MutableRenderState | Returns: the wrapped object.Overrides javax. |
| public void | setPortletMode(PortletMode
the new portlet mode portletMode)Implements javax.
Sets the portlet mode of a portlet to the given portlet mode.
|
| public void | setWindowState(WindowState
the new portlet window state windowState)Implements javax.
Sets the window state of a portlet to the given window state.
|
| public void |
| MutableRenderStateWrapper | back to summary |
|---|---|
public MutableRenderStateWrapper(MutableRenderState wrapped)
| |
| getRenderParameters | back to summary |
|---|---|
| public MutableRenderParameters getRenderParameters() Overrides javax. Implements javax. Doc from javax.
Gets the mutable render parameters.
| |
| getWrapped | back to summary |
|---|---|
| public MutableRenderState getWrapped() Overrides javax. Gets the wrapped object.
| |
| setPortletMode | back to summary |
|---|---|
| public void setPortletMode(PortletMode portletMode) throws PortletModeException Implements javax. Doc from javax.
Sets the portlet mode of a portlet to the given portlet mode.
Possible values are the standard portlet modes and any custom portlet modes supported by the portal and the portlet. Portlets must declare in the deployment descriptor the portlet modes they support for each markup type. Standard portlet modes are:
Not more than one portlet mode can be set. If more than one portlet mode is set, only the last one set is valid. Note The portlet may still be called in a different portlet mode in the next render call, depending on the portlet container / portal.
| |
| setWindowState | back to summary |
|---|---|
| public void setWindowState(WindowState windowState) throws WindowStateException Implements javax. Doc from javax.
Sets the window state of a portlet to the given window state.
Possible values are the standard window states and any custom window states supported by the portal and the portlet. Standard window states are:
Not more than one window state can be set. If more than one window state is set, only the last one set is valid.
| |
| setWrapped | back to summary |
|---|---|
| public void setWrapped(MutableRenderState wrapped) Sets the wrapped object.
| |