Uses of Class
com.openfin.desktop.DesktopException

Packages that use DesktopException
com.openfin.desktop   
com.openfin.desktop.win32   
 

Uses of DesktopException in com.openfin.desktop
 

Methods in com.openfin.desktop that throw DesktopException
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
 void OpenFinRuntime.deleteCacheOnRestart()
          Clears all cached data when App Desktop is restarted
 void DesktopConnection.disconnect()
          Disconnects from AppDesktop
 void OpenFinRuntime.exit()
          Exit Runtime
 void DesktopConnection.exit()
          Notify AppDesktop to exit
 void Window.focus()
          Gives focus to the window
 void OpenFinRuntime.getConfig(String section, AckListener callback)
          Retrieves the App Desktop's configuration
 void OpenFinRuntime.getEnvironmentVariables(String[] names, AckListener callback)
          Retrieve name of environment variables
 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(String path, String commandLine, AsyncCallback<LaunchExternalProcessResult> callback, AckListener listener)
          Runs an executable or batch file.
 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 AppDesktop
 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 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.
 

Constructors in com.openfin.desktop that throw DesktopException
DesktopConnection(String uuid)
          Creates a new connection to AppDesktop
DesktopConnection(String uuid, String host, Integer port)
          Creates a new connection to AppDesktop
 

Uses of DesktopException in com.openfin.desktop.win32
 

Methods in com.openfin.desktop.win32 that throw DesktopException
 void ExternalWindowObserver.dispose()
          Ensures this window is deregistered on disposal
 

Constructors in com.openfin.desktop.win32 that throw DesktopException
ExternalWindowObserver(int port, String parentAppUuid, String name, Window window, AckListener listener)
          Establishes a connection and registers the window identified by hWnd with the desktop.
 



Copyright © 2016. All rights reserved.