public static interface CSH.Manager
HelpSet
and ID
for object. CSH is allowed only for Component
and MenuItem
.Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
getHelpIDString(java.lang.Object comp,
java.awt.AWTEvent e) |
Returns String represent Map.ID of the object depending on the event.
|
HelpSet |
getHelpSet(java.lang.Object comp,
java.awt.AWTEvent e) |
Returns HelpSet of the object depending on the event.
|
HelpSet getHelpSet(java.lang.Object comp, java.awt.AWTEvent e)
comp
- The object to get HelpSet
for it. Only Component
and MenuItem
is allowed.e
- The event by which dynamic CSH was invoked. It can be MouseEvent
in case of window level CSH, ActionEvent
in case of field level CSH or
null
otherwise.CSH.DisplayHelpAfterTracking
,
CSH.DisplayHelpFromFocus
,
CSH.DisplayHelpFromSource
java.lang.String getHelpIDString(java.lang.Object comp, java.awt.AWTEvent e)
comp
- The object to get Map.ID
for it. Only Component
and MenuItem
is allowed.e
- The event by which dynamic CSH was invoked. It can be MouseEvent
in case of window level CSH, ActionEvent
in case of field level CSH or
null
otherwise.CSH.DisplayHelpAfterTracking
,
CSH.DisplayHelpFromFocus
,
CSH.DisplayHelpFromSource