Portlet states
Portlet states determine how individual portlets look when a user accesses them on the portal page. These states are very similar to minimize, restore, and maximize window states of applications run on any popular operating system just in a Web-based environment.
The state of the portlet is stored in the PortletWindow.State object and can be queried for changing the way a portlet looks or behaves based on its current state. The IBM portlet API defines three possible states for a portlet:
| Normal-The portlet is displayed in its initial state, as defined when it was installed.
|
| Minimized-Only the portlet title bar is visible on the portal page.
|
| Maximized-The portlet fills the entire body of the portal page, hiding all other portlets.
|