Apache JMeter

org.apache.jmeter.visualizers
Class SearchTextExtension

java.lang.Object
  extended by org.apache.jmeter.visualizers.SearchTextExtension
All Implemented Interfaces:
ActionListener, EventListener, DocumentListener

public class SearchTextExtension
extends Object
implements ActionListener, DocumentListener


Field Summary
static String DIALOG_SEARCH_HIDE_COMMAND
           
static String DIALOG_SEARCH_SHOW_COMMAND
           
static String SEARCH_TEXT_COMMAND
           
 
Constructor Summary
SearchTextExtension()
           
 
Method Summary
 void actionPerformed(ActionEvent e)
          Display the response as text or as rendered HTML.
 void changedUpdate(DocumentEvent e)
           
 JPanel createSearchTextExtensionPane()
           
 JPanel createSearchTextPanel()
          Create the text find task pane
 JPanel createShowSearchPanel()
           
 void executeAndShowTextFind()
          Launch find text engine on response text
 void hideSearchBox()
           
 void init(JPanel resultsPane)
           
 void insertUpdate(DocumentEvent e)
           
 boolean isEnabled()
           
 void removeUpdate(DocumentEvent e)
           
 void resetTextToFind()
           
 void setEnabled(boolean b)
           
 void setResults(JEditorPane results)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SEARCH_TEXT_COMMAND

public static final String SEARCH_TEXT_COMMAND
See Also:
Constant Field Values

DIALOG_SEARCH_SHOW_COMMAND

public static final String DIALOG_SEARCH_SHOW_COMMAND
See Also:
Constant Field Values

DIALOG_SEARCH_HIDE_COMMAND

public static final String DIALOG_SEARCH_HIDE_COMMAND
See Also:
Constant Field Values
Constructor Detail

SearchTextExtension

public SearchTextExtension()
Method Detail

init

public void init(JPanel resultsPane)

setResults

public void setResults(JEditorPane results)

executeAndShowTextFind

public void executeAndShowTextFind()
Launch find text engine on response text


createSearchTextPanel

public JPanel createSearchTextPanel()
Create the text find task pane

Returns:
Text find task pane

createSearchTextExtensionPane

public JPanel createSearchTextExtensionPane()

createShowSearchPanel

public JPanel createShowSearchPanel()

actionPerformed

public void actionPerformed(ActionEvent e)
Display the response as text or as rendered HTML. Change the text on the button appropriate to the current display.

Specified by:
actionPerformed in interface ActionListener
Parameters:
e - the ActionEvent being processed

changedUpdate

public void changedUpdate(DocumentEvent e)
Specified by:
changedUpdate in interface DocumentListener

insertUpdate

public void insertUpdate(DocumentEvent e)
Specified by:
insertUpdate in interface DocumentListener

removeUpdate

public void removeUpdate(DocumentEvent e)
Specified by:
removeUpdate in interface DocumentListener

hideSearchBox

public void hideSearchBox()

resetTextToFind

public void resetTextToFind()

isEnabled

public boolean isEnabled()

setEnabled

public void setEnabled(boolean b)

Apache JMeter

Copyright © 1998-2009 Apache Software Foundation. All Rights Reserved.