csheets.ui.ctrl
Class EditEvent

java.lang.Object
  extended by java.util.EventObject
      extended by csheets.ui.ctrl.EditEvent
All Implemented Interfaces:
Serializable

public class EditEvent
extends EventObject

An edit event is used to notify interested parties that a workbook has been modified.

Author:
Einar Pehrson
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
EditEvent(Object source, Workbook workbook)
          Creates a new edit event.
 
Method Summary
 Workbook getWorkbook()
          Returns the active workbook.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EditEvent

public EditEvent(Object source,
                 Workbook workbook)
Creates a new edit event.

Parameters:
source - the source of the event
workbook - the workbook that was modified
Method Detail

getWorkbook

public Workbook getWorkbook()
Returns the active workbook.

Returns:
the active workbook