ActionListener
, EventListener
, DocumentListener
public class SearchTextExtension extends Object implements ActionListener, DocumentListener
Constructor | Description |
---|---|
SearchTextExtension() |
Modifier and Type | Method | Description |
---|---|---|
void |
actionPerformed(ActionEvent e) |
Display the response as text or as rendered HTML.
|
void |
changedUpdate(DocumentEvent e) |
|
void |
init(JPanel resultsPane) |
|
void |
insertUpdate(DocumentEvent e) |
|
void |
removeUpdate(DocumentEvent e) |
|
void |
setResults(JEditorPane results) |
public void init(JPanel resultsPane)
public void setResults(JEditorPane results)
public void actionPerformed(ActionEvent e)
actionPerformed
in interface ActionListener
e
- the ActionEvent being processedpublic void changedUpdate(DocumentEvent e)
changedUpdate
in interface DocumentListener
public void insertUpdate(DocumentEvent e)
insertUpdate
in interface DocumentListener
public void removeUpdate(DocumentEvent e)
removeUpdate
in interface DocumentListener
Copyright © 1998-2018 Apache Software Foundation. All Rights Reserved.