# Uses of Interface
com.orchestranetworks.ui.UIJavaScriptWriter

Packages that use UIJavaScriptWriter
Package
Description
com.orchestranetworks.ui
This package provides the capability to create custom user interface components that are integrated within EBX®.
com.orchestranetworks.ui.form
This package allows customizing forms.
com.orchestranetworks.ui.form.widget
This package provides a library of user interface widgets.
com.orchestranetworks.userservice
A public API for user services.

- ## Uses of UIJavaScriptWriter in com.orchestranetworks.ui

  Subinterfaces of UIJavaScriptWriter in com.orchestranetworks.ui
  Modifier and Type
  Interface
  Description
  `interface`
  `UIAjaxContext`
  Encapsulates an HTTP response so that an Ajax component is able to generate its part of the DHTML page.
  `interface`
  `UIComponentWriter`
  This interface offers common user interface methods to create standard EBX® components.
  `interface`
  `UIResponseContext`
  Deprecated.
  From 5.8.0, please use the new API `UICustomWidget` instead.
  `interface`
  `UIServiceComponentWriter`
  Deprecated.
  From release 6.0, this API is no longer supported.
  `interface`
  `UITableFilterResponseContext`
  Encapsulates an HTTP request in order to display a table filter.
  Methods in com.orchestranetworks.ui that return UIJavaScriptWriter
  Modifier and Type
  Method
  Description
  `UIJavaScriptWriter`
  UIJavaScriptWriter.`addJS(String aJavaScriptCode)`
  Adds some text to the JavaScript stream.
  `UIJavaScriptWriter`
  UIJavaScriptWriter.`addJS_addResizeWorkspaceListener(String aFunctionName)`
  Adds a JavaScript function to listen for workspace resizing.
  `UIJavaScriptWriter`
  UIJavaScriptWriter.`addJS_cr()`
  Adds a carriage return to the JavaScript stream.
  `UIJavaScriptWriter`
  UIJavaScriptWriter.`addJS_cr(String aJavaScriptCode)`
  Adds some text, then adds a carriage return to the JavaScript stream.
  `UIJavaScriptWriter`
  UIResponseContext.`addJS_getNodeValue(Path aPath)`
  Deprecated.
  Replaced by `UIFormWriter.addJS_getNodeValue(Path)`
  `UIJavaScriptWriter`
  UIJavaScriptWriter.`addJS_openPreviewImage(String imageURL)`
  Opens an image preview panel for the given image URL.
  `UIJavaScriptWriter`
  UIJavaScriptWriter.`addJS_openPreviewImageFromVar(String varName)`
  Opens an image preview panel from a JavaScript `var` containing the image URL.
  `UIJavaScriptWriter`
  UIJavaScriptWriter.`addJS_setButtonDisabled(String buttonElement, String isDisabled)`
  Disables or enables a button.
  `UIJavaScriptWriter`
  UIJavaScriptWriter.`addJS_setExpandCollapseBlockExpanded(String expandCollapseBlockId, String isExpanded)`
  Expands or collapses an expand/collapse block.
  `UIJavaScriptWriter`
  UIResponseContext.`addJS_setNodeValue(String aVarName, Path aPath)`
  Deprecated.
  Replaced by `UIFormWriter.addJS_setNodeValue(String, Path)`
  `UIJavaScriptWriter`
  UIJavaScriptWriter.`addJS_setStateToToggleButton(String buttonElement, String state)`
  Sets the state of a toggle button.
  `UIJavaScriptWriter`
  UIJavaScriptWriter.`addJS_switchToPerspective(String aPerspectiveName)`
  Changes the page of the highest EBX® frame to the specified perspective.
  `UIJavaScriptWriter`
  UIJavaScriptWriter.`addJS_switchToPerspectiveAction(String aPerspectiveName, String aPerspectiveActionName)`
  Changes the page of the highest EBX® frame to the specified perspective action.

- ## Uses of UIJavaScriptWriter in com.orchestranetworks.ui.form

  Subinterfaces of UIJavaScriptWriter in com.orchestranetworks.ui.form
  Modifier and Type
  Interface
  Description
  `interface`
  `UIFormPaneWriter`
  Encapsulates an HTTP response so that a form layout is able to generate its part of the page, including the building of standard model-driven widgets.
  `interface`
  `UIFormWriter`
  This interface offers methods useful to create standard EBX® forms.
  Methods in com.orchestranetworks.ui.form that return UIJavaScriptWriter
  Modifier and Type
  Method
  Description
  `UIJavaScriptWriter`
  UIFormWriter.`addJS_getNodeValue(Path aPath)`
  Adds JavaScript code to get the current value of a node, as set in the form.
  `UIJavaScriptWriter`
  UIFormWriter.`addJS_hideTab(String tabId)`
  Hides the `UIFormPaneWithTabs.Tab` having the specified identifier.
  `UIJavaScriptWriter`
  UIFormWriter.`addJS_setNodeValue(String aVarName, Path aPath)`
  Adds JavaScript code to set the value of a node from a JavaScript variable.
  `UIJavaScriptWriter`
  UIFormWriter.`addJS_showTab(String tabId)`
  Shows the `UIFormPaneWithTabs.Tab` having the specified identifier.

- ## Uses of UIJavaScriptWriter in com.orchestranetworks.ui.form.widget

  Subinterfaces of UIJavaScriptWriter in com.orchestranetworks.ui.form.widget
  Modifier and Type
  Interface
  Description
  `interface`
  `WidgetWriter`
  This interface offers methods that can be used to create a standard EBX® widget.
  `interface`
  `WidgetWriterForList`
  This interface offers methods that can be used to create a standard EBX® list widget.

- ## Uses of UIJavaScriptWriter in com.orchestranetworks.userservice

  Subinterfaces of UIJavaScriptWriter in com.orchestranetworks.userservice
  Modifier and Type
  Interface
  Description
  `interface`
  `UserServicePaneWriter`
  This interface provides useful methods for rendering a user service pane.
  `interface`
  `UserServiceRawPaneWriter`
  This interface provides useful methods for rendering a user service pane.
  `interface`
  `UserServiceWriter`
  This interface provides methods for rendering a user service content.