enableHelp
public void enableHelp(Component comp,
String id,
HelpSet hs)
Enables help for a Component.
Not implemented in ServletHelpBroker
- enableHelp in interface HelpBroker
enableHelp
public void enableHelp(MenuItem comp,
String id,
HelpSet hs)
Enables help for a MenuItem.
Not implemented in ServletHelpBroker
- enableHelp in interface HelpBroker
enableHelpKey
public void enableHelpKey(Component comp,
String id,
HelpSet hs)
Enables the Help key on a Component.
Not implemented in ServletHelpBroker
- enableHelpKey in interface HelpBroker
enableHelpKey
public void enableHelpKey(Component comp,
String id,
HelpSet hs,
String presentation,
String presentationName)
- enableHelpKey in interface HelpBroker
enableHelpOnButton
public void enableHelpOnButton(Component comp,
String id,
HelpSet hs)
Enables help for a Component.
Not implemented in ServletHelpBroker
- enableHelpOnButton in interface HelpBroker
enableHelpOnButton
public void enableHelpOnButton(MenuItem comp,
String id,
HelpSet hs)
Enables help for a MenuItem.
Not implemented in ServletHelpBroker.
- enableHelpOnButton in interface HelpBroker
getCurrentNavigatorView
public NavigatorView getCurrentNavigatorView()
Returns the current navigator as a NavigatorView.
getFont
public Font getFont()
Gets the font for this HelpBroker.
- getFont in interface HelpBroker
getLocale
public Locale getLocale()
Gets the locale of this component.
- getLocale in interface HelpBroker
- This component's locale. If this component does not
have a locale, the defaultLocale is returned.
initPresentation
public void initPresentation()
Initializes the presentation.
Not implemented in ServletHelpBroker.
- initPresentation in interface HelpBroker
isDisplayed
public boolean isDisplayed()
Determines if the presentation is displayed.
- isDisplayed in interface HelpBroker
isViewDisplayed
public boolean isViewDisplayed()
Determines if the current view is visible.
- isViewDisplayed in interface HelpBroker
setCurrentID
public void setCurrentID(String id)
throws BadIDException
Shows this ID as content relative to the (top) HelpSet for the HelpBroker
instance--HelpVisitListeners are notified.
- setCurrentID in interface HelpBroker
id
- A string that identifies the topic to show for the loaded (top) HelpSet
setCurrentURL
public void setCurrentURL(URL url)
Displays this URL.
HelpVisitListeners are notified.
The currentID changes if there is a mathing ID for this URL
- setCurrentURL in interface HelpBroker
url
- The url to display. A null URL is a valid url.
setCurrentView
public void setCurrentView(String name)
Set the currentView to the navigator with the same
name as the name parameter.
- setCurrentView in interface HelpBroker
name
- The name of the navigator to set as the
current view. If nav is null or not a valid Navigator
in this HelpBroker then an
IllegalArgumentException is thrown.
setDisplayed
public void setDisplayed(boolean b)
Displays the presentation to the user.
- setDisplayed in interface HelpBroker
setFont
public void setFont(Font f)
Sets the font for this this HelpBroker.
- setFont in interface HelpBroker
setHelpSet
public void setHelpSet(HelpSet hs)
Changes the HelpSet for this broker.
- setHelpSet in interface HelpBroker
hs
- The HelpSet to set for this broker.
A null hs is valid parameter.
setLocale
public void setLocale(Locale l)
Sets the locale of this HelpBroker. The locale is propagated to
the presentation.
- setLocale in interface HelpBroker
l
- The locale to become this component's locale. A null locale
is the same as the defaultLocale.
setLocation
public void setLocation(Point p)
throws UnsupportedOperationException
Requests the presentation be located at a given position.
This operation throws an UnsupportedOperationException
in ServletHelpBroker
- setLocation in interface HelpBroker
setScreen
public void setScreen(int screen)
throws UnsupportedOperationException
Requests the presentation be set to a given screen.
This operation throws an UnsupportedOperationException
in ServletHelpBroker
- setScreen in interface HelpBroker
setSize
public void setSize(Dimension d)
throws UnsupportedOperationException
Requests the presentation be set to a given size.
This operation throws an UnsupportedOperationException
in ServletHelpBroker
- setSize in interface HelpBroker