|
Apache JMeter | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.jmeter.testbeans.gui.FileEditor
public class FileEditor
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).
| Constructor Summary | |
|---|---|
FileEditor()
Deprecated. Only for use by test cases |
|
FileEditor(PropertyDescriptor descriptor)
Construct a FileEditor using the properties of the given
PropertyDescriptor |
|
| Method Summary | |
|---|---|
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()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
@Deprecated
public FileEditor()
throws IntrospectionException
IntrospectionException - when introspection fails while creating a dummy
PropertyDescriptorpublic FileEditor(PropertyDescriptor descriptor)
FileEditor using the properties of the given
PropertyDescriptor
descriptor - the PropertyDescriptor to be used. Must not be null
IllegalArgumentException - when descriptor is null| Method Detail |
|---|
public void actionPerformed(ActionEvent e)
actionPerformed in interface ActionListenerpublic void addPropertyChangeListener(PropertyChangeListener listener)
addPropertyChangeListener in interface PropertyEditorpublic 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 PropertyEditor
public void paintValue(Graphics gfx,
Rectangle box)
paintValue in interface PropertyEditorpublic void removePropertyChangeListener(PropertyChangeListener listener)
removePropertyChangeListener in interface PropertyEditor
public void setAsText(String text)
throws IllegalArgumentException
setAsText in interface PropertyEditorIllegalArgumentExceptionpublic void setValue(Object value)
setValue in interface PropertyEditorpublic boolean supportsCustomEditor()
supportsCustomEditor in interface PropertyEditor
|
Apache JMeter | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||