当前位置: 首页>>代码示例>>Java>>正文


Java DynamicForm.setWidth方法代码示例

本文整理汇总了Java中com.smartgwt.client.widgets.form.DynamicForm.setWidth方法的典型用法代码示例。如果您正苦于以下问题:Java DynamicForm.setWidth方法的具体用法?Java DynamicForm.setWidth怎么用?Java DynamicForm.setWidth使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在com.smartgwt.client.widgets.form.DynamicForm的用法示例。


在下文中一共展示了DynamicForm.setWidth方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: getTimeSlotSelector

import com.smartgwt.client.widgets.form.DynamicForm; //导入方法依赖的package包/类
public DynamicForm getTimeSlotSelector() {
    DynamicForm form = new DynamicForm();

    final SelectItem selectedRange = new SelectItem("statRange", "");
    LinkedHashMap<String, String> nodeLineValues = new LinkedHashMap<String, String>();
    for (Model.StatHistory.Range r : Model.StatHistory.Range.values()) {
        nodeLineValues.put("" + r.getChar(), r.getString());
    }
    selectedRange.setDefaultValue("" + Model.StatHistory.Range.MINUTE_1.getChar());
    selectedRange.setValueMap(nodeLineValues);

    selectedRange.addChangedHandler(new ChangedHandler() {
        @Override
        public void onChanged(ChangedEvent event) {
            timeRange = Model.StatHistory.Range.create(selectedRange.getValueAsString().charAt(0));
            loadTable.removeRows(0, loadTable.getNumberOfRows());
            reload();
        }
    });

    form.setItems(selectedRange);
    form.setHeight(24);
    form.setWidth(40);

    return form;
}
 
开发者ID:ow2-proactive,项目名称:scheduling-portal,代码行数:27,代码来源:MBeanChart.java

示例2: getForm

import com.smartgwt.client.widgets.form.DynamicForm; //导入方法依赖的package包/类
protected DynamicForm getForm(String headerString, FormItem... fields) {
		final DynamicForm form = new DynamicForm();
//		form.setBorder("1px solid");
		form.setWidth(280);

		HeaderItem header = new HeaderItem();
		header.setDefaultValue(headerString);
		ArrayList<FormItem> list = new ArrayList<FormItem>(fields.length+1);
		list.add(header);
		for (FormItem field: fields) {
			list.add(field);
		}
		
		form.setFields(list.toArray(new FormItem[]{}));
		return form;
	}
 
开发者ID:WELTEN,项目名称:dojo-ibl,代码行数:17,代码来源:ImportGame.java

示例3: createForm

import com.smartgwt.client.widgets.form.DynamicForm; //导入方法依赖的package包/类
private DynamicForm createForm() {
    DynamicForm f = new DynamicForm();
    f.setWidth(400);
    f.setBrowserSpellCheck(false);
    f.setNumCols(1);
    f.setTitleOrientation(TitleOrientation.TOP);
    f.setSaveOnEnter(true);

    TextItem user = new TextItem(USERNAME, i18nSgwt.dialog_UserNameTitle());
    user.setRequired(true);
    user.setWidth("*");
    user.setReadOnlyDisplay(ReadOnlyDisplayAppearance.STATIC);

    PasswordItem passwd = new PasswordItem(PASSWORD, i18nSgwt.dialog_PasswordTitle());
    passwd.setRequired(true);
    passwd.setWidth("*");

    TextItem producerCode = new TextItem(PRODUCER_CODE, i18n.LoginWindow_ProducerCode());
    producerCode.setWidth("*");
    producerCode.setReadOnlyDisplay(ReadOnlyDisplayAppearance.STATIC);

    StaticTextItem error = new StaticTextItem(ERROR);
    error.setShowTitle(false);
    error.setShowErrorText(true);

    f.setItems(user, producerCode, passwd, error);
    f.addSubmitValuesHandler(new SubmitValuesHandler() {

        @Override
        public void onSubmitValues(SubmitValuesEvent event) {
            submitCredentials();
        }
    });
    return f;
}
 
开发者ID:proarc,项目名称:proarc,代码行数:36,代码来源:LoginWindow.java

示例4: createForm

