コード例 #1
0
 private void createGRTypeSelectItemList() {
   SelectItem selectItem;
   grTypeSelectItemList.clear();
   grTypeSelectItemList.add(new SelectItem("-1", "àÅ×Í¡»ÃÐàÀ·¡ÒÃÃѺÇÑÊ´Ø"));
   for (GRType grType : GRType.values()) {
     selectItem = new SelectItem();
     selectItem.setValue(grType.getID());
     selectItem.setLabel(grType.getValue());
     grTypeSelectItemList.add(selectItem);
   }
 }
コード例 #2
0
 public void grTypeComboBoxSelected() {
   editGR.setGrType(GRType.find(selectedGRType));
 }