Implementing Component Controllers
Using the IPrivate API
The defined public method doSomething() can be invoked within the component controller class by using the member variable wdThis of type IPrivate. The declared methods are exposed by the IPublic-API which is extended by the IPrivate-API.
SampleComp.java |
wdThis.doSomething();
|
The event SomeEvent can be fired by invoking a corresponding wdFireXY() method defined in the IPrivate-API of the component controller.
SampleWin.java |
wdThis.wdFireSomeEvent();
|