Class WebBinder

java.lang.Object
se.datadosen.util.WebBinder

public class WebBinder
extends java.lang.Object
Utility class to bind the form components of a web based user interface to jAlbum variables Not for public use
Since:
13.4
  • Constructor Summary

    Constructors 
    Constructor Description
    WebBinder()  
  • Method Summary

    Modifier and Type Method Description
    static java.util.Map<java.lang.String,​java.lang.Object> getMap​(javafx.scene.web.WebEngine engine)
    Get variables from the 1:st form of the current web page of the WebEngine May be called from any thread
    static java.util.Map<java.lang.String,​java.lang.Object> getMap​(javafx.scene.web.WebEngine engine, java.util.Map<java.lang.String,​java.lang.Object> vars)
    Get variables from the 1:st form of the current web page of the WebEngine May be called from any thread
    static void syncUI​(java.util.Map<java.lang.String,​java.lang.Object> vars, javafx.scene.web.WebEngine engine)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • getMap

      public static java.util.Map<java.lang.String,​java.lang.Object> getMap​(javafx.scene.web.WebEngine engine) throws java.io.IOException
      Get variables from the 1:st form of the current web page of the WebEngine May be called from any thread
      Returns:
      Throws:
      java.io.IOException
    • getMap

      public static java.util.Map<java.lang.String,​java.lang.Object> getMap​(javafx.scene.web.WebEngine engine, java.util.Map<java.lang.String,​java.lang.Object> vars) throws java.io.IOException
      Get variables from the 1:st form of the current web page of the WebEngine May be called from any thread
      Parameters:
      vars - Existing Map
      Returns:
      Throws:
      java.io.IOException
    • syncUI

      public static void syncUI​(java.util.Map<java.lang.String,​java.lang.Object> vars, javafx.scene.web.WebEngine engine) throws java.io.IOException
      Parameters:
      vars -
      engine -
      Throws:
      java.io.IOException