- java.lang.Object
-
- javax.swing.AbstractAction
-
- devplugin.ContextMenuAction
-
- All Implemented Interfaces:
java.awt.event.ActionListener
,java.io.Serializable
,java.lang.Cloneable
,java.util.EventListener
,javax.swing.Action
public class ContextMenuAction extends javax.swing.AbstractAction
Action class for context menu entries (can be used inActionMenu
class).- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ContextMenuAction()
ContextMenuAction(java.lang.String title)
ContextMenuAction(java.lang.String title, javax.swing.Icon icon)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
actionPerformed(java.awt.event.ActionEvent event)
void
setActionListener(java.awt.event.ActionListener listener)
void
setSmallIcon(javax.swing.Icon icon)
void
setText(java.lang.String text)
-
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
-