org.grinvin.list.actions

Class WorksheetRename

Implemented Interfaces:
ChangeListener, ListSelectionListener

public class WorksheetRename
extends AbstractAction
implements ListSelectionListener, ChangeListener

GUI command which allows the user to rename the currently selected worksheet.

Acts upon a array list model and a selection model stored as attributes in an attributed command manager.

Constructor Summary

WorksheetRename(GrinvinWindow window)
Construct an action command of this type.

Method Summary

void
actionPerformed(ActionEvent e)
Ask the user to rename the currently selected graph list element.
void
stateChanged(ChangeEvent e)
void
valueChanged(ListSelectionEvent e)

Constructor Details

WorksheetRename

public WorksheetRename(GrinvinWindow window)
Construct an action command of this type.

Method Details

actionPerformed

public void actionPerformed(ActionEvent e)
Ask the user to rename the currently selected graph list element.

stateChanged

public void stateChanged(ChangeEvent e)

valueChanged

public void valueChanged(ListSelectionEvent e)