public class ContextMenuAction extends AbstractAction
ActionMenu
class).changeSupport, enabled
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 and Description |
---|
ContextMenuAction() |
ContextMenuAction(String title) |
ContextMenuAction(String title,
Icon icon) |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(ActionEvent event) |
void |
setActionListener(ActionListener listener) |
void |
setSmallIcon(Icon icon) |
void |
setText(String text) |
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
public ContextMenuAction(String title)
public ContextMenuAction()
public void setText(String text)
public void setSmallIcon(Icon icon)
public void setActionListener(ActionListener listener)
public void actionPerformed(ActionEvent event)
TV-Browser 2.7.6, Copyright (C) 04-2003 Martin Oberhauser (martin@tvbrowser.org)