org.apache.jmeter.protocol.http.gui

Class HTTPFileArgsPanel

Implemented Interfaces:
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.

Constructor Summary

HTTPFileArgsPanel()
HTTPFileArgsPanel(String label)
Create a new HTTPFileArgsPanel as an embedded component, using the specified title.

Method Summary

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()

Constructor Details

HTTPFileArgsPanel

public HTTPFileArgsPanel()

HTTPFileArgsPanel

public HTTPFileArgsPanel(String label)
Create a new HTTPFileArgsPanel as an embedded component, using the specified title.
Parameters:
label - the title for the component.

Method Details

actionPerformed

public void actionPerformed(ActionEvent e)
Invoked when an action occurs. This implementation supports the add and delete buttons.
Parameters:
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.
Parameters:
testElement - the HTTPSamplerBase to be used to configure the GUI

modifyTestElement

public void modifyTestElement(TestElement testElement)
Save the GUI data in the HTTPSamplerBase element.
Parameters:
testElement -

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.