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
 void System.addEventListener(String type, EventListener listener, AckListener callback)
          Registers an event listener on the specified event Supported system event types are: deskband-icon-clicked desktop-icon-clicked monitor-info-changed
 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 System.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 System.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 System.deleteCacheOnRestart()
          Clears all cached data when App Desktop is restarted
 void DesktopConnection.disconnect()
          Disconnects from AppDesktop
 void System.exit()
          Exits App Desktop
 void DesktopConnection.exit()
          Notify AppDesktop to exit
 void Window.focus()
          Gives focus to the window
 void System.getConfig(String section, AckListener callback)
          Retrieves the App Desktop's configuration
 void System.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 System.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 System.log(String level, String message)
          Writes a message to the log
 void System.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, 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 System.openUrlWithBrowser()
          Opens the passed URL
static void InterApplicationBus.publish(String topic, Object message)
          Publishes a message to a topic
 void System.releaseExternalProcess(String processUuid, AckListener callback)
          Removes the process entry for the passed UUID obtained from a previous call to DesktopSystem.launchExternalProcess().
 void System.removeEventListener(String type, EventListener listener, AckListener callback)
          Removes a previously registered event listener from the specified event Supported system event types are: deskband-icon-clicked desktop-icon-clicked monitor-info-changed
 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
static void InterApplicationBus.send(String destinationUuid, String topic, Object message)
          Sends a message to an application
 void DesktopConnection.sendAction(String action, org.json.JSONObject payload)
          Sends a message to AppDesktop
 void System.setClipboard(String text, AckListener callback)
          Copies text to the clipboard
 void System.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 System.showDeveloperTools(String applicationUUID, String windowName, AckListener callback)
          Shows Developer tool
static void InterApplicationBus.subscribe(String sourceUuid, String topic, BusListener listener)
          Subscribes to messages on the specified topic
 void Application.terminate()
          Closes the application by terminating its process.
 void System.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.
static void InterApplicationBus.unsubscribe(String sourceUuid, String topic, BusListener listener)
          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 System.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 © 2015. All rights reserved.