| java.lang.Object org.wings.portlet.WindowStateProvider
WindowStateProvider | public class WindowStateProvider (Code) | | This class provides the actual portlet window state as events. The static
Strings MAXIMIZED_WS, MINIMIZED_WS and NORMAL_WS are provided for comparing
with the actual window state. Also custom window states can be used. To get
an instance use getInstance() instead of the cunstrucor which is hidden. For
getting notified about a window state change use the
addWindowStateChangeListner Method
author: Marc Musch |
MAXIMIZED_WS | final public static String MAXIMIZED_WS(Code) | | The String maximized
|
MINIMIZED_WS | final public static String MINIMIZED_WS(Code) | | The String minimized
|
NORMAL_WS | final public static String NORMAL_WS(Code) | | The String normal
|
addWindowStateChangeListener | public void addWindowStateChangeListener(WindowStateListener listener)(Code) | | Adds a new listner for window state changes
Parameters: listener - -the listner for these events |
getInstance | public static WindowStateProvider getInstance()(Code) | | Use this method to get an instance of this class, the constructir is
hidden.
Instance of this class |
updateWindowState | public void updateWindowState()(Code) | | Forces the delivering of the window change event, but only if the window
state really has changed
|
|
|