import com.smartgwt.client.widgets.form.DynamicForm; //导入方法依赖的package包/类
private DynamicForm createForm() {
    DataSource ds = new DataSource();
    ds.setClientOnly(true);
    DataSourceIntegerField fDays = new DataSourceIntegerField(
            DigitalObjectResourceApi.DIGITALOBJECT_SERIES_DAYS_INCLUDED_PARAM);
    fDays.setMultiple(true);
    DataSourceDateField fDateFrom = new DataSourceDateField(
            DigitalObjectResourceApi.DIGITALOBJECT_SERIES_DATE_FROM_PARAM);
    DataSourceDateField fDateTo = new DataSourceDateField(
            DigitalObjectResourceApi.DIGITALOBJECT_SERIES_DATE_TO_PARAM);
    DataSourceIntegerField fPartNumberFrom = new DataSourceIntegerField(
            DigitalObjectResourceApi.DIGITALOBJECT_SERIES_PARTNUMBER_FROM_PARAM);
    ds.setFields(fDateFrom, fDateTo, fDays, fPartNumberFrom);

    DynamicForm df = new DynamicForm();
    df.setWidth(200);
    df.setItemHoverWidth(200);
    df.setWrapItemTitles(false);
    df.setSaveOnEnter(true);

    IntegerItem partNumberStart = createPartName(fPartNumberFrom.getName());

    DateRangeValidator dateRangeValidator = new DateRangeValidator();
    DateItem dateStart = createDateFrom(fDateFrom.getName(), dateRangeValidator);

    DateItem dateEnd = new DateItem(fDateTo.getName(), i18n.NewIssueEditor_dateTo_Title());
    dateEnd.setTooltip(i18n.NewIssueEditor_dateTo_Hint());
    dateEnd.setUseTextField(true);
    dateEnd.setValidators(dateRangeValidator);
    dateEnd.setStartDate(new Date(1900 - 1900, 1, 1));

    SelectItem issueDays = createDayChooser(fDays.getName());

    df.setDataSource(ds, partNumberStart, dateStart, dateEnd, issueDays);
    return df;
}
 
开发者ID:proarc,项目名称:proarc,代码行数:37,代码来源:NewIssueEditor.java

示例5: getMapTypesForm

import com.smartgwt.client.widgets.form.DynamicForm; //导入方法依赖的package包/类
private Canvas getMapTypesForm() {
    LinkedHashMap<String, String> licenseMap = new LinkedHashMap<String, String>();
    licenseMap.put("GoogleMaps", constants.googleMaps());
    licenseMap.put("OSM", constants.osm());

    mapOptions = new RadioGroupItem();
    mapOptions.setName("mapType");
    mapOptions.setTitle(constants.mapTypes());
    mapOptions.setValueMap(licenseMap);

    mapOptions.addChangedHandler(new ChangedHandler() {

        @Override
        public void onChanged(ChangedEvent event) {

        }
    });

    mapTypeForm = new DynamicForm();
    mapTypeForm.setGroupTitle(constants.selectMapType());
    mapTypeForm.setIsGroup(true);
    mapTypeForm.setFields();
    mapTypeForm.setWidth(500);
    mapTypeForm.setVisibility(Visibility.HIDDEN);
    mapTypeForm.setFields(mapOptions);

    return mapTypeForm;
}
 
开发者ID:WELTEN,项目名称:dojo-ibl,代码行数:29,代码来源:MapConfigSection.java

示例6: getInviteForm

import com.smartgwt.client.widgets.form.DynamicForm; //导入方法依赖的package包/类
private Canvas getInviteForm() {

		final DynamicForm form = new DynamicForm();
		form.setGroupTitle(constants.inviteNewContact());
		form.setIsGroup(true);
		form.setWidth(300);

		TextItem subjectItem = new TextItem("Contact");
		subjectItem.setTitle(constants.contactEmail());

		ButtonItem saveButton = new ButtonItem("Save");
		saveButton.setTitle(constants.invite());
		saveButton.setColSpan(2);
		saveButton.setAlign(Alignment.CENTER);

		form.setFields(subjectItem, saveButton);

		saveButton.addClickHandler(new com.smartgwt.client.widgets.form.fields.events.ClickHandler() {

			@Override
			public void onClick(com.smartgwt.client.widgets.form.fields.events.ClickEvent event) {
				CollaborationClient.getInstance().addContactViaEmail(form.getValueAsString("Contact"), new JsonCallback() {
				});
				form.setValue("Contact", "");
			}
		});
		form.setWidth(300);
		return form;
	}
 
