com.jniwrapper.win32.jexcel
Class WorkbookEventObject

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

public class WorkbookEventObject
extends java.util.EventObject

Instances of the WorkbookEventObject class are used in the methods of the WorkbookEventListener and WorkbookEventHandler interfaces for providing event details.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
WorkbookEventObject(GenericWorkbook source)
           
WorkbookEventObject(GenericWorkbook source, com.jniwrapper.win32.excel.PivotTable pivotTable)
           
WorkbookEventObject(GenericWorkbook source, com.jniwrapper.win32.excel.Window window)
           
WorkbookEventObject(GenericWorkbook source, Worksheet worksheet)
           
 
Method Summary
 com.jniwrapper.win32.excel.PivotTable getPivotTable()
          Returns an instance of the PivotTable class, which the event is connected with.
 com.jniwrapper.win32.excel.Window getWindow()
          Returns an instance of the Window class, which the event is connected with.
 GenericWorkbook getWorkbook()
          Returns the event source object.
 Worksheet getWorksheet()
          Returns an instance of the Worksheet class, witch the event is connected with.
 
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

WorkbookEventObject

public WorkbookEventObject(GenericWorkbook source)

WorkbookEventObject

public WorkbookEventObject(GenericWorkbook source,
                           Worksheet worksheet)

WorkbookEventObject

public WorkbookEventObject(GenericWorkbook source,
                           com.jniwrapper.win32.excel.PivotTable pivotTable)

WorkbookEventObject

public WorkbookEventObject(GenericWorkbook source,
                           com.jniwrapper.win32.excel.Window window)
Method Detail

getWorksheet

public Worksheet getWorksheet()
Returns an instance of the Worksheet class, witch the event is connected with.

Returns:
an instance of the Worksheet class, witch the event is connected with.

getWorkbook

public GenericWorkbook getWorkbook()
Returns the event source object.

Returns:
the event source object.

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

getWindow

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

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