本文整理了Java中javax.swing.text.JTextComponent.removeComponentListener()
方法的一些代码示例,展示了JTextComponent.removeComponentListener()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。JTextComponent.removeComponentListener()
方法的具体详情如下:
包路径:javax.swing.text.JTextComponent
类名称:JTextComponent
方法名:removeComponentListener
暂无
代码示例来源:origin: protegeproject/protege
public void uninstall() {
hidePopup();
textComponent.removeKeyListener(keyListener);
textComponent.removeComponentListener(componentListener);
textComponent.removeFocusListener(focusListener);
textComponent.removeHierarchyListener(hierarchyListener);
}
}
代码示例来源:origin: edu.stanford.protege/protege-editor-owl
public void uninstall() {
hidePopup();
textComponent.removeKeyListener(keyListener);
textComponent.removeComponentListener(componentListener);
textComponent.removeFocusListener(focusListener);
textComponent.removeHierarchyListener(hierarchyListener);
}
}
代码示例来源:origin: org.protege/protege-editor-owl
public void uninstall() {
hidePopup();
textComponent.removeKeyListener(keyListener);
textComponent.removeComponentListener(componentListener);
textComponent.removeFocusListener(focusListener);
textComponent.removeHierarchyListener(hierarchyListener);
}
}
代码示例来源:origin: edu.stanford.protege/org.protege.editor.owl
public void uninstall() {
hidePopup();
textComponent.removeKeyListener(keyListener);
textComponent.removeComponentListener(componentListener);
textComponent.removeFocusListener(focusListener);
textComponent.removeHierarchyListener(hierarchyListener);
}
}
代码示例来源:origin: net.java.abeille/abeille
public void propertyChange(PropertyChangeEvent evt) {
String propName = evt.getPropertyName();
if (extEditorUI.COMPONENT_PROPERTY.equals(propName)) {
JTextComponent component = (JTextComponent) evt.getNewValue();
if (component != null) { // just installed
component.addPropertyChangeListener(this);
component.addComponentListener(componentL);
checkAddToPane();
disableSwingToolTip(component);
component.addFocusListener(this);
if (component.hasFocus()) {
focusGained(new FocusEvent(component, FocusEvent.FOCUS_GAINED));
}
}
else { // just deinstalled
component = (JTextComponent) evt.getOldValue();
component.removeFocusListener(this);
component.removePropertyChangeListener(this);
component.removeComponentListener(componentL);
checkRemoveFromPane(component);
}
}
if (JComponent.TOOL_TIP_TEXT_KEY.equals(propName)) {
JComponent component = (JComponent) evt.getSource();
disableSwingToolTip(component);
componentToolTipTextChanged(evt);
}
}
代码示例来源:origin: org.netbeans.modules/org-netbeans-modules-mercurial
textComponent.removeComponentListener(this);
doc.removeDocumentListener(this);
caret.removeChangeListener(this);
内容来源于网络,如有侵权,请联系作者删除!