public class FileEditor extends Object implements PropertyEditor, 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(PropertyDescriptor descriptor) |
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(ActionEvent e) |
void |
addPropertyChangeListener(PropertyChangeListener listener) |
String |
getAsText() |
Component |
getCustomEditor() |
String |
getJavaInitializationString() |
String[] |
getTags() |
Object |
getValue() |
boolean |
isPaintable() |
void |
paintValue(Graphics gfx,
Rectangle box) |
void |
removePropertyChangeListener(PropertyChangeListener listener) |
void |
setAsText(String text) |
void |
setValue(Object value) |
boolean |
supportsCustomEditor() |
@Deprecated public FileEditor() throws IntrospectionException
IntrospectionExceptionpublic FileEditor(PropertyDescriptor descriptor)
public void actionPerformed(ActionEvent e)
actionPerformed in interface ActionListenerpublic void addPropertyChangeListener(PropertyChangeListener listener)
addPropertyChangeListener in interface PropertyEditorlistener - public String getAsText()
getAsText in interface PropertyEditorpublic Component getCustomEditor()
getCustomEditor in interface PropertyEditorpublic String getJavaInitializationString()
getJavaInitializationString in interface PropertyEditorpublic String[] getTags()
getTags in interface PropertyEditorpublic Object getValue()
getValue in interface PropertyEditorpublic boolean isPaintable()
isPaintable in interface PropertyEditorpublic void paintValue(Graphics gfx, Rectangle box)
paintValue in interface PropertyEditorgfx - box - public void removePropertyChangeListener(PropertyChangeListener listener)
removePropertyChangeListener in interface PropertyEditorlistener - public void setAsText(String text) throws IllegalArgumentException
setAsText in interface PropertyEditortext - IllegalArgumentExceptionpublic void setValue(Object value)
setValue in interface PropertyEditorvalue - public boolean supportsCustomEditor()
supportsCustomEditor in interface PropertyEditorCopyright © 1998-2015 Apache Software Foundation. All Rights Reserved.