Package com.portal.bas.comp
Class PDefaultContextHelpAction
java.lang.Object
javax.swing.AbstractAction
com.portal.bas.PBASAction
com.portal.bas.comp.PDefaultContextHelpAction
- All Implemented Interfaces:
ActionListener
,Serializable
,Cloneable
,EventListener
,Action
PDefaultContextHelpAction
is an action command object
used to deliver help for a component. This is the default
provided by PViewComponent
.- Version:
- 3
- Author:
- Larry Lynch-Freshner
- 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
ConstructorsConstructorDescriptionCreates a null instance of a default help action.Creates a new instance of a default help action for the specified component. -
Method Summary
Modifier and TypeMethodDescriptionvoid
Handles the action performed.Methods 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
-
PDefaultContextHelpAction
Creates a new instance of a default help action for the specified component.- Parameters:
comp
- the component for which this action delivers help
-
PDefaultContextHelpAction
public PDefaultContextHelpAction()Creates a null instance of a default help action.
-
-
Method Details
-
actionPerformed
Handles the action performed. This is called when the help action is invoked. It changes the cursor to the context help cursor and displays help for the selected component.- Parameters:
e
- the action event
-