javax.swing.JTabbedPane.removeMouseMotionListener()方法的使用及代码示例

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

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

JTabbedPane.removeMouseMotionListener介绍

暂无

代码示例

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

@Override
public void uninstallListeners() {
  if (this.baseRolloverHandler != null) {
    this.jcomp.removeMouseMotionListener(this.baseRolloverHandler);
    this.jcomp.removeMouseListener(this.baseRolloverHandler);
    this.baseRolloverHandler = null;
  }
}

代码示例来源:origin: com.github.arnabk/pgslookandfeel

public void disableReordering() {
  tabPane.removeMouseListener(tabReorderingHandler);
  tabPane.removeMouseMotionListener(tabReorderingHandler);
}

代码示例来源:origin: net.sf.nimrod/nimrod-laf

protected void uninstallListeners() {
 super.uninstallListeners();
 
 tabPane.removeMouseMotionListener( miml);
 tabPane.removeMouseListener( miml);
}

代码示例来源: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: 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: 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: 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: com.jtattoo/JTattoo

} else {
  tabPane.removeMouseMotionListener(mouseMotionListener);

相关文章

JTabbedPane类方法