📄 generictestbeancustomizer.html
字号:
<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
org.apache.jmeter.testbeans.gui</FONT>
<BR>
Class GenericTestBeanCustomizer</H2>
<PRE>
<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html" title="class or interface in java.lang">java.lang.Object</A>
<IMG SRC="../../../../../resources/inherit.gif" ALT="extended by"><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/awt/Component.html" title="class or interface in java.awt">java.awt.Component</A>
<IMG SRC="../../../../../resources/inherit.gif" ALT="extended by"><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/awt/Container.html" title="class or interface in java.awt">java.awt.Container</A>
<IMG SRC="../../../../../resources/inherit.gif" ALT="extended by"><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/javax/swing/JComponent.html" title="class or interface in javax.swing">javax.swing.JComponent</A>
<IMG SRC="../../../../../resources/inherit.gif" ALT="extended by"><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/javax/swing/JPanel.html" title="class or interface in javax.swing">javax.swing.JPanel</A>
<IMG SRC="../../../../../resources/inherit.gif" ALT="extended by"><B>org.apache.jmeter.testbeans.gui.GenericTestBeanCustomizer</B>
</PRE>
<DL>
<DT><B>All Implemented Interfaces:</B> <DD><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/javax/accessibility/Accessible.html" title="class or interface in javax.accessibility">Accessible</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/beans/Customizer.html" title="class or interface in java.beans">Customizer</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/awt/image/ImageObserver.html" title="class or interface in java.awt.image">ImageObserver</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/awt/MenuContainer.html" title="class or interface in java.awt">MenuContainer</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Serializable.html" title="class or interface in java.io">Serializable</A>, <A HREF="../../../../../org/apache/jmeter/testbeans/gui/SharedCustomizer.html" title="interface in org.apache.jmeter.testbeans.gui">SharedCustomizer</A></DD>
</DL>
<HR>
<DL>
<DT>public class <B>GenericTestBeanCustomizer</B><DT>extends <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/javax/swing/JPanel.html" title="class or interface in javax.swing">JPanel</A><DT>implements <A HREF="../../../../../org/apache/jmeter/testbeans/gui/SharedCustomizer.html" title="interface in org.apache.jmeter.testbeans.gui">SharedCustomizer</A></DL>
<P>
The GenericTestBeanCustomizer is designed to provide developers with a
mechanism to quickly implement GUIs for new components.
<p>
It allows editing each of the public exposed properties of the edited type 'a
la JavaBeans': as far as the types of those properties have an associated
editor, there's no GUI development required.
<p>
This class understands the following PropertyDescriptor attributes:
<dl>
<dt>group: String</dt>
<dd>Group under which the property should be shown in the GUI. The string is
also used as a group title (but see comment on resourceBundle below). The
default group is "".</dd>
<dt>order: Integer</dt>
<dd>Order in which the property will be shown in its group. A smaller
integer means higher up in the GUI. The default order is 0. Properties of
equal order are sorted alphabetically.</dd>
<dt>tags: String[]</dt>
<dd>List of values to be offered for the property in addition to those
offered by its property editor.</dd>
<dt>notUndefined: Boolean</dt>
<dd>If true, the property should not be left undefined. A <b>default</b>
attribute must be provided if this is set.</dd>
<dd>notExpression: Boolean</dd>
<dd>If true, the property content should always be constant: JMeter
'expressions' (strings using ${var}, etc...) can't be used.</dt>
<dd>notOther: Boolean</dd>
<dd>If true, the property content must always be one of the tags values or
null.</dt>
<dt>default: Object</dt>
<dd>Initial value for the property's GUI. Must be provided and be non-null
if <b>notUndefined</b> is set. Must be one of the provided tags (or null) if
<b>notOther</b> is set.
</dl>
<p>
The following BeanDescriptor attributes are also understood:
<dl>
<dt>group.<i>group</i>.order: Integer</dt>
<dd>where <b><i>group</i></b> is a group name used in a <b>group</b>
attribute in one or more PropertyDescriptors. Defines the order in which the
group will be shown in the GUI. A smaller integer means higher up in the GUI.
The default order is 0. Groups of equal order are sorted alphabetically.</dd>
<dt>resourceBundle: ResourceBundle</dt>
<dd>A resource bundle to be used for GUI localization: group display names
will be obtained from property "<b><i>group</i>.displayName</b>" if
available (where <b><i>group</i></b> is the group name).
</dl>
<P>
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../../serialized-form.html#org.apache.jmeter.testbeans.gui.GenericTestBeanCustomizer">Serialized Form</A></DL>
<HR>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -