Package ru.yandex.strictweb.scriptjava.base

Examples of ru.yandex.strictweb.scriptjava.base.Node.appendChild()


 
  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);
  }

  public static void error(Object msg) {
    if(StrictWeb.console!=null) StrictWeb.console.error(msg);
        Node ld = $$(logDivId);
View Full Code Here


  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);
  }

  public static void warn(Object msg) {
    if(StrictWeb.console!=null) StrictWeb.console.warn(msg);
        Node ld = $$(logDivId);
View Full Code Here

  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);
  }
 
  public static void debug(Object msg) {
    if(StrictWeb.console!=null) StrictWeb.console.debug(msg);
        Node ld = $$(logDivId);
View Full Code Here

 
  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);
  }

  public static void makeLogDiv() {
    StrictWeb.document.write("<div id='"+logDivId+"' style='border: 1px solid green; margin-top: 100px; height: 100px; overflow: auto;'/>");
  }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.