Package javax.help
Class SwingHelpUtilities
java.lang.Object
javax.help.SwingHelpUtilities
- All Implemented Interfaces:
PropertyChangeListener
,EventListener
Provides a number of utility functions:
Support for Beans, mapping from a Bean class to its HelpSet and to
its ID.
Support for LAF changes.
Support for finding localized resources.
This class has no public constructor.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ImageIcon
getImageIcon
(Class baseClass, String image) Create an Icon from a given resource.void
The PropertyChange method is used to track changes to LookAndFeel via the "lookAndFeel" property.static void
setContentViewerUI
(String cvUI) Set the default ContentViewerUI param cvUI - full class name of the content viewer UI
-
Constructor Details
-
SwingHelpUtilities
public SwingHelpUtilities()
-
-
Method Details
-
propertyChange
The PropertyChange method is used to track changes to LookAndFeel via the "lookAndFeel" property.- Specified by:
propertyChange
in interfacePropertyChangeListener
-
setContentViewerUI
Set the default ContentViewerUI param cvUI - full class name of the content viewer UI -
getImageIcon
Create an Icon from a given resource. This works uisng getResourceAsStream() because several browsers do not correctly implement getResource(). This method may change...
-