public class EditableCellFocusAction extends Object implements ActionListener
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 |
|---|
EditableCellFocusAction(JTable table,
KeyStroke keyStroke) |
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(ActionEvent e) |
void |
addPropertyChangeListener(PropertyChangeListener listener) |
Object[] |
getKeys() |
PropertyChangeListener[] |
getPropertyChangeListeners() |
Object |
getValue(String key) |
void |
install()
Install this class as the default Action
|
void |
invokeOriginalAction(ActionEvent e)
Child classes should use this method to invoke the original Action
|
boolean |
isEnabled() |
void |
putValue(String key,
Object newValue) |
void |
removePropertyChangeListener(PropertyChangeListener listener) |
void |
setEnabled(boolean newValue) |
void |
unInstall()
Restore the original Action as the default Action
|
public void actionPerformed(ActionEvent e)
actionPerformed in interface ActionListenerpublic void invokeOriginalAction(ActionEvent e)
public void install()
public void unInstall()
public void addPropertyChangeListener(PropertyChangeListener listener)
addPropertyChangeListener in interface Actionpublic void removePropertyChangeListener(PropertyChangeListener listener)
removePropertyChangeListener in interface Actionpublic void setEnabled(boolean newValue)
setEnabled in interface Actionpublic Object[] getKeys()
public PropertyChangeListener[] getPropertyChangeListeners()
Copyright © 2009–2020 KRDB Research Centre for Knowledge and Data, Free University of Bozen-Bolzano. All rights reserved.