
Using the IPrivate API
Task 1: Calling public Method doSomething()
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();
Task 2: Firing the event SomeEvent
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();