com.inet.editor
Class HyperlinkActionPopup
java.lang.Object
javax.swing.AbstractAction
com.inet.editor.HyperlinkActionPopup
- All Implemented Interfaces:
- java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action
public class HyperlinkActionPopup
- extends javax.swing.AbstractAction
action to edit hyperlinks via popup menu.
- See Also:
- Serialized Form
Field Summary |
static java.lang.String |
NAME
|
Fields inherited from interface javax.swing.Action |
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, SHORT_DESCRIPTION, SMALL_ICON |
Constructor Summary |
HyperlinkActionPopup(javax.swing.JEditorPane editor)
Create the action and binds it to an editor |
Methods inherited from class javax.swing.AbstractAction |
addPropertyChangeListener, getKeys, getPropertyChangeListeners, getValue, putValue, removePropertyChangeListener, setEnabled |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NAME
public static final java.lang.String NAME
- See Also:
- Constant Field Values
HyperlinkActionPopup
public HyperlinkActionPopup(javax.swing.JEditorPane editor)
- Create the action and binds it to an editor
- Parameters:
editor
- the editor component to bind to
isEnabled
public boolean isEnabled()
-
- Specified by:
isEnabled
in interface javax.swing.Action
- Overrides:
isEnabled
in class javax.swing.AbstractAction
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
-