Package ch.tatool.core.executable

Examples of ch.tatool.core.executable.GenericContentExecutable.addContent()


        textPanel.setText(levelUpText);
      } else {
        textPanel.setText(levelDownText);
      }
      GenericContentExecutable changeLevelExecutable = new GenericContentExecutable();
      changeLevelExecutable.addContent(Region.CENTER, textPanel);
      changeLevelExecutable.setDisplayDuration(duration);
      Misc.getOutcomeProperty().setValue(changeLevelExecutable, ExecutionOutcome.SKIP);
      TemporaryElementSupport support = TemporaryElementSupportUtil.getInstance().findTemporaryElementSupport(context);
      if (support != null) {
        ExecutableElement element = new ExecutableElement(changeLevelExecutable);
View Full Code Here


        textPanel.setText("Congratulations, you achieved the next level!");
      } else {
        textPanel.setText("Let's try an easier level!");
      }
      GenericContentExecutable changeLevelExecutable = new GenericContentExecutable();
      changeLevelExecutable.addContent(Region.CENTER, textPanel);
      changeLevelExecutable.setDisplayDuration(duration);
      Misc.getOutcomeProperty().setValue(changeLevelExecutable, ExecutionOutcome.SKIP);
      TemporaryElementSupport support = TemporaryElementSupportUtil.getInstance().findTemporaryElementSupport(context);
      if (support != null) {
        ExecutableElement element = new ExecutableElement(changeLevelExecutable);
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.