Uses of Class
javax.portlet.WindowState

  • Uses of WindowState in javax.portlet

    Fields in javax.portlet declared as WindowState
    Modifier and Type
    Field
    Description
    static final WindowState
    WindowState.MAXIMIZED
    The MAXIMIZED 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 final WindowState
    WindowState.MINIMIZED
    When a portlet is in MINIMIZED window state, the portlet should only render minimal output or no output at all.
    static final WindowState
    WindowState.NORMAL
    The NORMAL 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
    WindowStateException.getState()
    Returns the portlet state causing this exception.
    PortletRequest.getWindowState()
    Returns the current window state of the portlet.
    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
    ActionResponse.setWindowState(WindowState windowState)
    Sets the window state of a portlet to the given window state.
    void
    PortletURL.setWindowState(WindowState windowState)
    Indicates the window state the portlet should be in, if this portlet URL triggers a request.
    Constructors in javax.portlet with parameters of type WindowState
    Modifier
    Constructor
    Description
     
    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 operationinclude a description message
     
    Constructs a new portlet state exception with the given text.
     
    Constructs a new portlet state exception when the portlet needs to throw an exception.