Package com.portal.bas.comp
Class PDefaultHelpIDAction
java.lang.Object
javax.swing.AbstractAction
com.portal.bas.PBASAction
com.portal.bas.comp.PDefaultHelpIDAction
- All Implemented Interfaces:
ActionListener
,Serializable
,Cloneable
,EventListener
,Action
PDefaultHelpIDAction
is the PBASAction
command object used to deliver help for a component, given an ID. This is
the default provided by PViewComponent
.- Version:
- %version: 10 % %date_modified: Tue Dec 18 19:17:46 2001 %
- Author:
- larrylf
- See Also:
-
Field Summary
Fields inherited from class com.portal.bas.PBASAction
ACCEL, ICON_DISABLED, ICON_DISABLED_SELECTED, ICON_PRESSED, ICON_ROLLOVER, ICON_ROLLOVER_SELECTED, ICON_SELECTED, MNEM, TOOL_TITLE, TOOLBAR_LABEL
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
Fields inherited from interface javax.swing.Action
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 Summary
ConstructorsConstructorDescriptionPDefaultHelpIDAction
(PClientComponent comp, String helpID) Creates a new instance ofPDefaultHelpAction
.PDefaultHelpIDAction
(String helpID) Creates a new instance ofPDefaultHelpAction
.PDefaultHelpIDAction
(String helpID, Window helpUIOwner) Create a new instance of the DefaultHelpActionPDefaultHelpIDAction
(String helpID, oracle.help.CSHManager cshManager) Creates a new instance ofPDefaultHelpAction
. -
Method Summary
Modifier and TypeMethodDescriptionvoid
AnactionPerformed
handler that displays help.void
set the help ID for this instance of the DefaultHelpActionMethods inherited from class com.portal.bas.PBASAction
equals, getComponent, getHelpID, getPreferredMenu, getTag, handleError, setActionHelpOn, setPreferredMenu
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
Constructor Details
-
PDefaultHelpIDAction
Creates a new instance ofPDefaultHelpAction
.- Parameters:
comp
- the component to deliver help forhelpID
- the help ID to be displayed by this action
-
PDefaultHelpIDAction
Creates a new instance ofPDefaultHelpAction
.- Parameters:
helpID
- the help ID to be displayed by this action
-
PDefaultHelpIDAction
Creates a new instance ofPDefaultHelpAction
.- Parameters:
helpID
- the help ID to be displayed by this actioncshManager
- the help broker to display context senstive help
-
PDefaultHelpIDAction
Create a new instance of the DefaultHelpAction- Parameters:
helpID
- The help ID to be displayed by this ActionhelpUIOwner
- Window that will "own" the help UI
-
-
Method Details
-
setHelpID
set the help ID for this instance of the DefaultHelpAction- Parameters:
helpID
- THe help ID to be displayed by this Action
-
actionPerformed
AnactionPerformed
handler that displays help.- Parameters:
e
- the event to display help for
-