javax.swing.JTextField.removeActionListener()方法的使用及代码示例

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

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

JTextField.removeActionListener介绍

暂无

代码示例

代码示例来源:origin: geotools/geotools

public void removeListener(Controller controller) {
  // field.removeKeyListener(controller);
  field.removeActionListener(controller);
  field.getDocument().removeDocumentListener(controller);
}

代码示例来源:origin: geotools/geotools

public void removeListener(Controller controller) {
  // field.removeKeyListener(controller);
  field.removeActionListener(controller);
  field.getDocument().removeDocumentListener(controller);
}

代码示例来源:origin: com.haulmont.thirdparty/glazedlists

/**
 * A cleanup method which stops this MatcherEditor from listening to
 * the underlying {@link JTextField}, thus freeing the
 * SearchEngineTextMatcherEditor to be garbage collected.
 */
public void dispose() {
  textField.removeActionListener(this.filterHandler);
}

代码示例来源:origin: IanDarwin/darwinsys-api

/** Remove an ActionListener from the textfield. */
  public void removeActionListener(ActionListener l) {
    theTextField.removeActionListener(l);
  }
}

代码示例来源:origin: net.java.dev.glazedlists/glazedlists_java15

/**
 * A cleanup method which stops this MatcherEditor from listening to
 * the underlying {@link JTextField}, thus freeing the
 * SearchEngineTextMatcherEditor to be garbage collected.
 */
public void dispose() {
  textField.removeActionListener(this.filterHandler);
}

代码示例来源:origin: net.anwiba.commons/anwiba-commons-swing-core

@Override
public void removeActionListener(final ActionListener listener) {
 field.removeActionListener(listener);
}

代码示例来源:origin: net.java.dev.glazedlists/glazedlists_java16

/**
 * A cleanup method which stops this MatcherEditor from listening to
 * the underlying {@link JTextField}, thus freeing the
 * SearchEngineTextMatcherEditor to be garbage collected.
 */
public void dispose() {
  textField.removeActionListener(this.filterHandler);
}

代码示例来源:origin: com.darwinsys/darwinsys-api

/** Remove an ActionListener from the textfield. */
  public void removeActionListener(ActionListener l) {
    theTextField.removeActionListener(l);
  }
}

代码示例来源:origin: org.opentcs.thirdparty.jhotdraw/jhotdraw

/**
 * Remove an action listener
 */
public void removeActionListener(ActionListener listener) {
  textField.removeActionListener(listener);
}

代码示例来源:origin: org.netbeans.modules/org-netbeans-modules-php-project

@Override
public void removeActionListener(ActionListener l) {
  component.removeActionListener(l);
}

代码示例来源:origin: org.appdapter/org.appdapter.lib.gui

@Override public void removeActionListener(ActionListener l) {
    editor.removeActionListener(l);
  }
}

代码示例来源:origin: xyz.cofe/gui.swing

@Override
public void close() throws IOException {
  button.removeActionListener(al);
}};

代码示例来源:origin: org.netbeans.modules/org-netbeans-lib-profiler-ui

@Override
public void removeActionListener(ActionListener l) {
  super.removeActionListener(l);
}

代码示例来源:origin: stackoverflow.com

public class BasicComboBoxEditor implements ComboBoxEditor,FocusListener {
  protected JTextField editor;

  ...

  public void addActionListener(ActionListener l) {
    editor.addActionListener(l);
  }

  public void removeActionListener(ActionListener l) {
    editor.removeActionListener(l);
  }
}

代码示例来源:origin: org.geotools/gt-swing

public void removeListener(Controller controller) {
  //field.removeKeyListener(controller);
  field.removeActionListener(controller);
  field.getDocument().removeDocumentListener(controller);
}

代码示例来源:origin: org.geotools/gt-swing

public void removeListener(Controller controller) {
  //field.removeKeyListener(controller);
  field.removeActionListener(controller);
  field.getDocument().removeDocumentListener(controller);
}

代码示例来源:origin: sdedit/sdedit

public void DESTROY () {
  searcher.deregister(this);
  tree = null;
  searcher = null;
  textField.removeActionListener(this);
  button.removeActionListener(this);
  textField = null;
  button = null;
  
}

代码示例来源:origin: com.fifesoft/languagesupport

public void uninstall() {
  field.removeActionListener(this);
  field.getDocument().removeDocumentListener(this);
  tree.removeMouseListener(this);
  removeWindowFocusListener(this);
}

代码示例来源:origin: net.sf.squirrel-sql.thirdparty-non-maven/toniclf

/**	Uninstalls the UI delegeate from the specified component */
public void uninstallUI(JComponent c)
{
  // Remove listeners
  c.removePropertyChangeListener(filterComboBoxModel);
  cancelButton.removeActionListener(getCancelSelectionAction());
  approveButton.removeActionListener(getApproveSelectionAction());
  fileNameTextField.removeActionListener(getApproveSelectionAction());
  super.uninstallUI(c);
}

代码示例来源:origin: org.gephi/directory-chooser

@Override
public void uninstallUI(JComponent c) {
  c.removePropertyChangeListener(filterTypeComboBoxModel);
  cancelButton.removeActionListener(getCancelSelectionAction());
  approveButton.removeActionListener(getApproveSelectionAction());
  filenameTextField.removeActionListener(getApproveSelectionAction());
  super.uninstallUI(c);
}

相关文章

JTextField类方法