private static Class < ? extends HelpViewBase > getViewClass ( HelpViewType viewType ) { switch ( viewType ) { case TOC : return HelpViewContents . class ; case KEYWORD : return HelpViewIndex . class ; case INDEX : return HelpViewIndex . class ; case SEARCH : return HelpViewSearch . class ; case HISTORY : return HelpViewHistory . class ; case GLOSSARY : return HelpViewIndex . class ; default : return null ; } }
Returns the help view class that services the specified view type . For unsupported view types returns null .