public class FontSizeAction extends MainWindowAction implements ConfigChangeListener
Modifier and Type | Class and Description |
---|---|
static class |
FontSizeAction.Mode |
Modifier and Type | Field and Description |
---|---|
private FontSizeAction.Mode |
mode |
private static long |
serialVersionUID |
mainWindow, SHORTCUT_KEY_MASK
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 |
---|
FontSizeAction(MainWindow mainWindow,
FontSizeAction.Mode mode) |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(ActionEvent e) |
void |
configChanged(ConfigChangeEvent e)
focused node has changed
|
private static int |
getDownMask()
determine the key mask to use.
|
getMediator, getName, isSelected, setAcceleratorKey, setAcceleratorLetter, setIcon, setName, setSelected, setTooltip
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
private static final long serialVersionUID
private FontSizeAction.Mode mode
public FontSizeAction(MainWindow mainWindow, FontSizeAction.Mode mode)
public void actionPerformed(ActionEvent e)
actionPerformed
in interface ActionListener
public void configChanged(ConfigChangeEvent e)
ConfigChangeListener
configChanged
in interface ConfigChangeListener
private static int getDownMask()