javax.swing.JEditorPane.removePropertyChangeListener()方法的使用及代码示例

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

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

JEditorPane.removePropertyChangeListener介绍

暂无

代码示例

代码示例来源:origin: com.eas.platypus/platypus-js-forms

@Override
public void removeValueChangeListener(PropertyChangeListener listener) {
  super.removePropertyChangeListener(VALUE_PROP_NAME, listener);
}

代码示例来源:origin: de.sciss/syntaxpane

@Override
  public void deinstall(JEditorPane editor) {
    super.deinstall(editor);

    if (this.editor != editor) throw new IllegalStateException();

    editor.removePropertyChangeListener("document", docListener);
    removeDocument();
    this.editor = null;
  }
}

代码示例来源:origin: org.java.net.substance/substance

@Override
protected void uninstallListeners() {
  this.stateTransitionTracker.unregisterModelListeners();
  this.stateTransitionTracker.unregisterFocusListeners();
  this.editorPane
      .removePropertyChangeListener(this.substancePropertyChangeListener);
  this.substancePropertyChangeListener = null;
  super.uninstallListeners();
}

代码示例来源:origin: com.github.insubstantial/substance

@Override
protected void uninstallListeners() {
  this.stateTransitionTracker.unregisterModelListeners();
  this.stateTransitionTracker.unregisterFocusListeners();
  this.editorPane
      .removePropertyChangeListener(this.substancePropertyChangeListener);
  this.substancePropertyChangeListener = null;
  super.uninstallListeners();
}

代码示例来源:origin: de.sciss/syntaxpane

@Override
public void deinstall(JEditorPane editor) {
  removeMouseListener(mouseListener);
  status = Status.DEINSTALLING;
  editor.getDocument().removeDocumentListener(this);
  editor.removeCaretListener(this);
  editor.removePropertyChangeListener(this);
  JScrollPane sp = getScrollPane(editor);
  if (sp != null) {
    sp.setRowHeaderView(null);
  }
}

代码示例来源:origin: javax.help/javahelp

public void uninstallUI(JComponent c) {
  debug("uninstallUI");
  JHelpContentViewer viewer = (JHelpContentViewer) c;
  viewer.removePropertyChangeListener(this);
  html.removePropertyChangeListener(this);
  TextHelpModel model = viewer.getModel();
  if (model != null) {
    model.removeHelpModelListener(this);
    model.removeTextHelpModelListener(this);
  }
  viewer.setLayout(null);
  viewer.removeAll();
}

代码示例来源:origin: de.sciss/jsyntaxpane

@Override
public void deinstall(JEditorPane editor) {
  removeMouseListener(mouseListener);
  status = Status.DEINSTALLING;
  this.editor.getDocument().removeDocumentListener(this);
  editor.removeCaretListener(this);
  editor.removePropertyChangeListener(this);
  JScrollPane sp = getScrollPane(editor);
  if (sp != null) {
    editor.getDocument().removeDocumentListener(this);
    sp.setRowHeaderView(null);
  }
}

相关文章

JEditorPane类方法