Package net.bnubot.bot.gui.components

Examples of net.bnubot.bot.gui.components.ConfigTextField


    {
      txtUsername = boxAll.makeText("Username", p.getUser());
      txtUsername.setEnabled(false);

      for(String key : p.keySet()) {
        ConfigTextField cta = boxAll.makeText(key, p.get(key));
        boolean enableThisKey = enableWrite && key.startsWith(UserProfile.PROFILE_);
        cta.setEnabled(enableThisKey);
        if(enableThisKey)
          txtBoxes.put(key, cta);
      }

      Box buttons = new Box(BoxLayout.X_AXIS);
View Full Code Here


      int flags = 0;
      if(value != null)
        flags = ((Integer)value).intValue();
      valueComponent = new ConfigFlagChecks(flags);
    } else {
      valueComponent = new ConfigTextField(v);
    }
    gbc.gridx++;
    jp.add(valueComponent, gbc);

    data.put(attr, new getValueDelegate() {
View Full Code Here

TOP

Related Classes of net.bnubot.bot.gui.components.ConfigTextField

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.