org.apache.jmeter.testbeans.gui
Class FileEditor
- ActionListener, PropertyEditor
public class FileEditor
implements PropertyEditor, ActionListener
A property editor for File properties.
Note that it never gives out File objects, but always Strings. This is
because JMeter is now too dumb to handle File objects (there's no
FileProperty).
FileEditor
public FileEditor()
actionPerformed
public void actionPerformed(ActionEvent e)
addPropertyChangeListener
public void addPropertyChangeListener(PropertyChangeListener listener)
getAsText
public String getAsText()
getCustomEditor
public Component getCustomEditor()
getJavaInitializationString
public String getJavaInitializationString()
- the Java initialisation string
getTags
public String[] getTags()
getValue
public Object getValue()
isPaintable
public boolean isPaintable()
- true if the editor is paintable
paintValue
public void paintValue(Graphics gfx,
Rectangle box)
removePropertyChangeListener
public void removePropertyChangeListener(PropertyChangeListener listener)
setAsText
public void setAsText(String text)
throws IllegalArgumentException
setValue
public void setValue(Object value)
supportsCustomEditor
public boolean supportsCustomEditor()
- true if supports a custom editor
Copyright © 1998-2010 Apache Software Foundation. All Rights Reserved.