com.crystaldecisions.report.web.viewer
Class CrToolPanelViewTypeEnum

java.lang.Object
  extended by com.crystaldecisions.report.web.viewer.CrToolPanelViewTypeEnum

public class CrToolPanelViewTypeEnum
extends java.lang.Object

This class contains constants that specify the different types of views that can appear in the tool panel. The tool panel can display the group tree or the parameter panel, or it can be hidden from the user altogether.

The tool panel view type can be set by passing a CrToolPanelViewTypeEnum object to the CrystalReportViewer class' setToolPanelViewType method for a specific JSP.


Field Summary
static CrToolPanelViewTypeEnum groupTree
          Specifies to show the group tree as the default view in the tool panel.
static CrToolPanelViewTypeEnum none
          Specifies not to show the tool panel on the left side of the viewer.
static CrToolPanelViewTypeEnum parameterPanel
          Specifies to show the parameter panel as the default view in the side panel.
 
Method Summary
static CrToolPanelViewTypeEnum fromString(java.lang.String type)
          Converts the case-insensitive strings "None", "GroupTree", and "ParameterPanel" to the respective CrToolPanelViewTypeEnum object.
 java.lang.String toString()
          Converts a CrToolPanelViewTypeEnum object to the strings "None", "GroupTree", and "ParameterPanel", respectively.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

none

public static final CrToolPanelViewTypeEnum none

Specifies not to show the tool panel on the left side of the viewer.


groupTree

public static final CrToolPanelViewTypeEnum groupTree

Specifies to show the group tree as the default view in the tool panel.


parameterPanel

public static final CrToolPanelViewTypeEnum parameterPanel

Specifies to show the parameter panel as the default view in the side panel.

Method Detail

toString

public java.lang.String toString()

Converts a CrToolPanelViewTypeEnum object to the strings "None", "GroupTree", and "ParameterPanel", respectively.

Overrides:
toString in class java.lang.Object
Returns:
"None", "GroupTree", or "ParameterPanel" as a String.

fromString

public static CrToolPanelViewTypeEnum fromString(java.lang.String type)

Converts the case-insensitive strings "None", "GroupTree", and "ParameterPanel" to the respective CrToolPanelViewTypeEnum object.

Parameters:
type - a String that specifies the view type. This can be either "None", "GroupTree", or "ParameterPanel".
Returns:
a CrToolPanelViewTypeEnum object