com.jniwrapper.win32.jexcel
Class WorkbookEventObject
java.lang.Object
java.util.EventObject
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
Fields inherited from class java.util.EventObject |
source |
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 |
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)
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