开发者ID:WELTEN,项目名称:dojo-ibl,代码行数:30,代码来源:CollaboratorsConfig.java

示例7: getInviteForm

import com.smartgwt.client.widgets.form.DynamicForm; //导入方法依赖的package包/类
private Canvas getInviteForm() {

		final DynamicForm form = new DynamicForm();
		form.setGroupTitle("Invite new contact");
		form.setIsGroup(true);
		form.setWidth(300);

		TextItem subjectItem = new TextItem("Contact");
		subjectItem.setTitle("Contact Email");

		ButtonItem saveButton = new ButtonItem("Save");
		saveButton.setTitle("Invite");
		saveButton.setColSpan(2);
		saveButton.setAlign(Alignment.CENTER);

		form.setFields(subjectItem, saveButton);

		saveButton.addClickHandler(new com.smartgwt.client.widgets.form.fields.events.ClickHandler() {

			@Override
			public void onClick(com.smartgwt.client.widgets.form.fields.events.ClickEvent event) {
				CollaborationClient.getInstance().addContactViaEmail(form.getValueAsString("Contact"), new JsonCallback() {
				});
				form.setValue("Contact", "");
			}
		});

		return form;
	}
 
开发者ID:WELTEN,项目名称:dojo-ibl,代码行数:30,代码来源:CollaboratorsConfigOld.java

示例8: getAddRoleForm

import com.smartgwt.client.widgets.form.DynamicForm; //导入方法依赖的package包/类
private Canvas getAddRoleForm() {
		final DynamicForm form = new DynamicForm();
		form.setWidth(300);
        form.setGroupTitle(constants.newRole());  
        form.setIsGroup(true);  

        TextItem subjectItem = new TextItem("Role");  
        subjectItem.setTitle(constants.role());  
        
        ButtonItem saveButton = new ButtonItem("Save");
        saveButton.setTitle(constants.saveRole());
        saveButton.setColSpan(2);  
        saveButton.setAlign(Alignment.CENTER);
        
        form.setFields(subjectItem, saveButton);  

        saveButton.addClickHandler(new com.smartgwt.client.widgets.form.fields.events.ClickHandler() {
			
			@Override
			public void onClick(com.smartgwt.client.widgets.form.fields.events.ClickEvent event) {
				if (currentGame != null) {
					currentGame.addRole(form.getValueAsString("Role"));
					currentGame.writeToCloud(new JsonCallback() {
						public void onJsonReceived(JSONValue jsonValue) {
//							GameRolesDataSource.getInstance().addRole(gameId, role)
						}
						
					});
				}
			}
		});
		return form;
	}
 
开发者ID:WELTEN,项目名称:dojo-ibl,代码行数:34,代码来源:RoleConfigSection.java

示例9: getAddPlayerForm

import com.smartgwt.client.widgets.form.DynamicForm; //导入方法依赖的package包/类
private Canvas getAddPlayerForm() {
	teamForm = new DynamicForm();
	teamForm.setWidth(300);
	teamForm.setGroupTitle(constants.addTeams());
	teamForm.setIsGroup(true);

	final TextItem teamNameItem = new TextItem("teamName", constants.teamName());
	
	
	
	ButtonItem submitButton = new ButtonItem("Submit");
	submitButton.setTitle(constants.submitTeam());
	submitButton.setColSpan(2);
	submitButton.setAlign(Alignment.CENTER);

	submitButton.addClickHandler(new com.smartgwt.client.widgets.form.fields.events.ClickHandler() {

		@Override
		public void onClick(com.smartgwt.client.widgets.form.fields.events.ClickEvent event) {
			Team t = new Team();
			t.setString("name", teamForm.getValueAsString("teamName"));
			t.setLong("runId", run.getRunId());
			TeamClient.getInstance().createTeam(t, new JsonCallback(){
				public void onJsonReceived(JSONValue jsonValue) {
					TeamDataSource.getInstance().loadDataFromWeb(run.getRunId());
				}

			});
			
		}
	});
	teamForm.setFields(teamNameItem, submitButton);
	return teamForm;
}
 
开发者ID:WELTEN,项目名称:dojo-ibl,代码行数:35,代码来源:TeamConfigurationSection.java

示例10: RunConfigSection

