public class BoldAction extends StyleAction
uiController
focusOwner
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 |
---|
BoldAction(UIController uiController)
Creates a new bold action.
|
Modifier and Type | Method and Description |
---|---|
protected void |
applyStyle(StylableCell cell)
Toggles the boldness of the selected cells in the focus owner table.
|
protected void |
defineProperties()
Defines the action's properties.
|
protected String |
getName()
Returns the action's name.
|
actionPerformed
propertyChange
requiresFile, requiresModification, showErrorDialog
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
public BoldAction(UIController uiController)
uiController
- the user interface controllerprotected String getName()
BaseAction
getName
in class BaseAction
protected void defineProperties()
BaseAction
defineProperties
in class BaseAction
protected void applyStyle(StylableCell cell)
applyStyle
in class StyleAction
cell
- the cell to which style should be applied