Examples of EffectChoiceListGenerator


Examples of net.alteiar.effectBean.xml.EffectChoiceListGenerator

        effets.add((Effect) effect);
      }
    }
    effets.get(selectedEffect).setSelected(true);
    String[] effectList = new String[effets.size()];
    EffectChoiceListGenerator eGenerator = new EffectChoiceListGenerator();
    ArrayList<Class<?>> classList = eGenerator
        .getEffectClasses(EffectChoiceListGenerator.path);
    ArrayList<String> effectNameList = eGenerator
        .getEffectName(EffectChoiceListGenerator.path);
    for (int j = 0; j < effets.size(); j++) {
      for (int i = 0; i < classList.size(); i++) {
        if (Beans.isInstanceOf(effets.get(j), classList.get(i))) {
          effectList[j] = effectNameList.get(i);
View Full Code Here

Examples of net.alteiar.effectBean.xml.EffectChoiceListGenerator

  private  ShapeListGenerator sGenerator=null;
  private  EffectChoiceListGenerator eGenerator=null;
 
  public PanelEffectBuilder() {
    try {
      eGenerator=new EffectChoiceListGenerator();
      sGenerator=new ShapeListGenerator();
     
      ArrayList<ArrayList<String[]>> shapeChoice=sGenerator.CreateComboList(ShapeListGenerator.path);
      ArrayList<ArrayList<String[]>> effectChoice=eGenerator.CreateComboList(EffectChoiceListGenerator.path);
      ArrayList<ArrayList<JPanel>> shapeBuilders;
View Full Code Here

Examples of net.alteiar.effectBean.xml.EffectChoiceListGenerator

    }
  }

  @Test
  public void testListEffect() {
    EffectChoiceListGenerator generator = new EffectChoiceListGenerator();
    ArrayList<ArrayList<String[]>> result = generator
        .CreateComboList(EFFECT_XML);
    for (int i = 0; i < result.size(); i++) {
      System.out.println("Array 1: size:" + result.size());
      for (int j = 0; j < result.get(i).size(); j++) {
        System.out.println("Array 2: size:" + result.get(i).size());
View Full Code Here

Examples of net.alteiar.effectBean.xml.EffectChoiceListGenerator

  }

  @Test
  public void testClassEffectType() {
    try {
      EffectChoiceListGenerator generator = new EffectChoiceListGenerator();
      Class<?> c = generator.getEffectClass(EFFECT_XML, "IdleEffect");
      System.out.println("classe =" + c.getCanonicalName());
    } catch (ClassNotFoundException e) {
      // TODO Auto-generated catch block
      e.printStackTrace();
    }
View Full Code Here

Examples of net.alteiar.effectBean.xml.EffectChoiceListGenerator

  }

  @Test
  public void testClassElementType() {
    try {
      EffectChoiceListGenerator generator = new EffectChoiceListGenerator();
      Class<?> c = generator.getElementClass(EFFECT_XML,
          "pathfinder character", "IdleEffect");
      System.out.println("classe =" + c.getCanonicalName());
    } catch (ClassNotFoundException e) {
      // TODO Auto-generated catch block
      e.printStackTrace();
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.