final class OlePropertyChangeSink
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private OleControlSite |
controlSite |
private OleEventTable |
eventTable |
private COMObject |
iPropertyNotifySink |
private COMObject |
iUnknown |
private int |
propertyCookie |
private int |
refCount |
Constructor and Description |
---|
OlePropertyChangeSink(OleControlSite controlSite) |
Modifier and Type | Method and Description |
---|---|
(package private) void |
addListener(int propertyID,
OleListener listener) |
(package private) int |
AddRef() |
(package private) void |
connect(IUnknown objIUnknown) |
private void |
createCOMInterfaces() |
(package private) void |
disconnect(IUnknown objIUnknown) |
private void |
disposeCOMInterfaces() |
private void |
notifyListener(int eventType,
OleEvent event)
Notify listeners of an event.
|
private int |
OnChanged(int dispID) |
private int |
OnRequestEdit(int dispID) |
private int |
QueryInterface(int riid,
int ppvObject) |
(package private) int |
Release() |
(package private) void |
removeListener(int propertyID,
OleListener listener) |
private OleControlSite controlSite
private COMObject iUnknown
private COMObject iPropertyNotifySink
private int refCount
private int propertyCookie
private OleEventTable eventTable
OlePropertyChangeSink(OleControlSite controlSite)
void addListener(int propertyID, OleListener listener)
int AddRef()
void connect(IUnknown objIUnknown)
private void createCOMInterfaces()
void disconnect(IUnknown objIUnknown)
private void disposeCOMInterfaces()
private void notifyListener(int eventType, OleEvent event)
This method notifies all listeners that an event has occurred.
eventType
- the desired SWT eventevent
- the event datajava.lang.IllegalArgumentException
- SWTException
- private int OnChanged(int dispID)
private int OnRequestEdit(int dispID)
private int QueryInterface(int riid, int ppvObject)
int Release()
void removeListener(int propertyID, OleListener listener)