Class WebContent

java.lang.Object
com.openfin.desktop.WebContent
Direct Known Subclasses:
PlatformView, Window

public abstract class WebContent
extends java.lang.Object
  • Field Details

  • Constructor Details

  • Method Details

    • getIdentity

      public Identity getIdentity()
    • getUuid

      public java.lang.String getUuid()
      Gets UUID
      Returns:
      UUID
    • getName

      public java.lang.String getName()
      Gets name
      Returns:
      name
    • getEventTopicName

      protected abstract java.lang.String getEventTopicName()
    • addEventListener

      public java.util.concurrent.CompletionStage<Ack> addEventListener​(java.lang.String type, EventListener listener)
    • removeEventListener

      public java.util.concurrent.CompletionStage<Ack> removeEventListener​(java.lang.String type, EventListener listener)
    • getConnection

      public DesktopConnection getConnection()
      Get DesktopConnection of this window
      Returns:
      DesktopConnection
    • executeJavaScript

      public java.util.concurrent.CompletionStage<org.json.JSONObject> executeJavaScript​(java.lang.String code)
    • getZoomLevel

      public java.util.concurrent.CompletionStage<java.lang.Double> getZoomLevel()
    • setZoomLevel

      public java.util.concurrent.CompletionStage<java.lang.Void> setZoomLevel​(double zoom)
    • navigate

      public java.util.concurrent.CompletionStage<java.lang.Void> navigate​(java.lang.String url)
    • navigateBack

      public java.util.concurrent.CompletionStage<java.lang.Void> navigateBack()
    • navigateForward

      public java.util.concurrent.CompletionStage<java.lang.Void> navigateForward()
    • stopNavigation

      public java.util.concurrent.CompletionStage<java.lang.Void> stopNavigation()
    • reloadAsync

      public java.util.concurrent.CompletionStage<java.lang.Void> reloadAsync​(boolean ignoreCache)
    • printAsync

      public java.util.concurrent.CompletionStage<java.lang.Void> printAsync​(PrintOptions opts)
    • findInPage

      public java.util.concurrent.CompletionStage<java.lang.Void> findInPage​(java.lang.String searchTerm, FindInPageOptions opts)
    • stopFindInPage

      public java.util.concurrent.CompletionStage<java.lang.Void> stopFindInPage​(java.lang.String action)
    • getPrinters

      public java.util.concurrent.CompletionStage<java.util.List<PrinterInfo>> getPrinters()
    • focusAsync

      public java.util.concurrent.CompletionStage<java.lang.Void> focusAsync()
    • showDeveloperTools

      public java.util.concurrent.CompletionStage<java.lang.Void> showDeveloperTools()