Beispiel #1
0
 private void setUpScriptEngineCtx() {
   if (m_window != null) {
     ScriptEngineCtx scriptCtx = ScriptEngineCtx.ctx();
     scriptCtx.setScriptContext(m_window.getContext());
     scriptCtx.setScope(m_window);
   }
 }
Beispiel #2
0
 public static AHtmlDocument document() {
   AWindow w = window();
   return w == null ? null : (AHtmlDocument) w.getDocument();
 }