Package freenet.clients.http.complexhtmlnodes

Examples of freenet.clients.http.complexhtmlnodes.SecondCounterNode


          new String[] { "fetched", "required", "total", "failed", "fatallyfailed" },
          new String[] { Integer.toString(fr.fetchedBlocks), Integer.toString(fr.requiredBlocks), Integer.toString(fr.totalBlocks), Integer.toString(fr.failedBlocks), Integer.toString(fr.fatallyFailedBlocks) }));
    }
    long elapsed = System.currentTimeMillis() - fr.timeStarted;
    addChild("br");
    addChild(new SecondCounterNode(elapsed, true, FProxyToadlet.l10n("timeElapsedLabel") + " "));
    long eta = fr.eta - elapsed;
    if (eta > 0) {
      addChild("br");
      addChild(new SecondCounterNode(eta, false, "ETA: "));
    }
    if (ctx.getContainer().isFProxyJavascriptEnabled()) {
      HTMLNode lastRefreshNode = new HTMLNode("span", "class", "jsonly");
      lastRefreshNode.addChild("br");
      lastRefreshNode.addChild(new SecondCounterNode(0, true, FProxyToadlet.l10n("lastRefresh")));
      addChild(lastRefreshNode);
    }
    if(fr.goneToNetwork)
      addChild("p", FProxyToadlet.l10n("progressDownloading"));
    else
View Full Code Here

TOP

Related Classes of freenet.clients.http.complexhtmlnodes.SecondCounterNode

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.