4/2/2023 0 Comments Swing it viewerSee "examples" directory for a simple example of the structures that are actually supported. No attempt is made to cache search results, there is no indexing employed, no fuzzy search etc.Ī subset of JavaHelp data structures/files are supported - helpset XML (.hs), helpindex XML, helpmap XML (.jhm) and helptoc XML. If you select a search result, the help content page is shown with the search results highlighted with a not-so-subtle orange background. As soon as you press the return key inside the search field, all sources linked in the helpmap (.jhm) file are searched through for matches and shown as a list of search result nodes in the search view. The Search view implements naive full-text search, always case-insensitive, based on what JEditorPane thinks is the "plain text" of the help content. This is not a full-text search, but only searches through the visualized text of the entries. A toolbar is available with history navigation (forward/backward/home).īoth the TableOfContents and the Index view have a search field which filters the entries as soon as you press the return key. The content itself is visualized with a JEditorPane, so can contain any HTML/CSS that JEditorPane is capable to display. The viewer consists of a tabbed pane with a TableOfContents tree, an Index list and a Search view for simple full-text search. you cannot claim that you have written the code yourself. The only restrictions are because of Copyright law, i.e. Basically, this license gives you the right to do what you want with the code. Licensed under "The Unlicense" to maximize your freedom. hs helpset definitions can now include a help view. Implementation is based on a GlassPane technique. Similarities to CHS are completely unintended and accidential. Use ContextSensitiveHelpViewTools to supply help IDs and the viewer to your components and to register the "start the help tracker" action listener to the button of your choice. A simple help viewer implemented in Java Swing Latest changes Ĭontext-sensitive "tracker based" help now available, with new "help cursor".
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |