org.apache.jmeter.gui.util

Class FilePanel

Implemented Interfaces:
ActionListener

public class FilePanel
extends HorizontalPanel
implements ActionListener

author Michael Stover Created April 18, 2002

Constructor Summary

FilePanel()
Constructor for the FilePanel object.
FilePanel(ChangeListener l, String title)
Constructor for the FilePanel object.
FilePanel(String title)
FilePanel(String title, String filetype)

Method Summary

void
actionPerformed(ActionEvent e)
void
addChangeListener(ChangeListener l)
void
clearGui()
void
enableFile(boolean enable)
If the gui needs to enable/disable the FilePanel, call the method.
String
getFilename()
Gets the filename attribute of the FilePanel object.
void
setFilename(String f)
Sets the filename attribute of the FilePanel object.

Methods inherited from class org.apache.jmeter.gui.util.HorizontalPanel

add

Constructor Details

FilePanel

public FilePanel()
Constructor for the FilePanel object.

FilePanel

public FilePanel(ChangeListener l,
                 String title)
Constructor for the FilePanel object.

FilePanel

public FilePanel(String title)

FilePanel

public FilePanel(String title,
                 String filetype)

Method Details

actionPerformed

public void actionPerformed(ActionEvent e)

addChangeListener

public void addChangeListener(ChangeListener l)

clearGui

public void clearGui()

enableFile

public void enableFile(boolean enable)
If the gui needs to enable/disable the FilePanel, call the method.
Parameters:
enable -

getFilename

public String getFilename()
Gets the filename attribute of the FilePanel object.
Returns:
the filename value

setFilename

public void setFilename(String f)
Sets the filename attribute of the FilePanel object.
Parameters:
f - the new filename value

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