csheets.ext.style.ui
Class StyleAction
java.lang.Object
javax.swing.AbstractAction
csheets.ui.ctrl.BaseAction
csheets.ui.ctrl.FocusOwnerAction
csheets.ext.style.ui.StyleAction
- All Implemented Interfaces:
- ActionListener, PropertyChangeListener, Serializable, Cloneable, EventListener, Action
- Direct Known Subclasses:
- AlignBottomAction, AlignCenterAction, AlignLeftAction, AlignMiddleAction, AlignRightAction, AlignTopAction, BoldAction, ItalicAction, UnderlineAction
public abstract class StyleAction
- extends FocusOwnerAction
A style operation.
- Author:
- Einar Pehrson
- See Also:
- Serialized Form
uiController
protected UIController uiController
- The user interface controller
StyleAction
public StyleAction(UIController uiController)
- Creates a new style action.
- Parameters:
uiController - the user interface controller
actionPerformed
public void actionPerformed(ActionEvent event)
- Applies the style to the selected cells in the focus owner table.
- Parameters:
event - the event that was fired
applyStyle
protected abstract void applyStyle(StylableCell cell)
- Applies the style to the given stylable cell
- Parameters:
cell - the cell to which style should be applied