Uses of Class
javax.portlet.WindowState
-
Packages that use WindowState Package Description javax.portlet The javax.portlet package defines the API for Java Portlet Specification V2.0.javax.portlet.filter The javax.portlet.filter package defines the filter APIs for the Java Portlet Specification. -
-
Uses of WindowState in javax.portlet
Fields in javax.portlet declared as WindowState Modifier and Type Field Description private WindowState
WindowStateException. _state
static WindowState
WindowState. MAXIMIZED
TheMAXIMIZED
window state is an indication that a portlet may be the only portlet being rendered in the portal page, or that the portlet has more space compared to other portlets in the portal page.static WindowState
WindowState. MINIMIZED
When a portlet is inMINIMIZED
window state, the portlet should only render minimal output or no output at all.static WindowState
WindowState. NORMAL
TheNORMAL
window state indicates that a portlet may be sharing the page with other portlets.Methods in javax.portlet that return WindowState Modifier and Type Method Description WindowState
WindowStateException. getState()
Returns the portlet state causing this exception.WindowState
PortletRequest. getWindowState()
Returns the current window state of the portlet.WindowState
PortletURL. getWindowState()
Returns the currently set window state on this PortletURL.WindowState
StateAwareResponse. getWindowState()
Returns the currently set window state on this response.Methods in javax.portlet that return types with arguments of type WindowState Modifier and Type Method Description java.util.Enumeration<WindowState>
PortalContext. getSupportedWindowStates()
Returns all supported window states by the portal as an enumeration ofWindowState
objects.Methods in javax.portlet with parameters of type WindowState Modifier and Type Method Description boolean
PortletRequest. isWindowStateAllowed(WindowState state)
Returns true, if the given window state is valid to be set for this portlet in the context of the current request.void
PortletURL. setWindowState(WindowState windowState)
Indicates the window state the portlet should be in, if this portlet URL triggers a request.void
StateAwareResponse. setWindowState(WindowState windowState)
Sets the window state of a portlet to the given window state.Constructors in javax.portlet with parameters of type WindowState Constructor Description WindowStateException(java.lang.String text, java.lang.Throwable cause, WindowState state)
Constructs a new portlet state exception when the portlet needs to do the following:throw an exception include a message about the "root cause" that interfered with its normal operation include a description message WindowStateException(java.lang.String text, WindowState state)
Constructs a new portlet state exception with the given text.WindowStateException(java.lang.Throwable cause, WindowState state)
Constructs a new portlet state exception when the portlet needs to throw an exception. -
Uses of WindowState in javax.portlet.filter
Methods in javax.portlet.filter that return WindowState Modifier and Type Method Description WindowState
ActionResponseWrapper. getWindowState()
The default behavior of this method is to callgetWindowState()
on the wrapped response object.WindowState
EventResponseWrapper. getWindowState()
The default behavior of this method is to callgetWindowState()
on the wrapped response object.WindowState
PortletRequestWrapper. getWindowState()
The default behavior of this method is to callgetWindowState()
on the wrapped request object.Methods in javax.portlet.filter with parameters of type WindowState Modifier and Type Method Description boolean
PortletRequestWrapper. isWindowStateAllowed(WindowState state)
The default behavior of this method is to callisWindowStateAllowed(state)
on the wrapped request object.void
ActionResponseWrapper. setWindowState(WindowState windowState)
The default behavior of this method is to callsetWindowState(windowState)
on the wrapped response object.void
EventResponseWrapper. setWindowState(WindowState windowState)
The default behavior of this method is to callsetWindowState(windowState)
on the wrapped response object.
-