org.eclipse.swt.widgets.ScrollBar.isDisposed()方法的使用及代码示例

x33g5p2x  于2022-01-30 转载在 其他  
字(2.6k)|赞(0)|评价(0)|浏览(131)

本文整理了Java中org.eclipse.swt.widgets.ScrollBar.isDisposed()方法的一些代码示例,展示了ScrollBar.isDisposed()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ScrollBar.isDisposed()方法的具体详情如下:
包路径:org.eclipse.swt.widgets.ScrollBar
类名称:ScrollBar
方法名:isDisposed

ScrollBar.isDisposed介绍

暂无

代码示例

代码示例来源:origin: BiglySoftware/BiglyBT

@Override
  public void runSupport() {
    if (vBar != null && !vBar.isDisposed()) {
      vBar.setIncrement(defaultRowHeight);
    }
  }
});

代码示例来源: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.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.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.platform/org.eclipse.e4.ui.css.swt

@Override
protected void checkScrollbarInvisible() {
  if (this.fScrollBar == null || this.fScrollBar.isDisposed()
      || !this.fScrollBarSettings.getScrollBarThemed()) {
    return;
      if (fScrollBar != null && !fScrollBar.isDisposed()) {
        fScrollBar.setVisible(false);

代码示例来源:origin: BiglySoftware/BiglyBT

protected void swt_fixupSize() {
  boolean vBarValid = vBar != null && !vBar.isDisposed();
  if (vBarValid) {
    int tableSize = clientArea.height;
  if (hBar != null && !hBar.isDisposed()) {
    int tableSize = cTable.getSize().x;
    int max = columnsWidth;

代码示例来源:origin: org.eclipse.platform/org.eclipse.debug.ui

if (scroll != null && !scroll.isDisposed()) {
  scroll.removeSelectionListener(fScrollbarSelectionListener);

相关文章