javax.swing.JScrollPane.removePropertyChangeListener()方法的使用及代码示例

x33g5p2x  于2022-01-21 转载在 其他  
字(2.7k)|赞(0)|评价(0)|浏览(132)

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

JScrollPane.removePropertyChangeListener介绍

暂无

代码示例

代码示例来源:origin: net.java.dev.laf-widget/laf-widget

@Override
  public void uninstallListeners() {
    this.jcomp.removePropertyChangeListener(this.propertyChangeListener);
    this.propertyChangeListener = null;
  }
}

代码示例来源:origin: nl.cloudfarming.client/messaging

public void removeMessagePropertyChangeListener(PropertyChangeListener pcl) {
  super.removePropertyChangeListener(pcl);
  propertyChangeSupport.removePropertyChangeListener(PROPERTY_SELECTED_ID, pcl);
}

代码示例来源:origin: net.java.dev.laf-widget/laf-widget

@Override
  public void uninstallListeners() {
    this.jcomp.removeHierarchyListener(this.hierarchyListener);
    this.hierarchyListener = null;

    this.jcomp.removePropertyChangeListener(this.propertyChangeListener);
    this.propertyChangeListener = null;
  }
}

代码示例来源:origin: net.java.dev.laf-widget/laf-widget

void uninstallFromScrollPane() {
  if (theScrollPane == null)
    return;
  if (thePopupMenu.isVisible())
    thePopupMenu.setVisible(false);
  theScrollPane.setCorner(JScrollPane.LOWER_TRAILING_CORNER, null);
  theScrollPane.removePropertyChangeListener(COMPONENT_ORIENTATION,
      propertyChangeListener);
  theScrollPane.getViewport().removeContainerListener(
      theViewPortViewListener);
  theScrollPane.setLayout(theFormerLayoutManager);
  theScrollPane.firePropertyChange("layoutManager", true, false);
  theScrollPane = null;
}

代码示例来源:origin: net.sf.squirrel-sql.thirdparty-non-maven/toniclf

protected void uninstallListeners(JComponent c) {
JViewport viewport = scrollpane.getViewport();
JScrollBar vsb = scrollpane.getVerticalScrollBar();
JScrollBar hsb = scrollpane.getHorizontalScrollBar();
if (viewport != null) {
  viewport.removeChangeListener(viewportChangeListener);
}
if (vsb != null) {
  vsb.getModel().removeChangeListener(vsbChangeListener);
    vsb.removePropertyChangeListener(vsbPropertyChangeListener);
}
if (hsb != null) {
  hsb.getModel().removeChangeListener(hsbChangeListener);
    hsb.removePropertyChangeListener(hsbPropertyChangeListener);
}
scrollpane.removePropertyChangeListener(spPropertyChangeListener);
if (mouseScrollListener != null) {
  scrollpane.removeMouseWheelListener(mouseScrollListener);
}
vsbChangeListener = null;
hsbChangeListener = null;
viewportChangeListener = null;
spPropertyChangeListener = null;
  mouseScrollListener = null;
}

代码示例来源:origin: khuxtable/seaglass

scrollpane.removePropertyChangeListener(spPropertyChangeListener);

代码示例来源:origin: net.sf.ingenias/ingeniasjgraphmod

scrollPane.getHorizontalScrollBar()
    .removeAdjustmentListener(this);
scrollPane.removePropertyChangeListener(this);

相关文章

JScrollPane类方法