Package org.dwcj.bridge
Interface IDwcjBBjBridge
public interface IDwcjBBjBridge
-
Method Summary
Modifier and TypeMethodDescriptioncreateInstance(String classname) create an instance of a BBj-side object instance, mostly custom objectscom.basis.bbj.proxies.sysgui.BBjControlcreateWidget(String classname, com.basis.bbj.proxies.sysgui.BBjWindow wnd) delegates the creation of a widget, mostly BBj Plug-Ins written as a BBj Custom Class extending BBjWidget The BBj side uses the constructor that takes a single BBjChildWindow to instantiate the widgetcom.basis.startup.type.CustomObjectgetEventProxy(Object obj, String method) create and register an event proxy that defers BBj-side callback invocations to the Java DWCJ sidecom.basis.startup.type.CustomObjectgetEventProxy(Object obj, String method, String eventclassname) create and register an event proxy that defers BBj-side callback invocations to the Java DWCJ sideinvokeMethod(Object object, String method, ArrayList args) invoke a method of a BBj-side object instance, mostly custom objectsintinvoke the BBj-side MSGBOX function
-
Method Details
-
getEventProxy
create and register an event proxy that defers BBj-side callback invocations to the Java DWCJ side- Parameters:
obj- - the DWCJ-side object instance to receive the eventmethod- - the method name to receive the callback- Returns:
- the instance of the event proxy on the BBj side that receives the BBj events (which exposes "onEvent" for the BBj side)
-
getEventProxy
create and register an event proxy that defers BBj-side callback invocations to the Java DWCJ side- Parameters:
obj- - the DWCJ-side object instance to receive the eventmethod- - the method name to receive the callbackeventclassname- - the BBj event class type (used for BBj Plug-Ins that define custom event payload objects)- Returns:
- the instance of the event proxy on the BBj side that receives the BBj events (which exposes "onEvent" for the BBj side)
-
createWidget
com.basis.bbj.proxies.sysgui.BBjControl createWidget(String classname, com.basis.bbj.proxies.sysgui.BBjWindow wnd) delegates the creation of a widget, mostly BBj Plug-Ins written as a BBj Custom Class extending BBjWidget The BBj side uses the constructor that takes a single BBjChildWindow to instantiate the widget- Parameters:
classname- The classname in the style ::filename.bbj::classnamewnd- Handle to the window where the widget needs to be created- Returns:
- the BBjControl returned by the BBj side constructor
-
msgbox
invoke the BBj-side MSGBOX function- Parameters:
msg- the Messageoptions- the options, see BBj MSGBOX docstitle- the title- Returns:
-
invokeMethod
invoke a method of a BBj-side object instance, mostly custom objects- Parameters:
object- the object instancemethod- the method nameargs- the arguments as a List- Returns:
-
createInstance
create an instance of a BBj-side object instance, mostly custom objects- Parameters:
classname- the method nameargs- the arguments to the constructor as a List- Returns:
- the object instance
-
call
-