import com.smartgwt.client.widgets.form.DynamicForm; //导入方法依赖的package包/类
public RunConfigSection() {
    super("Config run");
    HLayout hLayout = new HLayout();
    form = new DynamicForm();
    final TextItem titleText = new TextItem(RunModel.RUNTITLE_FIELD, constants.runTitle());
    titleText.setWidth("100%");
    form.setFields(titleText);
    form.setWidth("*");
    Button button = new Button("save");
    button.setAlign(Alignment.CENTER);
    button.addClickHandler(new ClickHandler() {
        @Override
        public void onClick(ClickEvent event) {
            run.setTitle(form.getValueAsString(RunModel.RUNTITLE_FIELD));
            run.writeToCloud(new JsonCallback(){
                public void onJsonReceived(JSONValue jsonValue) {
                       RunConfigSection.this.setExpanded(false);
                    RunDataSource.getInstance().loadRun(run.getRunId());

                }
            });
        }
    });
    hLayout.addMember(form);
    hLayout.addMember(button);
    setItems(hLayout);
    hLayout.setHeight(40);
}
 
开发者ID:WELTEN,项目名称:dojo-ibl,代码行数:29,代码来源:RunConfigSection.java

示例11: getAccessForm

import com.smartgwt.client.widgets.form.DynamicForm; //导入方法依赖的package包/类
private Canvas getAccessForm() {
    messageViewOptions = new RadioGroupItem();
    messageViewOptions.setName("messageViews");
    messageViewOptions.setTitle(constants.messageViews());
    messageViewOptions.setValueMap(new String[]{
            constants.messagesOnly(),
            constants.messagesAndMap(),
            constants.mapViewOnly(),
            constants.customHtml()});
    messageViewOptions.addChangedHandler(new ChangedHandler() {

        @Override
        public void onChanged(ChangedEvent event) {
            int messageViewType = Game.MESSAGE_MAP;
            if (event.getValue() != null) {
                if (event.getValue().equals(constants.messagesOnly())) {
                    messageViewType = Game.MESSAGE_LIST;
                    mapTypeForm.setVisibility(Visibility.HIDDEN);

                    canvas.setVisibility(Visibility.HIDDEN);


                } else if (event.getValue().equals(constants.messagesAndMap())) {
                    messageViewType = Game.MESSAGE_MAP;
                    mapTypeForm.setVisibility(Visibility.INHERIT);
                    canvas.setVisibility(Visibility.HIDDEN);


                } else if (event.getValue().equals(constants.mapViewOnly())) {
                    messageViewType = Game.MAP_VIEW;
                    mapTypeForm.setVisibility(Visibility.INHERIT);
                    canvas.setVisibility(Visibility.HIDDEN);

                } else if (event.getValue().equals(constants.customHtml())) {
                    messageViewType = Game.CUSTOM_HTML;
                    mapTypeForm.setVisibility(Visibility.HIDDEN);
                    canvas.setVisibility(Visibility.INHERIT);

                }
            }
            game.setMessageView(messageViewType);
            game.writeToCloud(new JsonCallback() {
                public void onJsonReceived(JSONValue jsonValue) {

                }

            });
        }
    });
    messageViewTypeForm = new DynamicForm();
    messageViewTypeForm.setGroupTitle(constants.selectMessageView());
    messageViewTypeForm.setIsGroup(true);
    messageViewTypeForm.setWidth(300);

    messageViewTypeForm.setFields(messageViewOptions);
    return messageViewTypeForm;
}
 
开发者ID:WELTEN,项目名称:dojo-ibl,代码行数:58,代码来源:MapConfigSection.java

示例12: getAddPlayerForm

