Package com.google.minijoe.html.uibase

Examples of com.google.minijoe.html.uibase.TextWidget


  root.setWindow(this);
   
    this.browser = browser;
    this.url = url;

    lskWidget = new TextWidget(ctrlFont);
    rskWidget = new TextWidget(ctrlFont);
    statusWidget = new TextWidget(ctrlFont);
    lskWidget.setBackgroundColor(SOFTKEY_BG);
    rskWidget.setBackgroundColor(SOFTKEY_BG);
    lskWidget.setTextColor(0xffffff);
    rskWidget.setTextColor(0xffffff);
    statusWidget.setBackgroundColor(0x0cccccc);
    statusWidget.setTextColor(0);
    statusWidget.setBorderColor(0x0888888);
   
    lskWidget.setText("Options");
    lskWidget.setAlign(Graphics.LEFT);
   
    if (browser.screenStack.size() != 0) {
      rskWidget.setText("Back");
      rskWidget.setAlign(Graphics.RIGHT);
    } else {
      rskWidget.setText("");
    }
   
    root.addChild(lskWidget);
    root.addChild(rskWidget);
   
    titleWidget = new TextWidget(ctrlFont);
    titleWidget.setBackgroundColor(TITLE_BG);
    titleWidget.setTextColor(0xffffff);
    titleWidget.setText(url);

    htmlWidget = new HtmlWidget(browser, url, browser.getElementHandlers(), false);
View Full Code Here

TOP

Related Classes of com.google.minijoe.html.uibase.TextWidget

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.