예제 #1
0
 protected Object createQuestionComboBox() {
   Object question = Thinlet.create(Thinlet.COMBOBOX);
   for (int j = 1; j <= 4; j++) {
     Object choice = ui.createComboboxChoice(getI18NString(QUESTION + "." + j), null);
     ui.add(question, choice);
   }
   ui.setText(question, getI18NString(QUESTION_DEFAULT));
   ui.setColspan(question, 2);
   ui.setWeight(question, 1, 1);
   return question;
 }
예제 #2
0
파일: DialogDemo.java 프로젝트: RMIT/PVM
 public void setIcon(Thinlet thinlet, Object dialog, Image icon) {
   thinlet.setIcon(dialog, "icon", icon);
 }
예제 #3
0
파일: DialogDemo.java 프로젝트: RMIT/PVM
 public void setIconifiable(Thinlet thinlet, Object dialog, boolean selected) {
   thinlet.setBoolean(dialog, "iconifiable", selected);
 }
예제 #4
0
파일: DialogDemo.java 프로젝트: RMIT/PVM
 public void setMaximizable(Thinlet thinlet, Object dialog, boolean selected) {
   thinlet.setBoolean(dialog, "maximizable", selected);
 }
예제 #5
0
파일: DialogDemo.java 프로젝트: RMIT/PVM
 public void setClosable(Thinlet thinlet, Object dialog, boolean selected) {
   thinlet.setBoolean(dialog, "closable", selected);
 }
예제 #6
0
파일: DialogDemo.java 프로젝트: RMIT/PVM
 public void setText(Thinlet thinlet, Object dialog, String text) {
   thinlet.setString(dialog, "text", text);
 }
 protected Object find(String component) {
   return Thinlet.find(this.panel, component);
 }