本文整理了Java中javax.swing.text.JTextComponent.removeMouseListener()
方法的一些代码示例,展示了JTextComponent.removeMouseListener()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。JTextComponent.removeMouseListener()
方法的具体详情如下:
包路径:javax.swing.text.JTextComponent
类名称:JTextComponent
方法名:removeMouseListener
暂无
代码示例来源:origin: net.java.dev.laf-widget/laf-widget
@Override
public void uninstallListeners() {
jcomp.removeMouseListener(this.menuMouseListener);
this.menuMouseListener = null;
}
代码示例来源:origin: notzippy/JALOPY2-MAIN
public void remove()
{
this.component.removeMouseListener(this.mouseHandler);
this.component.removeKeyListener(this.keyHandler);
}
}
代码示例来源:origin: de.sciss/scisslib
private void removeTextComponent( JTextComponent c )
{
c.removeMouseListener( this );
c.removeFocusListener( this );
if( DEBUG ) System.err.println( "removeFocus/MouseListener " + c.getClass().getName() + "(" + c.hashCode() + ")" );
}
代码示例来源:origin: khuxtable/seaglass
/**
* DOCUMENT ME!
*/
private void uninstallMouseListeners() {
if (mouseListener != null) {
getComponent().removeMouseListener(mouseListener);
getComponent().removeMouseMotionListener(mouseListener);
mouseListener = null;
}
}
代码示例来源:origin: com.github.arnabk/pgslookandfeel
protected void uninstallListeners() {
super.uninstallListeners();
getComponent().removeMouseListener(TextComponentPopupHandler.getInstance());
}
代码示例来源:origin: net.sf.nimrod/nimrod-laf
protected void uninstallListeners() {
super.uninstallListeners();
getComponent().removeMouseListener( miTextML);
getComponent().removeFocusListener( miTextML);
}
代码示例来源:origin: net.sf.nimrod/nimrod-laf
protected void uninstallListeners() {
super.uninstallListeners();
getComponent().removeMouseListener( miTextML);
getComponent().removeFocusListener( miTextML);
}
代码示例来源: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: com.github.arnabk/pgslookandfeel
protected void uninstallListeners() {
super.uninstallListeners();
getComponent().removeMouseListener(TextComponentPopupHandler.getInstance());
getComponent().removeFocusListener(TextComponentFocusListener.getInstance());
}
代码示例来源:origin: com.github.arnabk/pgslookandfeel
protected void uninstallListeners() {
super.uninstallListeners();
getComponent().removeMouseListener(TextComponentPopupHandler.getInstance());
getComponent().removeFocusListener(TextComponentFocusListener.getInstance());
}
代码示例来源:origin: com.github.arnabk/pgslookandfeel
protected void uninstallListeners() {
super.uninstallListeners();
getComponent().removeMouseListener(TextComponentPopupHandler.getInstance());
getComponent().removeFocusListener(TextComponentFocusListener.getInstance());
}
代码示例来源:origin: com.github.arnabk/pgslookandfeel
protected void uninstallListeners() {
super.uninstallListeners();
getComponent().removeMouseListener(TextComponentPopupHandler.getInstance());
getComponent().removeFocusListener(TextComponentFocusListener.getInstance());
}
代码示例来源:origin: com.github.arnabk/pgslookandfeel
protected void uninstallListeners() {
super.uninstallListeners();
getComponent().removeMouseListener(TextComponentPopupHandler.getInstance());
getComponent().removeFocusListener(TextComponentFocusListener.getInstance());
}
代码示例来源: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.removePropertyChangeListener(this);
component.removeMouseListener(this);
component.removeMouseMotionListener(this);
代码示例来源:origin: org.netbeans.modules/org-netbeans-modules-visualweb-designer
oldTextEditor.removeMouseListener(handler);
oldTextEditor.removeFocusListener(handler);
oldTextEditor.getDocument().removeDocumentListener(handler);
代码示例来源: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);
}
内容来源于网络,如有侵权,请联系作者删除!