import com.smartgwt.client.widgets.form.DynamicForm; //导入方法依赖的package包/类
private Canvas getAddPlayerForm() {
	final CheckboxItem canEdit = new CheckboxItem("canEdit", constants.cannew());

	addCollaboratorForm = new DynamicForm();
	addCollaboratorForm.setWidth("30%");
	addCollaboratorForm.setGroupTitle(constants.addCollaborators());
	addCollaboratorForm.setIsGroup(true);

	final MultiComboBoxItem playersComboBox = new MultiComboBoxItem(
			ContactModel.LOCAL_ID_FIELD, constants.selectAccount());
	playersComboBox.setDisplayField(ContactModel.NAME_FIELD);
	playersComboBox.setValueField(ContactModel.ACCOUNT_FIELD);
	playersComboBox.setAutoFetchData(true);
	playersComboBox.setOptionDataSource(ContactsDataSource.getInstance());
	// playersComboBox.setShowTitle(false);

	ButtonItem submitButton = new ButtonItem("Submit");
	submitButton.setTitle(constants.submit());
	submitButton.setColSpan(2);
	submitButton.setAlign(Alignment.CENTER);

	submitButton
			.addClickHandler(new com.smartgwt.client.widgets.form.fields.events.ClickHandler() {

				@Override
				public void onClick(com.smartgwt.client.widgets.form.fields.events.ClickEvent event) {
					int editRights = 3;
					if(canEdit.getValue()!= null && ((Boolean) canEdit.getValue())) {
						editRights = 2;
					}
					for (String account : playersComboBox.getValues()) {
						GameClient.getInstance().addAccess(currentGame.getGameId(), account, editRights, new JsonCallback() {
							public void onJsonReceived(JSONValue jsonValue) {
								GameCollaboratorDataSource.getInstance().loadDataFromWeb(currentGame.getGameId());
							};
						});
					}
					playersComboBox.setValues();
				}
			});
	addCollaboratorForm.setFields(canEdit, playersComboBox, submitButton);
	addCollaboratorForm.setWidth(300);
	return addCollaboratorForm;
}
 
开发者ID:WELTEN,项目名称:dojo-ibl,代码行数:45,代码来源:CollaboratorsConfig.java

示例13: getAccessForm

import com.smartgwt.client.widgets.form.DynamicForm; //导入方法依赖的package包/类
private Canvas getAccessForm() {
	sharingOptions = new RadioGroupItem();
	sharingOptions.setName("sharing");
	sharingOptions.setTitle(constants.shareVisibilityOptions());
	sharingOptions.setValueMap(new String[] { constants.privateSharing(),
			constants.linkSharing(), constants.publicSharing() });
	sharingOptions.addChangedHandler(new ChangedHandler() {

		@Override
		public void onChanged(ChangedEvent event) {
			int sharingType = 1;

			if (event.getValue() != null) {
				if (event.getValue().equals(constants.linkSharing())) {
					sharingType = 2;
				}
				if (event.getValue().equals(constants.publicSharing())) {
					sharingType = 3;
					licenseForm.setVisibility(Visibility.INHERIT);
					if (game.getString(GameModel.LICENSE_CODE).equals("")) {
						licenseOptions.setValue("cc-by");
						game.setString(GameModel.LICENSE_CODE, "cc-by");
					}
				} else {
					licenseForm.setVisibility(Visibility.HIDDEN);
					game.setString(GameModel.LICENSE_CODE, "");

				}

				game.setLong(GameModel.SHARING_FIELD, sharingType);
				game.writeToCloud(new JsonCallback() {
					public void onJsonReceived(JSONValue jsonValue) {

					}

				});
			}

		}
	});
	sharingForm = new DynamicForm();
	sharingForm.setGroupTitle("Access");
	sharingForm.setIsGroup(true);
	sharingForm.setWidth(300);

	sharingForm.setFields(sharingOptions);
	return sharingForm;
}
 
开发者ID:WELTEN,项目名称:dojo-ibl,代码行数:49,代码来源:SharingConfigSection.java

示例14: getLicenseForm

import com.smartgwt.client.widgets.form.DynamicForm; //导入方法依赖的package包/类
private Canvas getLicenseForm() {
	LinkedHashMap<String, String> licenseMap = new LinkedHashMap<String, String>();
	licenseMap.put("cc-by", CCBY);
	licenseMap.put("cc-by-nd", "Attribution-NoDerivs BY-ND");
	licenseMap.put("cc-by-sa", "Attribution-ShareAlike BY-SA");
	licenseMap.put("cc-by-nc", "Attribution-NonCommercial BY-NC");
	licenseMap.put("cc-by-nc-sa", "Attribution-NonCommercial-ShareAlike BY-NC-SA");
	licenseMap.put("cc-by-nc-nd", "Attribution-NonCommercial-NoDerivs BY-NC-ND");
	
	licenseOptions = new RadioGroupItem();
	licenseOptions.setName("license");
	licenseOptions.setTitle("choose creative commons license");
	licenseOptions.setValueMap(licenseMap);
	


	// "Attribution-NonCommercial CC BY-NC",
	// "Attribution-NonCommercial-NoDerivs CC BY-NC-ND"
	// });
	licenseOptions.addChangedHandler(new ChangedHandler() {
		
		@Override
		public void onChanged(ChangedEvent event) {
			
			game.setString(GameModel.LICENSE_CODE, (String) event.getValue());
			game.writeToCloud(new JsonCallback() {
				public void onJsonReceived(JSONValue jsonValue) {

				}

			});
			
		}
	});
	
	licenseForm = new DynamicForm();
	licenseForm.setGroupTitle("License");
	licenseForm.setIsGroup(true);
	licenseForm.setFields();
	licenseForm.setWidth(500);
	licenseForm.setVisibility(Visibility.HIDDEN);
	licenseForm.setFields(licenseOptions);
	
	return licenseForm;
}
 
