Package com.substanceofcode.testlcdui

Examples of com.substanceofcode.testlcdui.ChoiceGroup


   * @return    ChoiceGroup
   * @author Irv Bunton
   */
  static public ChoiceGroup getAddChoiceGroup(Form form, String label,
                        String[] choices) {
        ChoiceGroup choiceGroup = new ChoiceGroup(label,
                                    Choice.EXCLUSIVE, choices, null);
    //#ifdef DMIDP20
    choiceGroup.setLayout(Item.LAYOUT_BOTTOM);
    //#endif
        form.append( choiceGroup );
    return choiceGroup;
  }
View Full Code Here


      url = "http://";
    }
    m_feedListURL = new TextField("URL", url, 256, TextField.URL);
    super.append(m_feedListURL);
   
    m_importFormatGroup = new ChoiceGroup("Format", ChoiceGroup.EXCLUSIVE,
    new String[] {"OPML", "line by line"
        //#ifndef DSMALLMEM
        , "HTML OPML Auto link", "HTML RSS Auto links"
        , "HTML Links"
        //#endif
        },
        null);
    super.append(m_importFormatGroup);
   
    m_feedNameFilter = new TextField("Name filter string (optional)", "", 256, TextField.ANY);
    super.append(m_feedNameFilter);
    m_feedURLFilter = new TextField("URL filter string (optional)", "", 256, TextField.ANY);
    super.append(m_feedURLFilter);
   
    final String username = m_appSettings.getImportUrlUsername();
    m_feedListUsername  = new TextField("Username (optional)", username, 64, TextField.ANY);
    super.append(m_feedListUsername);
   
    final String password = m_appSettings.getImportUrlPassword();
    m_feedListPassword  = new TextField("Password (optional)", password, 64, TextField.PASSWORD);
    super.append(m_feedListPassword);
    m_importTitleGroup  = new ChoiceGroup("Missing title (optionl)",
        ChoiceGroup.EXCLUSIVE,
        new String[] {"Skip feed with missing title",
         "Get missing titles from feed"}, null);
    super.append(m_importTitleGroup);
    m_importHTMLGroup  =
      new ChoiceGroup("Treat HTML mime type as valid import (optional)",
        ChoiceGroup.EXCLUSIVE,
        new String[]
        {"Redirect if HTML (ignored for HTML link import)",
         "Treat HTML as import"}, null);
    m_importOvrGroup  = new ChoiceGroup(
        "Override existing feeds in place (optionl)",
        ChoiceGroup.EXCLUSIVE,
        new String[] {"Don't override existing feeds.",
         "Override (replace) existing feeds."},
        null);
View Full Code Here

TOP

Related Classes of com.substanceofcode.testlcdui.ChoiceGroup

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.