public class PDefaultHelpIDAction extends PBASAction
PDefaultHelpIDAction
is the PBASAction
command object used to deliver help for a component, given an ID. This is
the default provided by PViewComponent
.ACCEL, ICON_DISABLED, ICON_DISABLED_SELECTED, ICON_PRESSED, ICON_ROLLOVER, ICON_ROLLOVER_SELECTED, ICON_SELECTED, MNEM, TOOL_TITLE, TOOLBAR_LABEL
changeSupport, enabled
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
Constructor and Description |
---|
PDefaultHelpIDAction(PClientComponent comp,
String helpID)
Creates a new instance of
PDefaultHelpAction . |
PDefaultHelpIDAction(String helpID)
Creates a new instance of
PDefaultHelpAction . |
PDefaultHelpIDAction(String helpID,
oracle.help.CSHManager cshManager)
Creates a new instance of
PDefaultHelpAction . |
PDefaultHelpIDAction(String helpID,
Window helpUIOwner)
Create a new instance of the DefaultHelpAction
|
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(ActionEvent e)
An
actionPerformed handler that displays help. |
void |
setHelpID(String helpID)
set the help ID for this instance of the DefaultHelpAction
|
equals, getComponent, getHelpID, getPreferredMenu, getTag, handleError, setActionHelpOn, setPreferredMenu
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
public PDefaultHelpIDAction(PClientComponent comp, String helpID)
PDefaultHelpAction
.comp
- the component to deliver help forhelpID
- the help ID to be displayed by this actionpublic PDefaultHelpIDAction(String helpID)
PDefaultHelpAction
.helpID
- the help ID to be displayed by this actionpublic PDefaultHelpIDAction(String helpID, oracle.help.CSHManager cshManager)
PDefaultHelpAction
.helpID
- the help ID to be displayed by this actioncshManager
- the help broker to display context senstive helppublic void setHelpID(String helpID)
helpID
- THe help ID to be displayed by this Actionpublic void actionPerformed(ActionEvent e)
actionPerformed
handler that displays help.e
- the event to display help forCopyright © 2003, 2023, Oracle and/or its affiliates.