本文整理了Java中javax.swing.text.JTextComponent.removeMouseMotionListener()
方法的一些代码示例,展示了JTextComponent.removeMouseMotionListener()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。JTextComponent.removeMouseMotionListener()
方法的具体详情如下:
包路径:javax.swing.text.JTextComponent
类名称:JTextComponent
方法名:removeMouseMotionListener
暂无
代码示例来源:origin: khuxtable/seaglass
/**
* DOCUMENT ME!
*/
private void uninstallMouseListeners() {
if (mouseListener != null) {
getComponent().removeMouseListener(mouseListener);
getComponent().removeMouseMotionListener(mouseListener);
mouseListener = null;
}
}
代码示例来源:origin: robo-code/robocode
/**
* Uninstalls CurrentLineHighligher for the given JTextComponent.
* @param c is the text component
*/
public static void uninstall(JTextComponent c) {
c.putClientProperty(LINE_HIGHLIGHT, null);
c.putClientProperty(PREVIOUS_CARET, null);
c.removeCaretListener(caretListener);
c.removeMouseListener(mouseListener);
c.removeMouseMotionListener(mouseMotionListener);
EditorThemePropertiesManager.removeListener(editorThemePropertyChangeListener);
}
代码示例来源:origin: net.java.abeille/abeille
/** Called when UI is being removed from JTextComponent */
public void deinstall(JTextComponent c) {
component = null; // invalidate
if (flasher != null) {
setBlinkRate(0);
}
Utilities.getEditorUI(c).removeLayer(DrawLayerFactory.CARET_LAYER_NAME);
c.removeMouseMotionListener(this);
c.removeMouseListener(this);
if (focusListener != null) {
c.removeFocusListener(focusListener);
focusListener = null;
}
c.removePropertyChangeListener(this);
modelChanged(listenDoc, null);
}
代码示例来源:origin: net.sf.squirrel-sql.thirdparty-non-maven/org-netbeans-modules-editor-lib
component.removeMouseMotionListener(this);
代码示例来源:origin: net.sf.squirrel-sql.thirdparty-non-maven/org-netbeans-modules-editor-lib
/** Called when UI is being removed from JTextComponent */
public void deinstall(JTextComponent c) {
component = null; // invalidate
if (flasher != null) {
setBlinkRate(0);
}
Utilities.getEditorUI(c).removeLayer(DrawLayerFactory.CARET_LAYER_NAME);
c.removeMouseMotionListener(this);
c.removeMouseListener(this);
if (focusListener != null) {
c.removeFocusListener(focusListener);
focusListener = null;
}
c.removePropertyChangeListener(this);
FoldHierarchy hierarchy = FoldHierarchy.get(c);
if (hierarchy != null) {
hierarchy.removeFoldHierarchyListener(this);
}
modelChanged(listenDoc, null);
}
内容来源于网络,如有侵权,请联系作者删除!