Package freenet.clients.http

Examples of freenet.clients.http.InfoboxNode


  public HTMLNode createErrorBox(List<String> errors) {
    return createErrorBox(errors, null, null, null);
  }

  public HTMLNode createErrorBox(List<String> errors, String path, FreenetURI retryUri, String extraParams) {
    InfoboxNode box = pluginContext.pageMaker.getInfobox("infobox-alert", "ERROR");
    HTMLNode errorBox = box.content;
    for (String error : errors) {
      errorBox.addChild("#", error);
      errorBox.addChild("br");
    }
View Full Code Here


   *
   * @param title The title of the desired InfoBox
   * @return the contentNode of the newly created InfoBox
   */
  protected final HTMLNode addContentBox(String title) {
    InfoboxNode infobox = mPM.getInfobox(title);
    HTMLNode box = infobox.outer;
    mContentNode.addChild(box);
    return infobox.content;
  }
View Full Code Here

   * Get a new Infobox but do not add it to the page. Can be used for putting Infoboxes inside Infoboxes.
   * @param title The title of the desired Infobox
   * @return the contentNode of the newly created Infobox
   */
  protected final HTMLNode getContentBox(String title) {
    InfoboxNode infobox = mPM.getInfobox(title);
    return infobox.outer;
  }
View Full Code Here

    InfoboxNode infobox = mPM.getInfobox(title);
    return infobox.outer;
  }
 
  protected final HTMLNode getAlertBox(String title) {
    InfoboxNode infobox = mPM.getInfobox("infobox-alert", title);
    return infobox.outer;
  }
View Full Code Here

TOP

Related Classes of freenet.clients.http.InfoboxNode

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.