com.jniwrapper.win32.jexcel
Class WorksheetEventObject

java.lang.Object
  extended by java.util.EventObject
      extended by com.jniwrapper.win32.jexcel.WorksheetEventObject
All Implemented Interfaces:
java.io.Serializable

public class WorksheetEventObject
extends java.util.EventObject

Instances of the WorksheetEventObject class are used in the methods of the WorksheetEventListener and WorksheetEventHandler interfaces for providing event details.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
WorksheetEventObject(Worksheet source)
           
WorksheetEventObject(Worksheet source, Cell cell)
           
WorksheetEventObject(Worksheet source, com.jniwrapper.win32.excel.Hyperlink hyperlink)
           
WorksheetEventObject(Worksheet source, com.jniwrapper.win32.excel.PivotTable pivotTable)
           
WorksheetEventObject(Worksheet source, Range range)
           
 
Method Summary
 Cell getCell()
          Returns an instance of the Cell class, which the event is connected with.
 com.jniwrapper.win32.excel.Hyperlink getHyperlink()
          Returns an instance of the Hyperlink class, which the event is connected with.
 com.jniwrapper.win32.excel.PivotTable getPivotTable()
          Returns an instance of the PivotTable class, which the event is connected with.
 Range getRange()
          Returns an instance of the Range class, which the event is connected with.
 Worksheet getWorksheet()
          Returns the event source object.
 
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

WorksheetEventObject

public WorksheetEventObject(Worksheet source)

WorksheetEventObject

public WorksheetEventObject(Worksheet source,
                            Range range)

WorksheetEventObject

public WorksheetEventObject(Worksheet source,
                            Cell cell)

WorksheetEventObject

public WorksheetEventObject(Worksheet source,
                            com.jniwrapper.win32.excel.Hyperlink hyperlink)

WorksheetEventObject

public WorksheetEventObject(Worksheet source,
                            com.jniwrapper.win32.excel.PivotTable pivotTable)
Method Detail

getRange

public Range getRange()
Returns an instance of the Range class, which the event is connected with.

Returns:
an instance of the Range class, which the event is connected with.

getCell

public Cell getCell()
Returns an instance of the Cell class, which the event is connected with.

Returns:
an instance of the Cell class, which the event is connected with.

getWorksheet

public Worksheet getWorksheet()
Returns the event source object.

Returns:
the event source object.

getHyperlink

public com.jniwrapper.win32.excel.Hyperlink getHyperlink()
Returns an instance of the Hyperlink class, which the event is connected with.

Returns:
an instance of the Hyperlink class, which the event is connected with, or null if this property is not specified

getPivotTable

public com.jniwrapper.win32.excel.PivotTable getPivotTable()
Returns an instance of the PivotTable class, which the event is connected with.

Returns:
an instance of the PivotTable class, which the event is connected with, or null if this property is not specified