| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.help.Presentation
javax.help.Popup
Popup is a Presentation class that will create a popup help window for an application. There is only one popup per application. A popup contains only a content viewer. It is intended to provide immediate help and then allow the user to continue working. Once a popup loses focus, it is destroyed.
Presentation| Method Summary | |
|  void | actionPerformed(java.awt.event.ActionEvent e) | 
|  java.awt.Component | getInvoker()Get the Component that invoked this popup | 
|  java.awt.Rectangle | getInvokerInternalBounds()Get the internal bounds for the invoker. | 
| static Presentation | getPresentation(HelpSet hs,
                java.lang.String name)create a new Popup for a given HelpSet and HelpSet.Presentation "name". | 
|  boolean | isDisplayed()Determines if the presentation is displayed. | 
|  void | setDisplayed(boolean b)Displays the presentation to the user | 
|  void | setInvoker(java.awt.Component invoker)Set the invoking component for this popup. | 
|  void | setInvokerInternalBounds(java.awt.Rectangle bounds)Set the the internal bounds for an invoker. | 
| Methods inherited from class javax.help.Presentation | 
| getCurrentID, getCurrentURL, getFont, getHelpSet, getLocale, getSize, setCurrentID, setCurrentID, setCurrentURL, setFont, setHelpSet, setHelpSetPresentation, setLocale, setSize | 
| Methods inherited from class java.lang.Object | 
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Method Detail | 
public static Presentation getPresentation(HelpSet hs,
                                           java.lang.String name)
hs - The HelpSEt used in this presentationname - The name of the HelpSet.Presentation to usepublic java.awt.Component getInvoker()
public void setInvoker(java.awt.Component invoker)
invoker - The component that invoked this popup
an - IllegalArgumentException if the invoker or it's parents are
		not showing.public java.awt.Rectangle getInvokerInternalBounds()
public void setInvokerInternalBounds(java.awt.Rectangle bounds)
bounds - A Rectangle of the internal boundspublic void setDisplayed(boolean b)
setDisplayed in class Presentationpublic boolean isDisplayed()
Presentation
isDisplayed in class Presentationpublic void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed in interface java.awt.event.ActionListener| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||