本文整理了Java中com.bc.ceres.swing.binding.Binding.adjustComponents()
方法的一些代码示例,展示了Binding.adjustComponents()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Binding.adjustComponents()
方法的具体详情如下:
包路径:com.bc.ceres.swing.binding.Binding
类名称:Binding
方法名:adjustComponents
暂无
代码示例来源:origin: senbox-org/snap-desktop
private ActionListener createLoadExpressionButtonListener() {
return e -> {
try {
final File file = Dialogs.requestFileForOpen(
"Load Band Maths Expression", false, null, PREF_KEY_LAST_EXPRESSION_PATH);
if (file != null) {
expression = new String(Files.readAllBytes(file.toPath()));
bindingContext.getBinding(PROPERTY_NAME_EXPRESSION).setPropertyValue(expression);
bindingContext.getBinding(PROPERTY_NAME_EXPRESSION).adjustComponents();
}
} catch (IOException ex) {
showErrorDialog(ex.getMessage());
}
};
}
代码示例来源:origin: senbox-org/snap-desktop
Binding binding = parametersPane.getBindingContext().getBinding(dependency.getTargetFieldName());
binding.setPropertyValue(newTargetValue);
binding.adjustComponents();
代码示例来源:origin: senbox-org/snap-desktop
private void updateLogXAxisCheckBox() {
HistogramPanelModel.HistogramConfig config = createHistogramConfig();
final boolean enabled = dataset != null && model.hasStx(config) && model.getStx(config).getMinimum() > 0 && !model.getStx(config).isLogHistogram();
Binding binding = xAxisRangeControl.getBindingContext().getBinding(PROPERTY_NAME_LOG_SCALED);
if (!enabled) {
binding.setPropertyValue(false);
}
log10AxisEnablement.apply();
binding.adjustComponents();
}
代码示例来源:origin: bcdev/beam
private void updateLogXAxisCheckBox() {
HistogramPanelModel.HistogramConfig config = createHistogramConfig();
final boolean enabled = dataset != null && model.hasStx(config) && model.getStx(config).getMinimum() > 0 && !model.getStx(config).isLogHistogram();
Binding binding = xAxisRangeControl.getBindingContext().getBinding(PROPERTY_NAME_LOG_SCALED);
if (!enabled) {
binding.setPropertyValue(false);
}
log10AxisEnablement.apply();
binding.adjustComponents();
}
内容来源于网络,如有侵权,请联系作者删除!