| java.lang.Object java.beans.PropertyEditorSupport org.apache.jmeter.testbeans.gui.WrapperEditor
WrapperEditor | class WrapperEditor extends PropertyEditorSupport implements PropertyChangeListener(Code) | | This is an implementation of a full-fledged property editor, providing both
object-text transformation and an editor GUI (a custom editor component),
from two simpler property editors providing only one of these functionalities
each, namely:
- typeEditor
-
- Provides suitable object-to-string and string-to-object transformation
for the property's type. That is: it's a simple editor that only need to
support the set/getAsText and set/getValue methods.
- guiEditor
- Provides a suitable GUI for the property, but works on [possibly null]
String values. That is: it supportsCustomEditor, but get/setAsText and
get/setValue are indentical.
The resulting editor provides optional support for null values (you can
choose whether null is to be a valid property value). It also
provides optional support for JMeter 'expressions' (you can choose whether
they make valid property values).
|
Constructor Summary | |
| WrapperEditor(Object source, PropertyEditor typeEditor, PropertyEditor guiEditor, boolean acceptsNull, boolean acceptsExpressions, boolean acceptsOther, Object defaultValue) Constructor for use when a PropertyEditor is delegating to us. | | WrapperEditor(PropertyEditor typeEditor, PropertyEditor guiEditor, boolean acceptsNull, boolean acceptsExpressions, boolean acceptsOther, Object defaultValue) Constructor for use for regular instantiation and by subclasses. |
acceptsExpressions | boolean acceptsExpressions(Code) | | Whether to allow JMeter 'expressions' as property values.
|
acceptsNull | boolean acceptsNull(Code) | | Whether to allow null as a property value.
|
acceptsOther | boolean acceptsOther(Code) | | Whether to allow any constant values different from the provided tags.
|
log | protected static Logger log(Code) | | |
WrapperEditor | WrapperEditor(Object source, PropertyEditor typeEditor, PropertyEditor guiEditor, boolean acceptsNull, boolean acceptsExpressions, boolean acceptsOther, Object defaultValue)(Code) | | Constructor for use when a PropertyEditor is delegating to us.
|
WrapperEditor | WrapperEditor(PropertyEditor typeEditor, PropertyEditor guiEditor, boolean acceptsNull, boolean acceptsExpressions, boolean acceptsOther, Object defaultValue)(Code) | | Constructor for use for regular instantiation and by subclasses.
|
supportsCustomEditor | public boolean supportsCustomEditor()(Code) | | |
|
|