本文整理了Java中org.eclipse.swt.widgets.Scale.isDisposed()
方法的一些代码示例,展示了Scale.isDisposed()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Scale.isDisposed()
方法的具体详情如下:
包路径:org.eclipse.swt.widgets.Scale
类名称:Scale
方法名:isDisposed
暂无
代码示例来源:origin: org.eclipse.scout.sdk.deps/org.eclipse.jface
@Override
public void setFocus() {
if (scale != null && !scale.isDisposed()) {
scale.setFocus();
}
}
代码示例来源:origin: org.eclipse.platform/org.eclipse.jface
@Override
public void setFocus() {
if (scale != null && !scale.isDisposed()) {
scale.setFocus();
}
}
代码示例来源:origin: org.eclipse.rap/org.eclipse.rap.jface
public void setFocus() {
if (scale != null && !scale.isDisposed()) {
scale.setFocus();
}
}
代码示例来源:origin: org.eclipse.e4.ui.css/swt
public void dispose() {
super.dispose();
if (!dynamicEnabled) return;
Scale scale = getScale();
if (!scale.isDisposed()) {
scale.removeSelectionListener(selectionListener);
}
}
代码示例来源:origin: org.eclipse.platform/org.eclipse.e4.ui.css.swt
@Override
public void dispose() {
super.dispose();
if (!dynamicEnabled) {
return;
}
Scale scale = getScale();
if (!scale.isDisposed()) {
scale.removeSelectionListener(selectionListener);
}
}
代码示例来源:origin: atdl4j/atdl4j
@Override
public void processReinit( Object aControlInitValue )
{
if ( ( slider != null ) && ( ! slider.isDisposed() ) )
{
if ( aControlInitValue != null )
{
// -- apply initValue if one has been specified --
setValue( (String) aControlInitValue, true );
}
else
{
// -- set to minimum when no initValue exists --
slider.setSelection( slider.getMinimum() );
}
}
}
代码示例来源:origin: org.eclipse.scout.sdk.deps/org.eclipse.jface
/**
* Update the scale particulars with set values.
*/
private void updateScale() {
if (scale != null && !scale.isDisposed()) {
scale.setMinimum(getMinimum());
scale.setMaximum(getMaximum());
scale.setIncrement(getIncrement());
scale.setPageIncrement(getPageIncrement());
}
}
代码示例来源:origin: org.eclipse.platform/org.eclipse.jface
/**
* Update the scale particulars with set values.
*/
private void updateScale() {
if (scale != null && !scale.isDisposed()) {
scale.setMinimum(getMinimum());
scale.setMaximum(getMaximum());
scale.setIncrement(getIncrement());
scale.setPageIncrement(getPageIncrement());
}
}
代码示例来源:origin: org.eclipse.rap/org.eclipse.rap.jface
/**
* Update the scale particulars with set values.
*/
private void updateScale() {
if (scale != null && !scale.isDisposed()) {
scale.setMinimum(getMinimum());
scale.setMaximum(getMaximum());
scale.setIncrement(getIncrement());
scale.setPageIncrement(getPageIncrement());
}
}
内容来源于网络,如有侵权,请联系作者删除!