开发者ID:WELTEN,项目名称:dojo-ibl,代码行数:46,代码来源:SharingConfigSection.java

示例15: getAddPlayerForm

import com.smartgwt.client.widgets.form.DynamicForm; //导入方法依赖的package包/类
private Canvas getAddPlayerForm() {
		playerForm = new DynamicForm();
		playerForm.setWidth(300);
		playerForm.setGroupTitle(constants.addPlayers());
		playerForm.setIsGroup(true);

		final MultiComboBoxItem playersComboBox = new MultiComboBoxItem(ContactModel.LOCAL_ID_FIELD, constants.selectAccounts());
		playersComboBox.setDisplayField(ContactModel.NAME_FIELD);
		playersComboBox.setValueField(ContactModel.ACCOUNT_FIELD);
		playersComboBox.setAutoFetchData(true);
		playersComboBox.setOptionDataSource(ContactsDataSource.getInstance());
//		playersComboBox.setShowTitle(false);
//		playersComboBox.setShowIfCondition(realAccountFunction);


//		CheckboxItem 	qrToggle = new CheckboxItem("qrToggle","Player must authenticate");
//		qrToggle.setValue(true);
//		qrToggle.setRedrawOnChange(true);
		
		roleSelect = new SelectItem("roleSelect", "role");
		roleSelect.setAllowEmptyValue(true);
		roleSelect.setOptionDataSource(GameRolesDataSource.getInstance());
		roleSelect.setDisplayField(GameRoleModel.ROLE_FIELD);
		roleSelect.setValueField(GameRoleModel.ROLE_FIELD);
		roleSelect.setMultiple(true);
		
		
		teamSelect = new SelectItem("teamSelect", "team");
		teamSelect.setAllowEmptyValue(true);
		teamSelect.setOptionDataSource(TeamDataSource.getInstance());
		teamSelect.setDisplayField(TeamModel.NAME_FIELD);
		teamSelect.setValueField(TeamModel.TEAMID_FIELD);
		
		
		
		
		ButtonItem submitButton = new ButtonItem("Submit");
		submitButton.setTitle(constants.submitPlayers());
		submitButton.setColSpan(2);
		submitButton.setAlign(Alignment.CENTER);

		submitButton.addClickHandler(new com.smartgwt.client.widgets.form.fields.events.ClickHandler() {

			@Override
			public void onClick(com.smartgwt.client.widgets.form.fields.events.ClickEvent event) {
				if (run == null) return;
					for (String account : playersComboBox.getValues()) {
						User u = new User();
						u.setRunId(run.getRunId());
						u.setFullIdentifier(account);
						u.setRoles(roleSelect.getValues());
						if (teamSelect.getValue() != null && !teamSelect.getValue().equals("")) {
							u.setTeam(teamSelect.getValueAsString());
						}
						
						UserClient.getInstance().createUser(u, new JsonCallback(){
							public void onJsonReceived(JSONValue jsonValue) {
								UserDataSource.getInstance().loadDataFromWeb(run.getRunId());
							}
	
						});
					}
					playersComboBox.setValues();
				
			}
		});
		playerForm.setFields(playersComboBox,  roleSelect, teamSelect, submitButton);
		return playerForm;
	}
 
开发者ID:WELTEN,项目名称:dojo-ibl,代码行数:70,代码来源:TeamPlayerConfigurationSection.java


注:本文中的com.smartgwt.client.widgets.form.DynamicForm.setWidth方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。