Examples of ModalPanel


Examples of com.degloba.boundedContext.domain.modalpanel.Modalpanel

   
    List<ModalpanelDto> panells = new ArrayList<ModalpanelDto>();
   
    try {
     
      Modalpanel p = new Modalpanel();
      //p.setAggregateId(AggregateId.generate());
     
      List<Modalpanel> rs = modalpanelFinder.findAll();
     
      log.info("Modalpanel count : " + rs.size());
     
      Iterator<Modalpanel> imp=rs.iterator();
          while (imp.hasNext())
        {
            Modalpanel mp1 = (Modalpanel) imp.next();
           
          bundle= ResourceBundle.getBundle("idioma", context.getViewRoot().getLocale());
       
          mp = new ModalpanelDto();
          //mp.setId(mp1.getModalpanelid());
View Full Code Here

Examples of com.degloba.boundedContext.domain.modalpanel.Modalpanel

  /*  reservation.add(modalPanel, command.getQuantity());

    reservationRepository.save(reservation);*/
   
    Modalpanel modalpanel = new Modalpanel();
    //modalpanel.setAggregateId(command.getModalpanelId());
    modalpanel.setActiu(true);
    modalpanel.setDescripcio("hola");
    modalpanel.setTitol("titol hora");
    modalpanel.changeStatus(Modalpanel.ModalpanelStatus.VIP);
     
    this.modalpanelRepository.save(modalpanel);
   
    Person person = new Person();
    person.setFirstName("pere");
View Full Code Here

Examples of com.degloba.boundedContext.domain.modalpanel.Modalpanel

  @Inject
  private IModalpanelRepository<Long> modalpanelRepository;

  @Override
  public Void handle(ChangeModalpanelStatusCommand command) {
    Modalpanel modalpanel = modalpanelRepository.load(command.getModalpanelId());
    modalpanel.changeStatus(command.getStatus());
    modalpanelRepository.save(modalpanel);   
    return null;
  }
View Full Code Here

Examples of csa.gui.ModalPanel

    }


    public static void showQuestStartInfo(QuestDefinitionData quest)
    {
        final ModalPanel panel = new ModalPanel(Configuration.getConfiguration().getMainFrame().getRootPane(),
        Configuration.getConfiguration().getMainFrame());
        panel.setLayout(new BorderLayout());
        QuesttroPanel questInfo = new QuesttroPanel();
        questInfo.setTitle(quest.mName);
        questInfo.setText(quest.getDescription());
        AudioPlayable a1 = null;
        AudioPlayable a2 = null;
        if (quest.getUseIntroBackImage())
            questInfo.setImage(quest.getIntroImage());
        if (quest.getUseIntroSound1())
            a1 = Audio.play(quest.getIntroSound1());
        if (quest.getUseIntroSound2())
            a2 = Audio.play(quest.getIntroSound2());
        questInfo.setBounds(0,0,700,600);
        questInfo.setStartTextX(quest.getIntroTextXStart());
        panel.add(questInfo, BorderLayout.CENTER);
        panel.setBounds(150,60, 700, 600);

       
        panel.setVisible(true);
        if (a1 != null) a1.deinit();
        if (a2 != null) a2.deinit();
    }
View Full Code Here

Examples of csa.gui.ModalPanel

        if (a2 != null) a2.deinit();
    }

    public static void showQuestEndInfo(QuestDefinitionData quest)
    {
        final ModalPanel panel = new ModalPanel(Configuration.getConfiguration().getMainFrame().getRootPane(),
        Configuration.getConfiguration().getMainFrame());
        panel.setLayout(new BorderLayout());
        QuesttroPanel questInfo = new QuesttroPanel();
        questInfo.setTitle(quest.mName);
        questInfo.setText(quest.getFinishText());
        if (quest.getUseExtroBackImage())
            questInfo.setImage(quest.getExtroImage());
        if (quest.getUseExtroSound1())
            Audio.play(quest.getExtroSound1());
        if (quest.getUseExtroSound2())
            Audio.play(quest.getExtroSound2());
        questInfo.setBounds(0,0,700,600);
        panel.add(questInfo, BorderLayout.CENTER);
        questInfo.setStartTextX(quest.getExtroTextXStart());
        panel.setBounds(150,60, 700, 600);
        panel.setVisible(true);
    }
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.