本文整理了Java中javax.swing.JTabbedPane.removePropertyChangeListener()
方法的一些代码示例,展示了JTabbedPane.removePropertyChangeListener()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。JTabbedPane.removePropertyChangeListener()
方法的具体详情如下:
包路径:javax.swing.JTabbedPane
类名称:JTabbedPane
方法名:removePropertyChangeListener
暂无
代码示例来源:origin: com.google.code.validationframework/validationframework-swing
/**
* @see Disposable#dispose()
*/
@Override
public void dispose() {
if (tabbedPane != null) {
tabbedPane.removePropertyChangeListener(tabPropertyAdapter);
tabbedPane.setTabComponentAt(tabIndex, null);
tabbedPane = null;
}
}
}
代码示例来源: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: net.java.dev.laf-widget/laf-widget
@Override
public void uninstallListeners() {
this.jcomp.removeMouseWheelListener(this.mouseWheelListener);
this.mouseWheelListener = null;
this.jcomp.removeMouseListener(this.mouseListener);
this.mouseListener = null;
this.jcomp.removePropertyChangeListener(this.propertyChangeListener);
this.propertyChangeListener = null;
}
代码示例来源:origin: khuxtable/seaglass
/**
* @see javax.swing.plaf.basic.BasicTabbedPaneUI#uninstallListeners()
*/
protected void uninstallListeners() {
if (mouseListener != null) {
tabPane.removeMouseMotionListener((MouseAdapter) mouseListener);
}
tabPane.removePropertyChangeListener(this);
super.uninstallListeners();
}
代码示例来源:origin: com.github.arnabk/pgslookandfeel
protected void uninstallListeners() {
super.uninstallListeners();
tabPane.removeMouseListener(tabHandler);
tabPane.removeMouseMotionListener(tabHandler);
tabPane.removePropertyChangeListener(propHandler);
if (tabScrollHandler != null) {
tabPane.removeMouseWheelListener(tabScrollHandler);
}
if (tabSelectionHandler != null) {
tabPane.removeMouseListener(tabSelectionHandler);
}
disableReordering();
}
代码示例来源:origin: net.sf.squirrel-sql.thirdparty-non-maven/toniclf
tabPane.removePropertyChangeListener(propertyChangeListener);
propertyChangeListener= null;
代码示例来源:origin: com.jtattoo/JTattoo
tabPane.removePropertyChangeListener(propertyChangeListener);
propertyChangeListener = null;
代码示例来源:origin: org.netbeans.modules/org-netbeans-modules-cnd-callgraph
private void removePanel(JPanel panel) {
Component comp = getComponentCount() > 0 ? getComponent(0) : null;
if (comp instanceof JTabbedPane) {
JTabbedPane tabs = (JTabbedPane) comp;
if (panel == null) {
panel = (JPanel) tabs.getSelectedComponent();
}
tabs.remove(panel);
if (tabs.getComponentCount() == 1) {
Component c = tabs.getComponent(0);
tabs.removeMouseListener(listener);
tabs.removePropertyChangeListener(closeL);
remove(tabs);
add(c, BorderLayout.CENTER);
setName(((JPanel)c).getToolTipText());
}
} else if (comp instanceof CallGraphPanel) {
remove(comp);
add(jButton1, BorderLayout.CENTER);
setName(getMessage( "CTL_CallGraphTopComponent")); // NOI18N
close();
} else {
close();
}
validate();
}
内容来源于网络,如有侵权,请联系作者删除!