csheets.ext.style.ui
Class AlignRightAction
java.lang.Object
javax.swing.AbstractAction
csheets.ui.ctrl.BaseAction
csheets.ui.ctrl.FocusOwnerAction
csheets.ext.style.ui.StyleAction
csheets.ext.style.ui.AlignRightAction
- All Implemented Interfaces:
- ActionListener, PropertyChangeListener, Serializable, Cloneable, EventListener, Action
public class AlignRightAction
- extends StyleAction
A right-alignment operation.
- Author:
- Einar Pehrson
- See Also:
- Serialized Form
AlignRightAction
public AlignRightAction(UIController uiController)
- Creates a new align right action.
- Parameters:
uiController - the user interface controller
getName
protected String getName()
- Description copied from class:
BaseAction
- Returns the action's name.
- Specified by:
getName in class BaseAction
- Returns:
- the action's name, which is used as short description and action command
defineProperties
protected void defineProperties()
- Description copied from class:
BaseAction
- Defines the action's properties.
- Overrides:
defineProperties in class BaseAction
applyStyle
protected void applyStyle(StylableCell cell)
- Aligns the content of the given cell to the right.
- Specified by:
applyStyle in class StyleAction
- Parameters:
cell - the cell to which style should be applied