Package org.apache.jmeter.testbeans.gui
Class FileEditor
java.lang.Object
org.apache.jmeter.testbeans.gui.FileEditor
- All Implemented Interfaces:
- ActionListener,- PropertyEditor,- EventListener
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 SummaryConstructorsConstructorDescriptionDeprecated.Only for use by test casesFileEditor(PropertyDescriptor descriptor) Construct aFileEditorusing the properties of the givenPropertyDescriptor
- 
Method Summary
- 
Constructor Details- 
FileEditorDeprecated.Only for use by test cases- Throws:
- IntrospectionException- when introspection fails while creating a dummy PropertyDescriptor
 
- 
FileEditorConstruct aFileEditorusing the properties of the givenPropertyDescriptor- Parameters:
- descriptor- the- PropertyDescriptorto be used. Must not be- null
- Throws:
- IllegalArgumentException- when- descriptoris- null
 
 
- 
- 
Method Details- 
actionPerformed- Specified by:
- actionPerformedin interface- ActionListener
 
- 
addPropertyChangeListener- Specified by:
- addPropertyChangeListenerin interface- PropertyEditor
 
- 
getAsText- Specified by:
- getAsTextin interface- PropertyEditor
- Returns:
- the text
 
- 
getCustomEditor- Specified by:
- getCustomEditorin interface- PropertyEditor
- Returns:
- custom editor panel
 
- 
getJavaInitializationString- Specified by:
- getJavaInitializationStringin interface- PropertyEditor
- Returns:
- the Java initialisation string
 
- 
getTags- Specified by:
- getTagsin interface- PropertyEditor
- Returns:
- the editor tags
 
- 
getValue- Specified by:
- getValuein interface- PropertyEditor
- Returns:
- the value
 
- 
isPaintablepublic boolean isPaintable()- Specified by:
- isPaintablein interface- PropertyEditor
- Returns:
- true if the editor is paintable
 
- 
paintValue- Specified by:
- paintValuein interface- PropertyEditor
 
- 
removePropertyChangeListener- Specified by:
- removePropertyChangeListenerin interface- PropertyEditor
 
- 
setAsText- Specified by:
- setAsTextin interface- PropertyEditor
 
- 
setValue- Specified by:
- setValuein interface- PropertyEditor
 
- 
supportsCustomEditorpublic boolean supportsCustomEditor()- Specified by:
- supportsCustomEditorin interface- PropertyEditor
- Returns:
- true if supports a custom editor
 
 
-