Package org.opendope.questions

Examples of org.opendope.questions.Response$Fixed


        if (!method.equals("default") && !method.equals("glass") && !method.equals("ctm")) {
          if (method.equals("random")) {
            override = new TileOverrideImpl$Random1(propertiesFile, properties, tileLoader);

            if (((TileOverride)override).getNumberOfTiles() == 1) {
              override = new TileOverrideImpl$Fixed(propertiesFile, properties, tileLoader);
            }
          } else if (!method.equals("fixed") && !method.equals("static")) {
            if (!method.equals("bookshelf") && !method.equals("horizontal")) {
              if (!method.equals("horizontal+vertical") && !method.equals("h+v")) {
                if (method.equals("vertical")) {
                  override = new TileOverrideImpl$Vertical(propertiesFile, properties, tileLoader);
                } else if (!method.equals("vertical+horizontal") && !method.equals("v+h")) {
                  if (!method.equals("sandstone") && !method.equals("top")) {
                    if (!method.equals("repeat") && !method.equals("pattern")) {
                      logger.error("%s: unknown method \"%s\"", new Object[] {propertiesFile, method});
                    } else {
                      override = new TileOverrideImpl$Repeat(propertiesFile, properties, tileLoader);
                    }
                  } else {
                    override = new TileOverrideImpl$Top(propertiesFile, properties, tileLoader);
                  }
                } else {
                  override = new TileOverrideImpl$VerticalHorizontal(propertiesFile, properties, tileLoader);
                }
              } else {
                override = new TileOverrideImpl$HorizontalVertical(propertiesFile, properties, tileLoader);
              }
            } else {
              override = new TileOverrideImpl$Horizontal(propertiesFile, properties, tileLoader);
            }
          } else {
            override = new TileOverrideImpl$Fixed(propertiesFile, properties, tileLoader);
          }
        } else {
          override = new TileOverrideImpl$CTM(propertiesFile, properties, tileLoader);
        }
View Full Code Here


   
    // question
    Question q = new Question();
    q.setId(key);
    q.setText(key + "?");
    Response r = new Response();
    r.setFree( new Response.Free() );
    questionsPart.getJaxbElement().getQuestions().getQuestion().add(q);
  }
View Full Code Here

TOP

Related Classes of org.opendope.questions.Response$Fixed

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.