Package se.datadosen.util
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 threadstatic 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 threadstatic void
syncUI(java.util.Map<java.lang.String,java.lang.Object> vars, javafx.scene.web.WebEngine engine)
-
Constructor Details
-
WebBinder
public WebBinder()
-
-
Method Details
-
getMap
public static java.util.Map<java.lang.String,java.lang.Object> getMap(javafx.scene.web.WebEngine engine) throws java.io.IOExceptionGet 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.IOExceptionGet 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
-