org.apache.jmeter.protocol.http.gui
Class HTTPFileArgsPanel
JPanel
org.apache.jmeter.protocol.http.gui.HTTPFileArgsPanel
- ActionListener
public class HTTPFileArgsPanel
extends JPanel
implements ActionListener
A GUI panel allowing the user to enter file information for http upload.
Used by MultipartUrlConfigGui for use in HTTP Samplers.
void | actionPerformed(ActionEvent e) - Invoked when an action occurs.
|
void | clear() - Clear all rows from the table.
|
void | configure(TestElement testElement) - A newly created component can be initialized with the contents of a
HTTPSamplerBase object by calling this method.
|
void | modifyTestElement(TestElement testElement) - Save the GUI data in the HTTPSamplerBase element.
|
protected void | stopTableEditing() - Stop any editing that is currently being done on the table.
|
static boolean | testFunctors()
|
HTTPFileArgsPanel
public HTTPFileArgsPanel()
HTTPFileArgsPanel
public HTTPFileArgsPanel(String label)
Create a new HTTPFileArgsPanel as an embedded component, using the
specified title.
label
- the title for the component.
actionPerformed
public void actionPerformed(ActionEvent e)
Invoked when an action occurs. This implementation supports the add and
delete buttons.
e
- the event that has occurred
clear
public void clear()
Clear all rows from the table.
configure
public void configure(TestElement testElement)
A newly created component can be initialized with the contents of a
HTTPSamplerBase object by calling this method. The component is responsible for
querying the Test Element object for the relevant information to display
in its GUI.
testElement
- the HTTPSamplerBase to be used to configure the GUI
modifyTestElement
public void modifyTestElement(TestElement testElement)
Save the GUI data in the HTTPSamplerBase element.
stopTableEditing
protected void stopTableEditing()
Stop any editing that is currently being done on the table. This will
save any changes that have already been made.
testFunctors
public static boolean testFunctors()
Copyright © 1998-2010 Apache Software Foundation. All Rights Reserved.