|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcsheets.ui.ctrl.ActionManager.ActionEnabler
public class ActionManager.ActionEnabler
A workbook listener that sets the enabled state of actoins depending on whether the current workbook has been modified and/or is stored in a file.
| Constructor Summary | |
|---|---|
ActionManager.ActionEnabler()
Creates a new action enabler. |
|
| Method Summary | |
|---|---|
void |
workbookCreated(SpreadsheetAppEvent event)
Invoked by the spreadsheet application to indicate that a new workbook has been created. |
void |
workbookLoaded(SpreadsheetAppEvent event)
Invoked by the spreadsheet application to indicate that a workbook has been loaded from the given file. |
void |
workbookModified(EditEvent event)
Invoked when a workbook is modified. |
void |
workbookSaved(SpreadsheetAppEvent event)
Invoked by the spreadsheet application to indicate that a workbook was saved to the given file. |
void |
workbookUnloaded(SpreadsheetAppEvent event)
Invoked by the spreadsheet application to indicate that a workbook has been unloaded (closed). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ActionManager.ActionEnabler()
| Method Detail |
|---|
public void workbookCreated(SpreadsheetAppEvent event)
SpreadsheetAppListener
workbookCreated in interface SpreadsheetAppListenerevent - the spreadsheet application event that occuredpublic void workbookLoaded(SpreadsheetAppEvent event)
SpreadsheetAppListener
workbookLoaded in interface SpreadsheetAppListenerevent - the spreadsheet application event that occuredpublic void workbookUnloaded(SpreadsheetAppEvent event)
SpreadsheetAppListener
workbookUnloaded in interface SpreadsheetAppListenerevent - the spreadsheet application event that occuredpublic void workbookSaved(SpreadsheetAppEvent event)
SpreadsheetAppListener
workbookSaved in interface SpreadsheetAppListenerevent - the spreadsheet application event that occuredpublic void workbookModified(EditEvent event)
EditListener
workbookModified in interface EditListener
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||