Package docking.help
Class GHelpBroker
- java.lang.Object
-
- javax.help.DefaultHelpBroker
-
- docking.help.GHelpBroker
-
- All Implemented Interfaces:
java.awt.event.KeyListener
,java.util.EventListener
,javax.help.HelpBroker
public class GHelpBroker extends javax.help.DefaultHelpBroker
Ghidra help broker that displays the help set; sets the Ghidra icon on the help frame and attempts to maintain the user window size.
-
-
Constructor Summary
Constructors Constructor Description GHelpBroker(javax.help.HelpSet hs)
Construct a new GhidraHelpBroker.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addCustomToolbarItems(javax.help.JHelp jHelp)
Create zoom in/out buttons on the default help window toolbar.void
setActivationWindow(java.awt.Window window)
void
setCurrentURL(java.net.URL URL)
void
setDisplayed(boolean b)
-
Methods inherited from class javax.help.DefaultHelpBroker
enableHelp, enableHelp, enableHelpKey, enableHelpKey, enableHelpOnButton, enableHelpOnButton, enableHelpOnButton, getCurrentID, getCurrentURL, getCurrentView, getDisplayHelpFromFocus, getDisplayHelpFromSource, getFont, getHelpSet, getLocale, getLocation, getScreen, getSize, getWindowPresentation, initPresentation, isDisplayed, isViewDisplayed, keyPressed, keyReleased, keyTyped, setActivationObject, setCurrentID, setCurrentID, setCurrentView, setFont, setHelpSet, setHelpSetPresentation, setLocale, setLocation, setScreen, setSize, setViewDisplayed, showID, showID
-
-
-
-
Method Detail
-
setCurrentURL
public void setCurrentURL(java.net.URL URL)
- Specified by:
setCurrentURL
in interfacejavax.help.HelpBroker
- Overrides:
setCurrentURL
in classjavax.help.DefaultHelpBroker
-
setDisplayed
public void setDisplayed(boolean b)
- Specified by:
setDisplayed
in interfacejavax.help.HelpBroker
- Overrides:
setDisplayed
in classjavax.help.DefaultHelpBroker
-
addCustomToolbarItems
protected void addCustomToolbarItems(javax.help.JHelp jHelp)
Create zoom in/out buttons on the default help window toolbar.- Parameters:
jHelp
- the java help object used to retrieve the help components
-
setActivationWindow
public void setActivationWindow(java.awt.Window window)
- Overrides:
setActivationWindow
in classjavax.help.DefaultHelpBroker
-
-