本文整理了Java中org.eclipse.swt.widgets.ScrollBar.removeSelectionListener()
方法的一些代码示例,展示了ScrollBar.removeSelectionListener()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ScrollBar.removeSelectionListener()
方法的具体详情如下:
包路径:org.eclipse.swt.widgets.ScrollBar
类名称:ScrollBar
方法名:removeSelectionListener
[英]Removes the listener from the collection of listeners who will be notified when the user changes the receiver's value.
[中]从侦听器集合中删除侦听器,当用户更改接收方的值时,将通知这些侦听器。
代码示例来源:origin: org.eclipse.rap/org.eclipse.rap.nebula.widgets.grid
/**
* {@inheritDoc}
*/
public void removeSelectionListener(SelectionListener listener)
{
scrollBar.removeSelectionListener(listener);
}
}
代码示例来源:origin: org.eclipse.platform/org.eclipse.e4.ui.css.swt
public void uninstall(AbstractThemedScrollBarAdapter abstractThemedScrollBarAdapter, boolean disposing) {
fInitialDragPosition = null;
fScrollBarPositions = null;
fHandleDrawnRect = null;
if (this.fScrollBar != null && !this.fScrollBar.isDisposed() && !disposing) {
this.fScrollBar.removeSelectionListener(abstractThemedScrollBarAdapter);
// Restore its initial visibility state.
// Note: don't do this if we're disposing at this moment as
// StyledText will throw a NPE.
this.fScrollBar.setVisible(fInitialVisible);
}
}
代码示例来源:origin: org.eclipse.platform/org.eclipse.jface.text
/**
* Removes all listeners and structures required to set up view port listeners.
*/
private void removeViewPortUpdate() {
if (fTextWidget != null) {
fTextWidget.removeKeyListener(fViewportGuard);
fTextWidget.removeMouseListener(fViewportGuard);
if (fScroller != null && !fScroller.isDisposed()) {
fScroller.removeSelectionListener(fViewportGuard);
fScroller= null;
}
fViewportGuard= null;
}
}
代码示例来源:origin: org.eclipse.scout.sdk.deps/org.eclipse.jface.text
/**
* Removes all listeners and structures required to set up view port listeners.
*/
private void removeViewPortUpdate() {
if (fTextWidget != null) {
fTextWidget.removeKeyListener(fViewportGuard);
fTextWidget.removeMouseListener(fViewportGuard);
if (fScroller != null && !fScroller.isDisposed()) {
fScroller.removeSelectionListener(fViewportGuard);
fScroller= null;
}
fViewportGuard= null;
}
}
代码示例来源:origin: org.eclipse.scout.sdk.deps/org.eclipse.jface.text
/**
* Uninstalls this closer if previously installed.
*/
public void uninstall() {
fContentAssistant= null;
if (Helper2.okToUse(fShell))
fShell.removeShellListener(this);
fShell= null;
if (Helper2.okToUse(fScrollbar))
fScrollbar.removeSelectionListener(this);
if (Helper2.okToUse(fTable))
fTable.removeFocusListener(this);
}
代码示例来源:origin: org.eclipse.platform/org.eclipse.jface.text
/**
* Uninstalls this closer if previously installed.
*/
public void uninstall() {
fContentAssistant= null;
if (Helper2.okToUse(fShell))
fShell.removeShellListener(this);
fShell= null;
if (Helper2.okToUse(fScrollbar))
fScrollbar.removeSelectionListener(this);
if (Helper2.okToUse(fTable))
fTable.removeFocusListener(this);
}
代码示例来源:origin: org.eclipse.platform/org.eclipse.jface.text
ScrollBar vBar= scrollable.getVerticalBar();
if (vBar != null)
vBar.removeSelectionListener(this);
ScrollBar hBar= scrollable.getHorizontalBar();
if (hBar != null)
hBar.removeSelectionListener(this);
代码示例来源:origin: org.eclipse.scout.sdk.deps/org.eclipse.jface.text
ScrollBar vBar= scrollable.getVerticalBar();
if (vBar != null)
vBar.removeSelectionListener(this);
ScrollBar hBar= scrollable.getHorizontalBar();
if (hBar != null)
hBar.removeSelectionListener(this);
代码示例来源:origin: org.eclipse.platform/org.eclipse.jface.text
/**
* Uninstalls this closer if previously installed.
*/
public void uninstall() {
fContentAssistant= null;
if (Helper.okToUse(fShell))
fShell.removeShellListener(this);
fShell= null;
if (Helper.okToUse(fScrollbar))
fScrollbar.removeSelectionListener(this);
if (Helper.okToUse(fTable))
fTable.removeFocusListener(this);
if (fDisplay != null && ! fDisplay.isDisposed()) {
fDisplay.removeFilter(SWT.Activate, this);
fDisplay.removeFilter(SWT.MouseVerticalWheel, this);
fDisplay.removeFilter(SWT.Deactivate, this);
fDisplay.removeFilter(SWT.MouseUp, this);
}
}
代码示例来源:origin: org.eclipse.platform/org.eclipse.debug.ui
fTableViewer.getTable().getVerticalBar().removeSelectionListener(fScrollBarSelectionListener);
代码示例来源:origin: org.eclipse.scout.sdk.deps/org.eclipse.jface.text
/**
* Uninstalls this closer if previously installed.
*/
public void uninstall() {
fContentAssistant= null;
if (Helper.okToUse(fShell))
fShell.removeShellListener(this);
fShell= null;
if (Helper.okToUse(fScrollbar))
fScrollbar.removeSelectionListener(this);
if (Helper.okToUse(fTable))
fTable.removeFocusListener(this);
if (fDisplay != null && ! fDisplay.isDisposed()) {
fDisplay.removeFilter(SWT.Activate, this);
fDisplay.removeFilter(SWT.MouseVerticalWheel, this);
fDisplay.removeFilter(SWT.Deactivate, this);
fDisplay.removeFilter(SWT.MouseUp, this);
}
}
代码示例来源:origin: org.eclipse.platform/org.eclipse.debug.ui
scroll.removeSelectionListener(fScrollbarSelectionListener);
内容来源于网络,如有侵权,请联系作者删除!