Package com.substanceofcode.testlcdui

Examples of com.substanceofcode.testlcdui.TextField


    m_getFeedTitleList = false;
    m_listParser = null;
    if(url.length()==0) {
      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);
View Full Code Here


        }
       
        /** Copy link to clipboard.  */
        if( c == m_copyLinkCmd ){
      String link = citem.getLink();
      m_itemForm.set(citemLnkNbr, new TextField("Link:", link,
          link.length(), TextField.URL));
      //#ifdef DMIDP10
      setCurrent(m_itemForm);
      //#else
      setCurrentItem(m_itemForm.get(citemLnkNbr));
      //#endif
        }
       
        /** Copy enclosure to clipboard.  */
        if( c == m_copyEnclosureCmd ){
      final String link = citem.getEnclosure();
      m_itemForm.set(citemEnclNbr, new TextField("Enclosure:",
                link, link.length(), TextField.URL));
      //#ifdef DMIDP10
      setCurrent(m_itemForm);
      //#else
      setCurrentItem(m_itemForm.get(citemEnclNbr));
View Full Code Here

    private TextField   m_bmPassword;       // The RSS feed password field

    /* Constructor */
    private BMForm(final boolean addForm) {
      super(addForm ? "New Bookmark" : "Edit Bookmark");
      m_bmName = new TextField("Name", "", 64, TextField.ANY);
      m_bmURL  = new TextField("URL", "http://", 256, TextField.URL);
      m_bmUsername  = new TextField("Username (optional)", "", 64, TextField.ANY);
      m_bmPassword  = new TextField("Password (optional)", "", 64, TextField.PASSWORD);
      super.append( m_bmName );
      super.append( m_bmURL );
      super.append( m_bmUsername );
      super.append( m_bmPassword );
      if (addForm) {
View Full Code Here

TOP

Related Classes of com.substanceofcode.testlcdui.TextField

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.