本文整理了Java中javax.swing.JComponent.removeFocusListener()
方法的一些代码示例,展示了JComponent.removeFocusListener()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。JComponent.removeFocusListener()
方法的具体详情如下:
包路径:javax.swing.JComponent
类名称:JComponent
方法名:removeFocusListener
暂无
代码示例来源:origin: org.swinglabs.swingx/swingx-all
/**
* Delegates, then uninstalls the focus listener.
*/
@Override
public void uninstallUI(JComponent c) {
delegate.uninstallUI(c);
c.removeFocusListener(focusHandler);
promptComponent = null;
}
代码示例来源:origin: net.sf.squirrel-sql.thirdpary-non-maven/openide
/** Overridden to proxy removes to the custom editor button and the
* installed component */
public void removeFocusListener (FocusListener l) {
if (comp != null) {
button.removeFocusListener (l);
comp.removeFocusListener (l);
}
}
代码示例来源:origin: org.swinglabs.swingx/swingx-core
/**
* Delegates, then uninstalls the focus listener.
*/
@Override
public void uninstallUI(JComponent c) {
delegate.uninstallUI(c);
c.removeFocusListener(focusHandler);
promptComponent = null;
}
代码示例来源:origin: edu.stanford.protege/ca.uvic.cs.chisel.cajun
public void actionPerformed(ActionEvent e) {
hideTipWindow();
JComponent jc = (JComponent) e.getSource();
jc.removeFocusListener(focusChangeListener);
preferredLocation = null;
insideComponent = null;
}
public boolean isEnabled() {
代码示例来源:origin: net.sf.squirrel-sql.thirdparty-non-maven/openide
public void removeFocusListener(FocusListener fl) {
if (comp != null) {
comp.removeFocusListener(fl);
} else {
super.removeFocusListener(fl);
}
}
代码示例来源:origin: org.netbeans.api/org-openide-explorer
/** Overridden to proxy removes to the custom editor button and the
* installed component */
public void removeFocusListener(FocusListener l) {
if (comp != null) {
button.removeFocusListener(l);
comp.removeFocusListener(l);
}
}
代码示例来源:origin: org.netbeans.api/org-openide-explorer
public void removeFocusListener(FocusListener fl) {
if (comp != null) {
comp.removeFocusListener(fl);
} else {
super.removeFocusListener(fl);
}
}
代码示例来源:origin: org.bidib.jbidib.swinglabs.swingx/swingx-core
/**
* Delegates, then uninstalls the focus listener.
*/
@Override
public void uninstallUI(JComponent c) {
delegate.uninstallUI(c);
c.removeFocusListener(focusHandler);
promptComponent = null;
}
代码示例来源:origin: com.haulmont.thirdparty/swingx-core
/**
* Delegates, then uninstalls the focus listener.
*/
@Override
public void uninstallUI(JComponent c) {
delegate.uninstallUI(c);
c.removeFocusListener(focusHandler);
promptComponent = null;
}
代码示例来源:origin: no.tornado.databinding/databinding
public Binding unbind() {
if (!bound)
return this;
for (UI_LISTENER_TYPE listener : changeListeners)
bridge.removeValueChangelistener(ui, listener);
for (FocusListener focus : focusListeners)
ui.removeFocusListener(focus);
focusListeners.clear();
changeListeners.clear();
removePropertyChangeSupport();
bound = false;
return this;
}
代码示例来源:origin: org.java.net.substance/substance
public void unregisterListeners() {
this.component.removeMouseListener(this);
this.component.removeMouseMotionListener(this);
this.component.removeFocusListener(this);
}
代码示例来源:origin: net.sf.squirrel-sql.thirdparty-non-maven/org-netbeans-modules-editor-lib
public void focusGained(FocusEvent e) {
if (blocker != null)
blocker.stopBlocking();
((JComponent)e.getSource()).removeFocusListener(this);
}
代码示例来源:origin: com.github.insubstantial/substance
public void unregisterListeners() {
this.component.removeMouseListener(this);
this.component.removeMouseMotionListener(this);
this.component.removeFocusListener(this);
}
代码示例来源:origin: net.sf.squirrel-sql.thirdparty-non-maven/org-netbeans-modules-editor-lib
public void focusGained(FocusEvent e) {
if (e.getSource() instanceof JTextField) {
((JTextField)e.getSource()).selectAll();
if (blocker != null)
blocker.stopBlocking();
}
((JComponent)e.getSource()).removeFocusListener(this);
}
代码示例来源:origin: org.netbeans.api/org-openide-explorer
private void detachFromInplaceEditor(InplaceEditor ed) {
ed.removeActionListener(getInplaceEditorListener());
ed.getComponent().removeFocusListener(getInplaceEditorListener());
}
代码示例来源:origin: org.nuiton/nuiton-widgets
public void uninstall() {
//attachedComponent.removeCaretListener(this);
attachedComponent.removeComponentListener(this);
attachedComponent.removeFocusListener(this);
attachedComponent.removeKeyListener(this);
attachedComponent.removeMouseListener(this);
attachedComponent.removeMouseMotionListener(this);
}
代码示例来源:origin: io.ultreia.java4all.jaxx/jaxx-widgets-extra
public void uninstall() {
//attachedComponent.removeCaretListener(this);
attachedComponent.removeComponentListener(this);
attachedComponent.removeFocusListener(this);
attachedComponent.removeKeyListener(this);
attachedComponent.removeMouseListener(this);
attachedComponent.removeMouseMotionListener(this);
}
代码示例来源:origin: org.netbeans.modules/org-netbeans-lib-profiler-ui
void unregisterForComponent(JComponent component) {
if (component == null) {
return;
}
component.removeComponentListener(this);
component.removeKeyListener(this);
component.removeFocusListener(this);
component.removePropertyChangeListener(this);
component.removeHierarchyListener(this);
component.removeHierarchyBoundsListener(this);
}
代码示例来源:origin: org.netbeans.modules/org-netbeans-modules-dlight-visualizers
void unregisterForComponent(JComponent component) {
if (component == null) {
return;
}
component.removeComponentListener(this);
component.removeKeyListener(this);
component.removeFocusListener(this);
component.removePropertyChangeListener(this);
component.removeHierarchyListener(this);
component.removeHierarchyBoundsListener(this);
}
代码示例来源:origin: lbalazscs/Pixelitor
@Override
public void uninstallUI(JComponent slider) {
slider.removeMouseListener(this);
slider.removeMouseMotionListener(this);
slider.removeFocusListener(focusListener);
slider.removeKeyListener(keyListener);
slider.removeComponentListener(compListener);
slider.removePropertyChangeListener(propertyListener);
super.uninstallUI(slider);
}
}
内容来源于网络,如有侵权,请联系作者删除!