org.formulacompiler.runtime.spreadsheet
Class SpreadsheetCellComputationEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.formulacompiler.runtime.event.CellComputationEvent
          extended by org.formulacompiler.runtime.spreadsheet.SpreadsheetCellComputationEvent
All Implemented Interfaces:
java.io.Serializable

public class SpreadsheetCellComputationEvent
extends CellComputationEvent

This event is emitted after a cell has been computed.

Author:
Vladimir Korenev
See Also:
CellComputationListener, Computation.Config.cellComputationListener, Serialized Form

Constructor Summary
SpreadsheetCellComputationEvent(CellInfo _source, SectionInfo _section, java.lang.Object _value, boolean _input, boolean _output)
          Creates a new event.
 
Method Summary
 CellInfo getCellInfo()
          Returns information about the cell.
 SectionInfo getSectionInfo()
          Returns information about the section.
 java.lang.String toString()
           
 
Methods inherited from class org.formulacompiler.runtime.event.CellComputationEvent
getValue, isInput, isOutput
 
Methods inherited from class java.util.EventObject
getSource
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SpreadsheetCellComputationEvent

public SpreadsheetCellComputationEvent(CellInfo _source,
                                       SectionInfo _section,
                                       java.lang.Object _value,
                                       boolean _input,
                                       boolean _output)
Creates a new event.

Parameters:
_source - the cell which contains the computation.
_section - the section which contains the cell.
_value - the computed value.
_input - true if the cell is bound to an input method, false otherwise.
_output - true if the cell is bound to an output method, false otherwise.
Method Detail

getCellInfo

public CellInfo getCellInfo()
Returns information about the cell.

Returns:
cell info.

getSectionInfo

public SectionInfo getSectionInfo()
Returns information about the section.

Returns:
section info.

toString

public java.lang.String toString()
Overrides:
toString in class CellComputationEvent