コード例 #1
0
 public QuestSelectCellEditComboBox(Integer quest_id) {
   super(
       Studio.getInstance()
           .getQuestManager()
           .getQuests()
           .toArray(new QuestNode[Studio.getInstance().getQuestManager().getQuests().size()]));
   super.setRenderer(new CellRender());
   QuestNode node = Studio.getInstance().getQuestManager().getQuest(quest_id);
   if (node != null) {
     this.setSelectedItem(node);
   }
 }
コード例 #2
0
 public void setValue(Integer quest_id) {
   QuestNode node = Studio.getInstance().getQuestManager().getQuest(quest_id);
   if (node != null) {
     this.setSelectedItem(node);
   }
 }