public interface ContentViewer extends HelpContentViewer<javax.swing.JComponent,java.awt.Window>
HELP_CLIENT_PROPERTY, ICON_BACKWARD, ICON_FORWARD, ICON_GLOSSARY, ICON_HOME
Modifier and Type | Method and Description |
---|---|
void |
applyLink(Article article,
java.net.URL url,
java.lang.String anchor)
Apply a link.
|
javax.swing.JPanel |
getRootPane()
Return the root pane.
|
javax.swing.JComponent |
getScrollPane()
Return the scroll pane.
|
void |
pageLoaded(java.net.URL url)
Fired when a page is loaded.
|
void |
selectInTree(Article article)
Select an article in the tree.
|
void |
setCurrentArticle(Article article)
Set the current article.
|
void |
setCurrentTitle(java.lang.String title)
Set the current title.
|
void |
setPreviousPage(java.net.URL url,
java.lang.String anchor)
Set the previous page.
|
void |
updateUI()
Update the UI of the viewer.
|
createContextHelpButton, getArticlesModel, getAutoComplete, getCurrentArticle, getCurrentTitle, getHelpComponent, getHelpWindow, getHistory, getLocale, getLocalization, getStyleSheetThemes, hasStyleSheetTheme, installModel, registerContextHelp, registerContextHelpWindow, reloadPage, resetStyleSheetTheme, setArticleIcon, setClosedChapterIcon, setContextHelpIcon, setContextHelpPointerImage, setDividerLocation, setExpandedChapterIcon, setFullSearchText, setIcon, setLocale, setLocale, setSearchTextHint, setSearchTextIcon, setStyleSheetTheme, showHelpDialog, showHelpDialog, showHelpTopic
void setCurrentArticle(Article article)
article
- the current articlevoid setPreviousPage(java.net.URL url, java.lang.String anchor)
url
- the previous page URLanchor
- the previous page anchoe( may be null)void setCurrentTitle(java.lang.String title)
title
- the titlejavax.swing.JComponent getScrollPane()
javax.swing.JPanel getRootPane()
void pageLoaded(java.net.URL url)
url
- the page URLvoid selectInTree(Article article)
article
- the articlevoid applyLink(Article article, java.net.URL url, java.lang.String anchor)
article
- the article (may be null)url
- the URLanchor
- the anchoe (may be null)void updateUI()
Copyright © 2016-2024 Herve Girod. All Rights Reserved. Documentation and source under the BSD licence