Package ca.corbett.extensions.ui
Class ExtensionDetailsPanel.HyperlinkAction
java.lang.Object
javax.swing.AbstractAction
ca.corbett.extensions.ui.ExtensionDetailsPanel.HyperlinkAction
- All Implemented Interfaces:
ActionListener,Serializable,Cloneable,EventListener,Action
- Enclosing class:
ExtensionDetailsPanel
A generic action that can be hooked onto any hyperlinked LabelField to open
the given url in the user's default browser. If the given URL can't be parsed,
or if the current JRE doesn't support link browsing, then the url is copied
to the system clipboard and an informational popup is shown to that effect.
- Author:
- scorbo2
- See Also:
-
Field Summary
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabledFields 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
Constructors -
Method Summary
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
Constructor Details
-
HyperlinkAction
-
-
Method Details
-
actionPerformed
-