public static CheckboxItem getOrCreateRef(JavaScriptObject jsObj) { if(jsObj == null) return null; RefDataClass obj = RefDataClass.getRef(jsObj); if(obj != null) { obj.setJsObj(jsObj); return (CheckboxItem) obj; } else { return new CheckboxItem(jsObj); } }
protected CheckboxItem createActivateCheckboxItem(final ListGridRecord ruleRecord) { CheckboxItem checkBox = new CheckboxItem(ACTIVATED_FIELD, " "); checkBox.setValue(ruleRecord.getAttributeAsBoolean(SUBSCRIBED)); checkBox.addChangedHandler(createActivateChangedHandler(ruleRecord)); return checkBox; }
public LayerSettingsForm() { // setWidth100(); setColWidths("125", "*"); name = new TextItem(); name.setTitle(MESSAGES.layerSettingsLayerName()); name.setWidth(250); name.setRequired(true); publicLayer = new CheckboxItem(); publicLayer.setTitle(MESSAGES.layerSettingsPublic()); publicLayer.setTooltip(MESSAGES.layerSettingsPublicTooltip()); active = new CheckboxItem(); active.setTitle(MESSAGES.layerSettingsActive()); active.setTooltip(MESSAGES.layerSettingsActiveTooltip()); visible = new CheckboxItem(); visible.setTitle(MESSAGES.layerSettingsVisibleByDefault()); visible.setTooltip(MESSAGES.layerSettingsVisibleByDefaultTooltip()); // ------------------------------------------------- setFields(name, publicLayer, active, visible); }
CheckboxItem unzip = new CheckboxItem("unzip"); unzip.setDefaultValue(true); unzip.setTitle("Unzip .zip file"); items.add(unzip); CheckboxItem overwrite = new CheckboxItem("overwrite"); overwrite.setDefaultValue(false); overwrite.setTitle("Overwrite existing file"); items.add(overwrite); CheckboxItem convertpdf = new CheckboxItem("convertpdf"); convertpdf.setDefaultValue(true); convertpdf.setTitle("Convert Word document to PDF"); items.add(convertpdf); CheckboxItem streaming = new CheckboxItem("streaming"); streaming.setDefaultValue(true); streaming.setTitle("Convert video file to streaming format(flv)"); items.add(streaming); CheckboxItem thumbnail = new CheckboxItem("thumbnail"); thumbnail.setDefaultValue(true); thumbnail.setTitle("Make thumbnail(48x48) from image");
void createAcceptTermsOfUse() { // linkItem for terms of use this.linkTerms = new LinkItem("termsOfUse"); this.linkTerms.setLinkTitle(i18n.termsOfUse()); this.linkTerms.setShouldSaveValue(false); this.linkTerms.addClickHandler(new ClickHandler() { public void onClick(ClickEvent event) { EventBus.getMainEventBus().fireEvent(new GetTermsOfUseEvent(PropertiesManager.language)); } }); this.acceptBox = new CheckboxItem(); this.acceptBox.setName("acceptTerms"); this.acceptBox.setTitle(i18n.acceptTermsOfUse()); this.acceptBox.setValue(false); this.acceptBox.setRequired(true); }
private DynamicForm createFeatureInfoForm() { featureInfoForm = new DynamicForm(); featureInfoForm.setColWidths("125", "*"); enableFeatureInfoItem = new CheckboxItem(); enableFeatureInfoItem.setTitle(MESSAGES.layerSettingsEnableFeatureInfo()); enableFeatureInfoItem.setTooltip(MESSAGES.layerSettingsEnableFeatureInfoTooltip()); enableFeatureInfoItem.addChangedHandler(new ChangedHandler() { @Override public void onChanged(ChangedEvent changedEvent) { featureInfoFormatItem.setRequired(enableFeatureInfoItem.getValueAsBoolean()); } }); featureInfoFormatItem = new SelectItem(); featureInfoFormatItem.setTitle(MESSAGES.layerSettingsFeatureInfoFormat()); featureInfoFormatItem.setTooltip(MESSAGES.layerSettingsFeatureInfoFormatTooltip()); featureInfoForm.setFields(enableFeatureInfoItem, featureInfoFormatItem); featureInfoForm.addItemChangedHandler(new ItemChangedHandler() { @Override public void onItemChanged(ItemChangedEvent itemChangedEvent) { fireChangedEvent(); } }); return featureInfoForm; }
lastEditDate.setWrapTitle(false); active = new CheckboxItem(); active.setTitle(MESSAGES.blueprintSettingsActiv()); active.setWrapTitle(false); active.setTooltip(MESSAGES.blueprintSettingsActivTooltip()); geodesksActive = new CheckboxItem(); geodesksActive.setTitle(MESSAGES.blueprintAttributeGeodesksActiv()); geodesksActive.setWrapTitle(false); geodesksActive.setTooltip(MESSAGES.blueprintAttributeGeodesksActivTooltip()); publiek = new CheckboxItem(); publiek.setTitle(MESSAGES.blueprintSettingsPublic()); publiek.setWrapTitle(false); limitToLoketTerritory = new CheckboxItem(); limitToLoketTerritory.setTitle(MESSAGES.settingsLimitToTerritoryAdministrator()); limitToLoketTerritory.setWrapTitle(false); limitToLoketTerritory.setPrompt(MESSAGES.settingsLimitToTerritoryAdministratorTooltip()); limitToUserTerritory = new CheckboxItem(); limitToUserTerritory.setTitle(MESSAGES.settingsLimitToTerritoryUser()); limitToUserTerritory.setWrapTitle(false);
rasterDpiSlider.setNumValues(5); arrowCheckbox = new CheckboxItem(); arrowCheckbox.setValue(true); arrowCheckbox.setTitle(MESSAGES.printPrefsWithArrow()); scaleBarCheckbox = new CheckboxItem(); scaleBarCheckbox.setValue(true); scaleBarCheckbox.setTitle(MESSAGES.printPrefsWithScaleBar());
rasterDpiSlider.setNumValues(5); arrowCheckbox = new CheckboxItem(); arrowCheckbox.setValue(true); arrowCheckbox.setTitle(MESSAGES.printPrefsWithArrow()); scaleBarCheckbox = new CheckboxItem(); scaleBarCheckbox.setValue(true); scaleBarCheckbox.setTitle(MESSAGES.printPrefsWithScaleBar());
refValRow.setTabIndex(-1); final CheckboxItem check = new CheckboxItem();
label.setTooltip(MESSAGES.layerConfigurationNameTooltip()); publicLayer = new CheckboxItem(); publicLayer.setTitle(MESSAGES.layerConfigurationPublicLayer()); publicLayer.setDisabled(true); // altijd readonly hier publicLayer.setWrapTitle(false); defaultVisible = new CheckboxItem(); defaultVisible.setTitle(MESSAGES.layerConfigurationLayerVisibleByDefault()); defaultVisible.setWrapTitle(false);
lastEditDate.setWrapTitle(false); active = new CheckboxItem(); active.setTitle(MESSAGES.geodeskSettingsActiv()); active.setWrapTitle(false); active.setTooltip(MESSAGES.geodeskActivTooltip()); publicGeodesk = new CheckboxItem(); publicGeodesk.setTitle(MESSAGES.geodeskSettingsPublic()); publicGeodesk.setWrapTitle(false); limitToCreatorTerritory = new CheckboxItem(); limitToCreatorTerritory.setTitle(MESSAGES.settingsLimitToTerritoryAdministrator()); limitToCreatorTerritory.setWrapTitle(false); limitToCreatorTerritory.setPrompt(MESSAGES.settingsLimitToTerritoryAdministratorTooltip()); limitToUserTerritory = new CheckboxItem(); limitToUserTerritory.setTitle(MESSAGES.settingsLimitToTerritoryUser()); limitToUserTerritory.setWrapTitle(false);
nameItem.setTooltip(messages.favouritesControllerAddNameTooltip()); nameItem.setRequired(true); final CheckboxItem sharedItem = new CheckboxItem(); sharedItem.setTitle(messages.favouritesControllerAddShared()); sharedItem.setTooltip(messages.favouritesControllerAddSharedTooltip());
name.setTooltip(MESSAGES.layerGroupConfigNameTooltip()); expanded = new CheckboxItem(); expanded.setTitle(MESSAGES.layerGroupConfigOpenedAtStart()); expanded.setWrapTitle(false);
userappName.setValueMap(UserApplicationRegistry.getInstance().getUserApplicationNames()); publik = new CheckboxItem(); publik.setRequired(true); publik.setTitle(MESSAGES.blueprintSettingsPublic());
propMultiValue = new CheckboxItem(); propStringValue = new TextItem(); propLongValue = new IntegerItem(); propBooleanValue = new CheckboxItem(); propFloatValue = new FloatItem();
nameItem.setTooltip(MESSAGES.favouritesControllerAddNameTooltip()); nameItem.setRequired(true); final CheckboxItem sharedItem = new CheckboxItem(); sharedItem.setTitle(MESSAGES.favouritesControllerAddShared()); sharedItem.setTooltip(MESSAGES.favouritesControllerAddSharedTooltip());