EGL library ruiLib

This topic describes the system functions in the ruiLib library.
Table 1. ruiLib system functions
System function and invocation Description
result = getTextSelectionEnabled () Indicates whether the user can select text from a Rich UI handler or widget that you are developing.
result = getTheme () Retrieves the theme property of the Rich UI application.
result = getTitle () Retrieves the title property of the Rich UI application.
result = getUserAgent () Provides access to the value of the HTTP header HTTP_USER_AGENT, which is sent by the user's browser during application invocation. The value is useful if you need to write code that varies by browser type or version,
setTextSelectionEnabled(trueOrFalse in) Sets a value that specifies whether the user is able to select text from a Rich UI handler or widget that you are developing.
setTheme (themein) Sets the theme property of the Rich UI application.
setTitle (titlein) Sets the title property of the Rich UI application.
sort (sortArray in, sortFunction) Repeatedly invokes a secondary sort function, first with array elements 1 and 2, then with elements 2 and 3, and so on. The invocations of the secondary sort function continue and repeat, as necessary, until the array reflects the requirement specified in that secondary function, which you develop.

Feedback