本文整理了Java中org.apache.wicket.markup.html.form.CheckBox.processInput()
方法的一些代码示例,展示了CheckBox.processInput()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。CheckBox.processInput()
方法的具体详情如下:
包路径:org.apache.wicket.markup.html.form.CheckBox
类名称:CheckBox
方法名:processInput
暂无
代码示例来源:origin: org.geoserver.community/gs-netcdf-ghrsst
@Override
protected void onEvent(AjaxRequestTarget target) {
enabled.processInput();
boolean enableSettings = Boolean.TRUE.equals(enabled.getModelObject());
settings.visitChildren(
(component, visit) -> {
component.setEnabled(enableSettings);
});
target.add(settings);
}
});
代码示例来源:origin: org.geoserver.web/gs-web-core
@Override
protected void onClick(AjaxRequestTarget target, Form<?> form) {
sqlEditor.processInput();
parameters.processInputs();
guessCheckbox.processInput();
if (sql != null && !"".equals(sql.trim())) {
SimpleFeatureType newSchema = null;
try {
newSchema = testViewDefinition(guessGeometrySrid);
if (newSchema != null) {
attProvider.setFeatureType(newSchema, null);
target.add(attributes);
}
} catch (IOException e) {
LOGGER.log(Level.INFO, "Error testing SQL query", e);
error(getFirstErrorMessage(e));
}
}
}
};
代码示例来源:origin: org.geoserver.web/web-core
@Override
protected void onClick(AjaxRequestTarget target, Form form) {
sqlEditor.processInput();
parameters.processInputs();
guessCheckbox.processInput();
if (sql != null && !"".equals(sql.trim())) {
SimpleFeatureType newSchema = null;
try {
newSchema = testViewDefinition(guessGeometrySrid);
if (newSchema != null) {
attProvider.setFeatureType(newSchema, null);
target.addComponent(attributes);
}
} catch (IOException e) {
LOGGER.log(Level.INFO, "Error testing SQL query", e);
error(getFirstErrorMessage(e));
}
}
}
};
代码示例来源:origin: org.geoserver.extension/gs-netcdf-out
compressionLevel.processInput();
dataPacking.processInput();
shuffle.processInput();
copyAttributes.processInput();
copyGlobalAttributes.processInput();
NetCDFSettingsContainer convertedInput = new NetCDFSettingsContainer();
convertedInput.setCompressionLevel(compressionLevel.getModelObject());
代码示例来源:origin: org.geoserver.community/gs-netcdf-out
@Override
protected void convertInput() {
globalAttributes.visitChildren(new Component.IVisitor<Component>() {
@Override
public Object component(Component component) {
if (component instanceof FormComponent) {
FormComponent<?> formComponent = (FormComponent<?>) component;
formComponent.processInput();
}
return Component.IVisitor.CONTINUE_TRAVERSAL;
}
});
compressionLevel.processInput();
dataPacking.processInput();
shuffle.processInput();
List<GlobalAttribute> info = globalAttributes.getModelObject();
NetCDFSettingsContainer convertedInput = new NetCDFSettingsContainer();
convertedInput.setCompressionLevel(compressionLevel.getModelObject());
convertedInput.setGlobalAttributes(info);
convertedInput.setDataPacking(dataPacking.getModelObject());
convertedInput.setShuffle(shuffle.getModelObject());
setConvertedInput((T) convertedInput);
}
}
代码示例来源:origin: org.geoserver.extension/gs-netcdf-out
compressionLevel.processInput();
dataPacking.processInput();
shuffle.processInput();
copyAttributes.processInput();
copyGlobalAttributes.processInput();
standardName.processInput();
uom.processInput();
代码示例来源:origin: org.geoserver.community/gs-netcdf-ghrsst
@Override
public void convertInput(NetCDFSettingsContainer settings) {
enabled.processInput();
rdac.processInput();
processingLevel.processInput();
sstType.processInput();
productString.processInput();
settings.getMetadata().put(GHRSSTEncoder.SETTINGS_KEY, enabled.getModelObject());
settings.getMetadata().put(GHRSSTEncoder.SETTINGS_RDAC_KEY, rdac.getModelObject());
settings.getMetadata()
.put(GHRSSTEncoder.SETTINGS_PROCESSING_LEVEL_KEY, processingLevel.getModelObject());
settings.getMetadata().put(GHRSSTEncoder.SETTINGS_SST_TYPE, sstType.getModelObject());
settings.getMetadata()
.put(GHRSSTEncoder.SETTINGS_PRODUCT_STRING, productString.getModelObject());
}
}
代码示例来源:origin: org.geoserver.community/gs-netcdf-out
@Override
protected void convertInput() {
globalAttributes.visitChildren(new Component.IVisitor<Component>() {
@Override
public Object component(Component component) {
if (component instanceof FormComponent) {
FormComponent<?> formComponent = (FormComponent<?>) component;
formComponent.processInput();
}
return Component.IVisitor.CONTINUE_TRAVERSAL;
}
});
compressionLevel.processInput();
dataPacking.processInput();
shuffle.processInput();
standardName.processInput();
uom.processInput();
List<GlobalAttribute> info = globalAttributes.getModelObject();
NetCDFLayerSettingsContainer convertedInput = new NetCDFLayerSettingsContainer();
convertedInput.setCompressionLevel(compressionLevel.getModelObject());
convertedInput.setGlobalAttributes(info);
convertedInput.setDataPacking(dataPacking.getModelObject());
convertedInput.setShuffle(shuffle.getModelObject());
convertedInput.setLayerName(standardName.getModelObject());
convertedInput.setLayerUOM(uom.getModelObject());
setConvertedInput(convertedInput);
}
}
代码示例来源:origin: org.geoserver.web/gs-web-core
nearestMatch.processInput();
acceptableInterval.processInput();
if (nearestMatch.isVisible() && nearestMatch.getModelObject()) {
内容来源于网络,如有侵权,请联系作者删除!