public class Popup extends Presentation implements java.awt.event.ActionListener
Presentation| Modifier and Type | Method and Description |
|---|---|
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.
|
getCurrentID, getCurrentURL, getFont, getHelpModel, getHelpSet, getLocale, getSize, setCurrentID, setCurrentID, setCurrentURL, setFont, setHelpSet, setHelpSetPresentation, setLocale, setSizepublic 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 popupan - 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()
PresentationisDisplayed in class Presentationpublic void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed in interface java.awt.event.ActionListener