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

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

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

JButton.removeMouseMotionListener介绍

暂无

代码示例

代码示例来源:origin: xyz.cofe/gui.swing

protected JButton destroyButton(Action action) {
  if (!actions2buttonMap.containsKey(action))
    return null;
  JButton closeButton = actions2buttonMap.get(action);
  if (closeButton != null) {
    closeButton.removeMouseListener(closeButtonML);
    closeButton.removeMouseMotionListener(closeButtonML);
  }
  closeButton.setAction(null);
  actions2buttonMap.remove(action);
  if( closeButton!=null )button2actionMap.remove(closeButton);
  return closeButton;
}
// </editor-fold>

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

/**
 * This public method is implementation specific and should be private. Do
 * not call or override.
 */
public void unconfigureArrowButton()
{
  if (arrowButton != null)
  {
    arrowButton.removeMouseListener(popup.getMouseListener());
    arrowButton.removeMouseMotionListener(popup.getMouseMotionListener());
  }
}

代码示例来源:origin: org.bidib.jbidib.swinglabs.swingx/swingx-core

popupButton.removePropertyChangeListener(propertyChangeListener);
popupButton.removeMouseListener(mouseListener);
popupButton.removeMouseMotionListener(mouseMotionListener);

代码示例来源:origin: org.codehaus.jtstand/jtstand-desktop

popupButton.removePropertyChangeListener(propertyChangeListener);
popupButton.removeMouseListener(mouseListener);
popupButton.removeMouseMotionListener(mouseMotionListener);

代码示例来源:origin: com.haulmont.thirdparty/swingx-core

popupButton.removePropertyChangeListener(propertyChangeListener);
popupButton.removeMouseListener(mouseListener);
popupButton.removeMouseMotionListener(mouseMotionListener);

代码示例来源:origin: org.swinglabs.swingx/swingx-core

popupButton.removePropertyChangeListener(propertyChangeListener);
popupButton.removeMouseListener(mouseListener);
popupButton.removeMouseMotionListener(mouseMotionListener);

代码示例来源:origin: org.swinglabs.swingx/swingx-all

popupButton.removePropertyChangeListener(propertyChangeListener);
popupButton.removeMouseListener(mouseListener);
popupButton.removeMouseMotionListener(mouseMotionListener);

相关文章

JButton类方法