public static HelpViewerMode getViewerMode ( Page page ) { return page == null || ! page . hasAttribute ( EMBEDDED_ATTRIB ) ? defaultMode : ( HelpViewerMode ) page . getAttribute ( EMBEDDED_ATTRIB ) ; }
Returns the help viewer mode for the specified page .