Package com.pointcliki.ui

Examples of com.pointcliki.ui.DropDownMenu.select()


        editLogic(null);
        return Minion.CONTINUE;
      }
    });
    for (String s: JSONObject.getNames(fLogics)) type.add(s);
    type.select(fType);
    type.resize(new Vector2f(155, 24));
    addChild(type, 10);
   
    final DropDownMenu subtype = new DropDownMenu(new Minion<SelectionEvent>() {
      @Override
View Full Code Here


      for (String s: JSONObject.getNames(fLogics.getJSONObject(fType))) subtype.add(s);
    } catch (JSONException e) {
      System.err.println("Error parsing the editor preset logics");
      System.err.println(e.getMessage());
    }
    subtype.select(fSubType);
    subtype.resize(new Vector2f(155, 24));
    addChild(subtype, 9);
   
    fLogicPane = new LogicPane();
    fLogicPane.position(new Vector2f(0, 56));
View Full Code Here

              return Minion.CONTINUE;
            }
          });
          drop.position(new Vector2f(0, i)).resize(new Vector2f(155, 24));
          for (String str: choices) drop.add(str.toLowerCase());
          if (!s.value().equals("")) drop.select(s.value().toLowerCase());
          addChild(drop, n);
        }
      }
      n--;
      i += 26;
View Full Code Here

      }
    });
    type.add("Questz");
    type.add("Friendz");
    type.add("Battlez");
    type.select(scene(EditorScene.class).map().type());
    type.resize(new Vector2f(155, 24));
    type.position(new Vector2f(0, 130));
    addChild(type, 3);
   
    DropDownMenu fog = new DropDownMenu(new Minion<SelectionEvent>() {
View Full Code Here

      }
    });
    fog.add("No Fog");
    fog.add("Fog Of War");
    fog.add("Fixed Fog");
    fog.select(scene(EditorScene.class).map().fog());
    fog.resize(new Vector2f(155, 24));
    fog.position(new Vector2f(0, 156));
    addChild(fog, 2);
   
    Button play = new Button(new Minion<SelectionEvent>() {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.