public class FileEditor
extends java.lang.Object
implements java.beans.PropertyEditor, java.awt.event.ActionListener
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).
| Constructor and Description |
|---|
FileEditor()
Deprecated.
Only for use by test cases
|
FileEditor(java.beans.PropertyDescriptor descriptor)
Construct a
FileEditor using the properties of the given
PropertyDescriptor |
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(java.awt.event.ActionEvent e) |
void |
addPropertyChangeListener(java.beans.PropertyChangeListener listener) |
java.lang.String |
getAsText() |
java.awt.Component |
getCustomEditor() |
java.lang.String |
getJavaInitializationString() |
java.lang.String[] |
getTags() |
java.lang.Object |
getValue() |
boolean |
isPaintable() |
void |
paintValue(java.awt.Graphics gfx,
java.awt.Rectangle box) |
void |
removePropertyChangeListener(java.beans.PropertyChangeListener listener) |
void |
setAsText(java.lang.String text) |
void |
setValue(java.lang.Object value) |
boolean |
supportsCustomEditor() |
@Deprecated
public FileEditor()
throws java.beans.IntrospectionException
java.beans.IntrospectionException - when introspection fails while creating a dummy
PropertyDescriptorpublic FileEditor(java.beans.PropertyDescriptor descriptor)
FileEditor using the properties of the given
PropertyDescriptordescriptor - the PropertyDescriptor to be used. Must not be nulljava.lang.IllegalArgumentException - when descriptor is nullpublic void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed in interface java.awt.event.ActionListenerpublic void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
addPropertyChangeListener in interface java.beans.PropertyEditorpublic java.lang.String getAsText()
getAsText in interface java.beans.PropertyEditorpublic java.awt.Component getCustomEditor()
getCustomEditor in interface java.beans.PropertyEditorpublic java.lang.String getJavaInitializationString()
getJavaInitializationString in interface java.beans.PropertyEditorpublic java.lang.String[] getTags()
getTags in interface java.beans.PropertyEditorpublic java.lang.Object getValue()
getValue in interface java.beans.PropertyEditorpublic boolean isPaintable()
isPaintable in interface java.beans.PropertyEditorpublic void paintValue(java.awt.Graphics gfx,
java.awt.Rectangle box)
paintValue in interface java.beans.PropertyEditorpublic void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
removePropertyChangeListener in interface java.beans.PropertyEditorpublic void setAsText(java.lang.String text)
throws java.lang.IllegalArgumentException
setAsText in interface java.beans.PropertyEditorjava.lang.IllegalArgumentExceptionpublic void setValue(java.lang.Object value)
setValue in interface java.beans.PropertyEditorpublic boolean supportsCustomEditor()
supportsCustomEditor in interface java.beans.PropertyEditorCopyright © 1998-2018 Apache Software Foundation. All Rights Reserved.