本文整理了Java中javax.swing.JTabbedPane.removeContainerListener()
方法的一些代码示例,展示了JTabbedPane.removeContainerListener()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。JTabbedPane.removeContainerListener()
方法的具体详情如下:
包路径:javax.swing.JTabbedPane
类名称:JTabbedPane
方法名:removeContainerListener
暂无
代码示例来源:origin: net.java.dev.laf-widget/laf-widget
@Override
public void uninstallListeners() {
this.jcomp.removePropertyChangeListener(this.propertyListener);
this.propertyListener = null;
this.jcomp.removeContainerListener(this.containerListener);
this.containerListener = null;
}
代码示例来源:origin: com.github.insubstantial/substance
@Override
protected void uninstallListeners() {
super.uninstallListeners();
if (this.substanceRolloverHandler != null) {
this.tabPane
.removeMouseMotionListener(this.substanceRolloverHandler);
this.tabPane.removeMouseListener(this.substanceRolloverHandler);
this.substanceRolloverHandler = null;
}
if (this.substanceContainerListener != null) {
for (Map.Entry<Component, List<PropertyChangeListener>> entry : this.substanceContainerListener.listeners
.entrySet()) {
Component comp = entry.getKey();
// System.out.println(this.containerListener.hashCode() +"
// removing all for" + comp.hashCode());
for (PropertyChangeListener pcl : entry.getValue()) {
comp.removePropertyChangeListener(pcl);
}
}
this.substanceContainerListener.listeners.clear();
this.tabPane
.removeContainerListener(this.substanceContainerListener);
this.substanceContainerListener = null;
}
this.tabPane.getModel().removeChangeListener(
this.substanceSelectionListener);
this.substanceSelectionListener = null;
}
代码示例来源:origin: org.java.net.substance/substance
@Override
protected void uninstallListeners() {
super.uninstallListeners();
if (this.substanceRolloverHandler != null) {
this.tabPane
.removeMouseMotionListener(this.substanceRolloverHandler);
this.tabPane.removeMouseListener(this.substanceRolloverHandler);
this.substanceRolloverHandler = null;
}
if (this.substanceContainerListener != null) {
for (Map.Entry<Component, List<PropertyChangeListener>> entry : this.substanceContainerListener.listeners
.entrySet()) {
Component comp = entry.getKey();
// System.out.println(this.containerListener.hashCode() +"
// removing all for" + comp.hashCode());
for (PropertyChangeListener pcl : entry.getValue()) {
comp.removePropertyChangeListener(pcl);
}
}
this.substanceContainerListener.listeners.clear();
this.tabPane
.removeContainerListener(this.substanceContainerListener);
this.substanceContainerListener = null;
}
this.tabPane.getModel().removeChangeListener(
this.substanceSelectionListener);
this.substanceSelectionListener = null;
}
代码示例来源:origin: net.sf.squirrel-sql.thirdparty-non-maven/toniclf
tabPane.removeContainerListener(containerListener);
containerListener= null;
if (htmlViews != null)
代码示例来源:origin: com.jtattoo/JTattoo
tabPane.removeContainerListener(containerListener);
containerListener = null;
if (htmlViews != null) {
内容来源于网络,如有侵权,请联系作者删除!