Package com.ebasetech.xi.api
Interface SystemPreferences
public interface SystemPreferences
The
SystemPreferences interface provides access to some of the system preferences configured via Tools > System Preferences.
System Preferences are accessed using EbaseSystem.getPreferences().
- Since:
- V4.4
-
Method Summary
Modifier and Type Method Description booleanisUseJavascript()Returnsfalseif the Do not use Javascript option is checked in System Preferences (see Tools > System Prefences > Accessibility), otherwise returnstrue.booleanisUsePopups()Returnsfalseif the Do not popup new windows option is checked in System Preferences (see Tools > System Prefences > Accessibility), otherwise returnstrue.
-
Method Details
-
isUseJavascript
boolean isUseJavascript()Returnsfalseif the Do not use Javascript option is checked in System Preferences (see Tools > System Prefences > Accessibility), otherwise returnstrue. When set tofalse, no Javascript will be used on the client; when set totrue, Javascript will be used so long as it is supported by the client browser. To check whether Javascript is currently in use on the client, use methodClient.isJavascriptUsed().- Since:
- V4.4
-
isUsePopups
boolean isUsePopups()Returnsfalseif the Do not popup new windows option is checked in System Preferences (see Tools > System Prefences > Accessibility), otherwise returnstrue.When set to
false, popup help windows and windows used for the save/restore feature are displayed in the existing form browser window, and a return button is added to enable the user to return to the form window.- Since:
- V4.4
-