org.xnap.gui.util
Class XNapHelpBroker

java.lang.Object
  extended by javax.help.DefaultHelpBroker
      extended by org.xnap.gui.util.XNapHelpBroker
All Implemented Interfaces:
java.awt.event.KeyListener, java.util.EventListener, javax.help.HelpBroker

public class XNapHelpBroker
extends javax.help.DefaultHelpBroker

Extends the DefaultHelpBroker to use XNap's own HelpDialog for a consisten look and feel.


Field Summary
 
Fields inherited from class javax.help.DefaultHelpBroker
displayHelpFromFocus, displayHelpFromSource, font, frame, helpset, jhelp, locale, modallyActivated, ownerWindow
 
Constructor Summary
XNapHelpBroker(javax.help.HelpSet hs)
           
 
Method Summary
 javax.swing.JComponent getHelp()
           
 boolean isDisplayed()
           
 void setDisplayed(boolean b)
           
 
Methods inherited from class javax.help.DefaultHelpBroker
enableHelp, enableHelp, enableHelpKey, enableHelpOnButton, enableHelpOnButton, getCurrentID, getCurrentURL, getCurrentView, getDisplayHelpFromFocus, getDisplayHelpFromSource, getFont, getHelpSet, getLocale, getLocation, getSize, initPresentation, isViewDisplayed, keyPressed, keyReleased, keyTyped, setActivationWindow, setCurrentID, setCurrentID, setCurrentURL, setCurrentView, setFont, setHelpSet, setLocale, setLocation, setSize, setViewDisplayed
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XNapHelpBroker

public XNapHelpBroker(javax.help.HelpSet hs)
Method Detail

getHelp

public javax.swing.JComponent getHelp()

isDisplayed

public boolean isDisplayed()
Specified by:
isDisplayed in interface javax.help.HelpBroker
Overrides:
isDisplayed in class javax.help.DefaultHelpBroker

setDisplayed

public void setDisplayed(boolean b)
Specified by:
setDisplayed in interface javax.help.HelpBroker
Overrides:
setDisplayed in class javax.help.DefaultHelpBroker


Copyright © 2001-2005 XNap Team. All Rights Reserved.