|
|
|
@ -11,6 +11,7 @@ import com.fr.web.struct.AssembleComponent;
|
|
|
|
|
import com.teamdev.jxbrowser.browser.callback.InjectJsCallback; |
|
|
|
|
import com.teamdev.jxbrowser.chromium.Browser; |
|
|
|
|
import com.teamdev.jxbrowser.chromium.BrowserType; |
|
|
|
|
import com.teamdev.jxbrowser.chromium.JSObject; |
|
|
|
|
import com.teamdev.jxbrowser.chromium.JSValue; |
|
|
|
|
import com.teamdev.jxbrowser.chromium.events.LoadListener; |
|
|
|
|
import com.teamdev.jxbrowser.chromium.events.ScriptContextAdapter; |
|
|
|
@ -179,6 +180,15 @@ public class ModernUIPane<T> extends BasicPane {
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public JSObject getEmptyJSObjectV6() { |
|
|
|
|
|
|
|
|
|
if (browser != null) { |
|
|
|
|
return browser.executeJavaScriptAndReturnValue("var __props__ = {};__props__").asObject(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
return null; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public static class Builder<T> implements BuilderDiff<T> { |
|
|
|
|
|
|
|
|
|
private ModernUIPane<T> pane; |
|
|
|
|