org.apache.jmeter.gui.util

Class FileListPanel

Implemented Interfaces:
ActionListener

public class FileListPanel
extends JPanel
implements ActionListener

Constructor Summary

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

Method Summary

void
actionPerformed(ActionEvent e)
void
addChangeListener(ChangeListener l)
void
addFilename(String f)
Add a single file to the table
void
clearFiles()
clear the files from the table
protected void
deleteFile()
void
enableFile(boolean enable)
If the gui needs to enable/disable the FilePanel, call the method.
String[]
getFiles()
protected void
initializeTableModel()
void
setFiles(String[] files)

Constructor Details

FileListPanel

public FileListPanel()
Constructor for the FilePanel object.

FileListPanel

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

FileListPanel

public FileListPanel(String title)

FileListPanel

public FileListPanel(String title,
                     String filetype)

Method Details

actionPerformed

public void actionPerformed(ActionEvent e)

addChangeListener

public void addChangeListener(ChangeListener l)

addFilename

public void addFilename(String f)
Add a single file to the table
Parameters:
f -

clearFiles

public void clearFiles()
clear the files from the table

deleteFile

protected void deleteFile()

enableFile

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

getFiles

public String[] getFiles()

initializeTableModel

protected void initializeTableModel()

setFiles

public void setFiles(String[] files)

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