To facilitate the script programming, most of frequently used APIs are wrapped in the package
org.csstudio.opibuilder.scriptUtil
. The APIs are provided as static methods in
different classes.
To use the APIs in ScriptUtil package, it must be imported to the script:
importPackage(Packages.org.csstudio.opibuilder.scriptUtil);
Provides APIs for PV operation.
Provides color constants and APIs for color and font operations.
Utility class to facilitate Javascript programming for data operation. The basic data type such as int, double, boolean and string are exchangeable between JavaScript and Java, which means these types of JavaScript variables can be directly used as parameters of Java methods, but array is not exchangeable between JavaScript and Java. This utility class provides methods to create Java array or convert JavaScript array to Java array.
Provides facility APIs for other operations such as openning an OPI.
Provides facility APIs for writing information to CSS console.