Exemplo n.º 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;
 }
Exemplo n.º 2
0
 public void setIcon(Thinlet thinlet, Object dialog, Image icon) {
   thinlet.setIcon(dialog, "icon", icon);
 }
Exemplo n.º 3
0
 public void setIconifiable(Thinlet thinlet, Object dialog, boolean selected) {
   thinlet.setBoolean(dialog, "iconifiable", selected);
 }
Exemplo n.º 4
0
 public void setMaximizable(Thinlet thinlet, Object dialog, boolean selected) {
   thinlet.setBoolean(dialog, "maximizable", selected);
 }
Exemplo n.º 5
0
 public void setClosable(Thinlet thinlet, Object dialog, boolean selected) {
   thinlet.setBoolean(dialog, "closable", selected);
 }
Exemplo n.º 6
0
 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);
 }