Package ru.yandex.strictweb.scriptjava.base

Examples of ru.yandex.strictweb.scriptjava.base.Node


  }
 
  public void eventTargetDisable(Node[] eventTargetNodes) {
    DOMEvent ev = StrictWeb.globalEvent;

    Node el = StrictWeb.swTarget;
    if(el==null) {
        if(null==ev) return;
        el = ev.target;
    }
    try {
View Full Code Here


public class Log extends CommonElements {
  public static String logDivId = "log-output";
 
  public static void info(Object msg) {
    if(StrictWeb.console!=null) StrictWeb.console.info(msg);
    Node ld = $$(logDivId);
    if(ld == null) return;
    ld.appendChild($DIV().className("info").innerHTML(msg.toString()).node);
  }
View Full Code Here

    ld.appendChild($DIV().className("info").innerHTML(msg.toString()).node);
  }

  public static void error(Object msg) {
    if(StrictWeb.console!=null) StrictWeb.console.error(msg);
        Node ld = $$(logDivId);
        if(ld == null) return;
        ld.appendChild($DIV().className("error").innerHTML(msg.toString()).node);
  }
View Full Code Here

        ld.appendChild($DIV().className("error").innerHTML(msg.toString()).node);
  }

  public static void warn(Object msg) {
    if(StrictWeb.console!=null) StrictWeb.console.warn(msg);
        Node ld = $$(logDivId);
        if(ld == null) return;
        ld.appendChild($DIV().className("warn").innerHTML(msg.toString()).node);
  }
View Full Code Here

        ld.appendChild($DIV().className("warn").innerHTML(msg.toString()).node);
  }
 
  public static void debug(Object msg) {
    if(StrictWeb.console!=null) StrictWeb.console.debug(msg);
        Node ld = $$(logDivId);
        if(ld == null) return;
        ld.appendChild($DIV().className("debug").innerHTML(msg.toString()).node);
  }
View Full Code Here

TOP

Related Classes of ru.yandex.strictweb.scriptjava.base.Node

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.