A portlet can have different view modes. Three modes are defined by the JSR-286 specification:
Generate the markup reflecting the current state of the portlet.
Allow you to customize the behavior of the portlet.
Provide information to the user as to how to use the portlet.