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
IntrospectionException
public FileEditor(PropertyDescriptor descriptor)
public void actionPerformed(ActionEvent e)
actionPerformed
in interface ActionListener
public void addPropertyChangeListener(PropertyChangeListener listener)
addPropertyChangeListener
in interface PropertyEditor
listener
- public String getAsText()
getAsText
in interface PropertyEditor
public Component getCustomEditor()
getCustomEditor
in interface PropertyEditor
public String getJavaInitializationString()
getJavaInitializationString
in interface PropertyEditor
public String[] getTags()
getTags
in interface PropertyEditor
public Object getValue()
getValue
in interface PropertyEditor
public boolean isPaintable()
isPaintable
in interface PropertyEditor
public void paintValue(Graphics gfx, Rectangle box)
paintValue
in interface PropertyEditor
gfx
- box
- public void removePropertyChangeListener(PropertyChangeListener listener)
removePropertyChangeListener
in interface PropertyEditor
listener
- public void setAsText(String text) throws IllegalArgumentException
setAsText
in interface PropertyEditor
text
- IllegalArgumentException
public void setValue(Object value)
setValue
in interface PropertyEditor
value
- public boolean supportsCustomEditor()
supportsCustomEditor
in interface PropertyEditor
Copyright © 1998-2013 Apache Software Foundation. All Rights Reserved.