ScriptUtil

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);

PVUtil

Provides APIs for PV operation.

ColorFontUtil

Provides color constants and APIs for color and font operations.

DataUtil

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.

ScriptUtil

Provides facility APIs for other operations such as openning an OPI.

ConsoleUtil

Provides facility APIs for writing information to CSS console.