| java.lang.Object biz.hammurapi.web.menu.Help
Help | public class Help (Code) | | Helper class to form help topic tree.
author: Pavel Vlasov |
Method Summary | |
public void | add(String name, MenuHelpTopics mht) | Help | findHelp(String id) | Help | findTerm(String term, Set idSet, Context context) | public synchronized String | getContent(int level, Context context, boolean withHeader, boolean withChildren, boolean isTooltip) Parameters: level - Nesting level. | public String | getId() | public String | getName() | String | getPageId() | public Collection | getPath(Context context) | public String | getTitle() | public String | getTooltip(Context context) | public boolean | isSection() | public static void | main(String[] args) For testing. | public void | search(Collection terms, Context context, Collection findings) | public void | toDom(Context context, Element holder) Recursively outputs children. | public void | writeSinglePageContent(Context context, Writer writer) Writes content of self, subtopics and menu children to writer. |
DEFAULT_MAX_TOOLTIP_LENGTH | final public static int DEFAULT_MAX_TOOLTIP_LENGTH(Code) | | |
add | public void add(String name, MenuHelpTopics mht)(Code) | | Parameters: name - - Name "tail" Parameters: mht - Parameters: isSection - True if name separated from parent by #, which means section. |
getContent | public synchronized String getContent(int level, Context context, boolean withHeader, boolean withChildren, boolean isTooltip) throws SQLException(Code) | | Parameters: level - Nesting level. Shall be 1 for the page root and increase by one for eash subsection nesting. Parameters: engine - throws: SQLException - |
getPageId | String getPageId()(Code) | | For sections returns page ID
|
isSection | public boolean isSection()(Code) | | |
toDom | public void toDom(Context context, Element holder)(Code) | | Recursively outputs children.
|
|
|