本文整理了Java中javax.swing.JTree.removePropertyChangeListener()
方法的一些代码示例,展示了JTree.removePropertyChangeListener()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。JTree.removePropertyChangeListener()
方法的具体详情如下:
包路径:javax.swing.JTree
类名称:JTree
方法名:removePropertyChangeListener
暂无
代码示例来源:origin: khuxtable/seaglass
/**
* @inheritDoc
*/
@Override
protected void uninstallListeners() {
super.uninstallListeners();
tree.removePropertyChangeListener(this);
}
代码示例来源:origin: net.java.dev.laf-widget/laf-widget
@Override
public void uninstallListeners() {
this.jcomp.removePropertyChangeListener(this.propertyChangeListener);
this.propertyChangeListener = null;
this.uninstallDnDSupport();
}
代码示例来源:origin: com.github.insubstantial/substance
@Override
protected void uninstallListeners() {
this.tree.removeMouseListener(this.substanceRowSelectionListener);
this.substanceRowSelectionListener = null;
this.tree.getSelectionModel().removeTreeSelectionListener(
this.substanceSelectionFadeListener);
this.substanceSelectionFadeListener = null;
this.tree
.removePropertyChangeListener(this.substancePropertyChangeListener);
this.substancePropertyChangeListener = null;
// Remove listener for the fade animation
this.tree.removeMouseMotionListener(this.substanceFadeRolloverListener);
this.tree.removeMouseListener(this.substanceFadeRolloverListener);
this.substanceFadeRolloverListener = null;
super.uninstallListeners();
}
代码示例来源:origin: org.java.net.substance/substance
@Override
protected void uninstallListeners() {
this.tree.removeMouseListener(this.substanceRowSelectionListener);
this.substanceRowSelectionListener = null;
this.tree.getSelectionModel().removeTreeSelectionListener(
this.substanceSelectionFadeListener);
this.substanceSelectionFadeListener = null;
this.tree
.removePropertyChangeListener(this.substancePropertyChangeListener);
this.substancePropertyChangeListener = null;
// Remove listener for the fade animation
this.tree.removeMouseMotionListener(this.substanceFadeRolloverListener);
this.tree.removeMouseListener(this.substanceFadeRolloverListener);
this.substanceFadeRolloverListener = null;
super.uninstallListeners();
}
代码示例来源:origin: net.java.dev.laf-widget/laf-widget
private void uninstallDnDSupport() {
if (this.cellRendererChangeListener != null) {
this.jcomp
.removePropertyChangeListener(this.cellRendererChangeListener);
this.cellRendererChangeListener = null;
}
TreeCellRenderer tcl = this.jcomp.getCellRenderer();
if (tcl instanceof DnDCellRendererProxy) {
TreeCellRenderer origRenderer = ((DnDCellRendererProxy) tcl)
.getOriginalTreeCellRenderer();
this.jcomp.setCellRenderer(origRenderer);
}
if (this.dropListener != null) {
this.dropTarget.removeDropTargetListener(this.dropListener);
this.dropListener = null;
this.jcomp.setDropTarget(null);
}
if (this.dragGestureRecognizer != null) {
this.dragGestureRecognizer
.removeDragGestureListener(this.gestureListener);
this.gestureListener = null;
this.dragGestureRecognizer = null;
}
}
内容来源于网络,如有侵权,请联系作者删除!