net.sf.jett.event
Class CellEvent

java.lang.Object
  extended by net.sf.jett.event.CellEvent

public class CellEvent
extends java.lang.Object

A CellEvent represents data associated with a "cell processed" event. It contains a reference to the Cell that was processed, the Map of bean names and values used to process it, the old value, and the new value.

Author:
Randy Gettman

Constructor Summary
CellEvent(org.apache.poi.ss.usermodel.Cell cell, java.util.Map<java.lang.String,java.lang.Object> beans, java.lang.Object oldValue, java.lang.Object newValue)
          Creates a CellEvent.
 
Method Summary
 java.util.Map<java.lang.String,java.lang.Object> getBeans()
          Returns the Map of bean names and values that was used to process the Cell.
 org.apache.poi.ss.usermodel.Cell getCell()
          Returns the Cell that was processed.
 java.lang.Object getNewValue()
          Returns the new cell value.
 java.lang.Object getOldValue()
          Returns the old cell value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CellEvent

public CellEvent(org.apache.poi.ss.usermodel.Cell cell,
                 java.util.Map<java.lang.String,java.lang.Object> beans,
                 java.lang.Object oldValue,
                 java.lang.Object newValue)
Creates a CellEvent.

Parameters:
cell - The Cell that was processed.
beans - The Map of bean names and values that was used to process cell.
oldValue - The old cell value.
newValue - The new cell value.
Method Detail

getCell

public org.apache.poi.ss.usermodel.Cell getCell()
Returns the Cell that was processed.

Returns:
The Cell that was processed.

getBeans

public java.util.Map<java.lang.String,java.lang.Object> getBeans()
Returns the Map of bean names and values that was used to process the Cell.

Returns:
The Map of bean names and values.

getOldValue

public java.lang.Object getOldValue()
Returns the old cell value.

Returns:
The old cell value.

getNewValue

public java.lang.Object getNewValue()
Returns the new cell value.

Returns:
The new cell value.


Copyright © 2012-2013 Jett Team. All Rights Reserved.