Package | Description |
---|---|
com.openfin.desktop | |
com.openfin.desktop.channel | |
com.openfin.desktop.win32 |
Modifier and Type | Method and Description |
---|---|
protected void |
OpenFinRuntime.addEventListener(org.json.JSONObject subscriptionObject,
EventListener listener,
AckListener callback)
Registers an event listener on the specified event
|
void |
OpenFinRuntime.addEventListener(String type,
EventListener listener,
AckListener callback)
Registers an event listener on the specified event
|
void |
Application.addEventListener(String type,
EventListener listener,
AckListener callback)
Registers an event listener on the specified event.
|
void |
Window.blur()
Removes focus to the window
|
void |
Window.bringToFront()
Brings the window to the front of the window stack
|
void |
OpenFinRuntime.clearCache(boolean cache,
boolean cookies,
boolean localStorage,
boolean appcache,
boolean userData)
Clears cached data containing window state/positions,
application resource files (images, HTML, JavaScript files)
cookies, and items stored in the Local Storage.
|
void |
OpenFinRuntime.clearCache(boolean cache,
boolean cookies,
boolean localStorage,
boolean appcache,
boolean userData,
AckListener listener)
Clears cached data containing window state/positions,
application resource files (images, HTML, JavaScript files)
cookies, and items stored in the Local Storage.
|
void |
Window.close()
Closes the window
|
void |
Application.close()
Closes the application and any child windows created by the application
|
void |
Application.close(Boolean force,
AckListener listener)
Closes the application with a listener that gets called if the method succeeds
|
void |
Application.createChildWindow(WindowOptions windowOptions,
AckListener callback)
Create a child window of this application
|
static void |
Application.createFromManifest(String manifestUrl,
AsyncCallback<Application> callback,
AckListener listener,
DesktopConnection connection)
Deprecated.
use launchManifest() instead.
|
void |
OpenFinRuntime.deleteCacheOnRestart()
Clears all cached data when Runtime is restarted
|
void |
DesktopConnection.disconnect()
Disconnects from Runtime
|
protected void |
DesktopConnection.disconnect(String reason) |
void |
DesktopConnection.exit()
Notify Runtime to exit
|
void |
OpenFinRuntime.exit()
Exit Runtime
|
void |
Window.focus()
Gives focus to the window
|
void |
OpenFinRuntime.getConfig(String section,
AckListener callback)
Retrieves the Runtime's configuration
|
void |
OpenFinRuntime.getEnvironmentVariable(String name,
AckListener callback)
Retrieve name of a environment variable
|
void |
OpenFinRuntime.getEnvironmentVariables(String[] names,
AckListener callback)
Retrieve name of environment variables
|
void |
OpenFinRuntime.getHostSpecs(AckListener listener)
Get system information
|
void |
OpenFinRuntime.getRuntimeInfo(AckListener callback)
Returns the version of the runtime
|
void |
OpenFinRuntime.getRvmInfo(AckListener callback)
Returns information about the running RVM
|
void |
Window.hide()
Hides the window if it is shown
|
void |
Window.joinGroup(Window window)
Joins the same window group as the specified window
When windows are joined, if the user moves one of the windows,
all other windows in the same group move too.
|
void |
OpenFinRuntime.launchExternalProcess(org.json.JSONObject launchConfig,
AsyncCallback<LaunchExternalProcessResult> callback,
AckListener listener)
Runs an executable or batch file.
|
void |
OpenFinRuntime.launchExternalProcess(String path,
String commandLine,
AsyncCallback<LaunchExternalProcessResult> callback,
AckListener listener)
Runs an executable or batch file.
|
void |
OpenFinRuntime.launchManifest(String manifestUrl,
org.json.JSONObject rvmLaunchOptions,
AckListener listener)
Request Runtime to launch app from a manifest
Shape of rvmLaunchOptions
{
noUi: boolean;
userAppConfigArgs: JSONObject;
}
|
void |
Window.leaveGroup()
Leaves the current window group so that the window
can be move independently of those in the group.
|
void |
OpenFinRuntime.log(String level,
String message)
Writes a message to the log
|
void |
OpenFinRuntime.log(String level,
String message,
AckListener listener)
Writes a message to the log
|
void |
Window.maximize()
Maximizes the window
|
void |
Window.mergeGroups(Window window)
Merges the instance's window group with the same window group as the specified window.
|
void |
Window.minimize()
Minimizes the window
|
void |
Window.moveBy(int deltaLeft,
int deltaTop)
Moves the window by a specified amount
|
void |
Window.moveBy(int deltaLeft,
int deltaTop,
AckListener listener)
Moves the window by a specified amount
|
void |
Window.moveTo(int left,
int top)
Moves the window to a specified location
|
void |
Window.moveTo(int left,
int top,
AckListener listener)
Moves the window to a specified location
|
void |
OpenFinRuntime.openUrlWithBrowser()
Opens the passed URL
|
void |
InterApplicationBus.publish(String topic,
Object message)
Publishes a message to a topic
|
void |
InterApplicationBus.publish(String topic,
Object message,
AckListener callback)
Publishes a message to a topic
|
void |
OpenFinRuntime.releaseExternalProcess(String processUuid,
AckListener callback)
Removes the process entry for the passed UUID obtained
from a previous call to DesktopSystem.launchExternalProcess().
|
void |
OpenFinRuntime.removeEventListener(String type,
EventListener listener,
AckListener callback)
Removes a previously registered event listener from the specified event
|
void |
Application.removeEventListener(String type,
EventListener listener,
AckListener callback)
Removes a previously registered event listener from the specified event
|
void |
Application.removeTrayIcon(AckListener callback)
Removes the application’s icon from the tray.
|
void |
Window.resizeBy(int deltaWidth,
int deltaHeight,
String anchor)
Resizes the window by the specified amount
|
void |
Window.resizeBy(int deltaWidth,
int deltaHeight,
String anchor,
AckListener listener)
Resizes the window by the specified amount
|
void |
Window.resizeTo(int width,
int height,
AckListener listener)
Resizes the window to the specified dimensions
|
void |
Window.resizeTo(int width,
int height,
String anchor)
Resizes the window to the specified dimensions
|
void |
Window.resizeTo(int width,
int height,
String anchor,
AckListener listener)
Resizes the window to the specified dimensions
|
void |
Application.restart()
Restarts the application
|
void |
Window.restore()
Restores the window
|
void |
Application.run()
Runs the application
|
void |
InterApplicationBus.send(String destinationUuid,
String topic,
Object message)
Sends a message to an application
|
void |
InterApplicationBus.send(String destinationUuid,
String topic,
Object message,
AckListener listener)
Sends a message to an application
|
void |
DesktopConnection.sendAction(String action,
org.json.JSONObject payload)
Sends a message to Runtime
|
void |
OpenFinRuntime.setClipboard(String text,
AckListener callback)
Copies text to the clipboard
|
void |
OpenFinRuntime.setCookie(String url,
String name,
String value,
long ttl,
boolean secure,
boolean httpOnly,
AckListener callback)
Stores a cookie in the runtime
|
void |
OpenFinRuntime.setCookie(String url,
String name,
String value,
String domain,
String path,
long ttl,
boolean secure,
boolean httpOnly,
AckListener callback)
Stores a cookie in the runtime
|
void |
Application.setTrayIcon(String iconUrl,
EventListener listener,
AckListener callback)
Adds a customizable icon in the system tray and notifies the application when clicked
|
void |
Window.show()
Shows the window if it is hidden
|
void |
Window.showAt(int left,
int top,
boolean toggle)
Shows the window if it is hidden at the specified location
|
void |
Window.showAt(int left,
int top,
boolean toggle,
AckListener listener)
Shows the window if it is hidden at the specified location
|
void |
OpenFinRuntime.showDeveloperTools(String applicationUUID,
String windowName,
AckListener callback)
Shows Developer tool
|
void |
InterApplicationBus.subscribe(String sourceUuid,
String topic,
BusListener listener)
Subscribes to messages on the specified topic
|
void |
InterApplicationBus.subscribe(String sourceUuid,
String topic,
BusListener listener,
AckListener callback)
Subscribes to messages on the specified topic
|
void |
Application.terminate()
Closes the application by terminating its process.
|
void |
OpenFinRuntime.terminateExternalProcess(String processUuid,
int timeout,
boolean killTree,
AsyncCallback<TerminateExternalProcessResult> callback,
AckListener listener)
Attempts to cleanly close an external process and terminates it
if the close has not occured after the elapsed timeout in milliseconds.
|
void |
InterApplicationBus.unsubscribe(String sourceUuid,
String topic,
BusListener listener)
Unsubscribes to messages on the specified topic
|
void |
InterApplicationBus.unsubscribe(String sourceUuid,
String topic,
BusListener listener,
AckListener callback)
Unsubscribes to messages on the specified topic
|
void |
Window.updateOptions(org.json.JSONObject options)
Changes a window's options that were defined upon creation
|
void |
OpenFinRuntime.updateProxySettings(String type,
String proxyAddress,
int proxyPort,
AckListener listener)
Updates the proxy settings
The passed type can be either "system" or "named".
|
void |
Application.waitFor()
Waits for a hanging application.
|
Constructor and Description |
---|
DesktopConnection(String uuid)
Creates a new connection to Runtime.
|
DesktopConnection(String uuid,
String host,
Integer port)
Deprecated.
use
DesktopConnection.DesktopConnection(String) instead. |
Modifier and Type | Method and Description |
---|---|
protected void |
Channel.addEventListener(org.json.JSONObject subscriptionObject,
EventListener listener,
AckListener callback)
Registers an event listener on the specified event
|
void |
Channel.addEventListener(String type,
EventListener listener,
AckListener callback)
Registers an event listener on the specified event
|
void |
Channel.removeEventListener(String type,
EventListener listener,
AckListener callback)
Removes a previously registered event listener from the specified event
|
Modifier and Type | Method and Description |
---|---|
void |
ExternalWindowObserver.dispose()
Ensures this window is deregistered on disposal
|
Constructor and Description |
---|
ExternalWindowObserver(int port,
String parentAppUuid,
String name,
javafx.stage.Stage stage,
AckListener listener) |
ExternalWindowObserver(int port,
String parentAppUuid,
String name,
Window window,
AckListener listener)
Establishes a connection and registers
the window identified by hWnd with the Runtime.
|
Copyright © 2022. All rights reserved.