org.apache.jmeter.testbeans.gui
public class TableEditor extends PropertyEditorSupport implements FocusListener, TestBeanPropertyEditor, TableModelListener
Modifier and Type | Field and Description |
---|---|
static String |
CLASSNAME |
static String |
HEADERS |
static String |
OBJECT_PROPERTIES |
Constructor and Description |
---|
TableEditor() |
Modifier and Type | Method and Description |
---|---|
void |
focusGained(FocusEvent e) |
void |
focusLost(FocusEvent e) |
String |
getAsText() |
Component |
getCustomEditor() |
Object |
getValue() |
void |
setAsText(String text) |
void |
setDescriptor(PropertyDescriptor descriptor)
For the table editor, the tag must simply be the name of the class of object it will hold
where each row holds one object.
|
void |
setValue(Object value) |
boolean |
supportsCustomEditor() |
void |
tableChanged(TableModelEvent e) |
addPropertyChangeListener, firePropertyChange, getJavaInitializationString, getSource, getTags, isPaintable, paintValue, removePropertyChangeListener, setSource
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addPropertyChangeListener, getJavaInitializationString, getTags, isPaintable, paintValue, removePropertyChangeListener
public static final String CLASSNAME
public static final String HEADERS
public static final String OBJECT_PROPERTIES
public String getAsText()
getAsText
in interface PropertyEditor
getAsText
in class PropertyEditorSupport
public Component getCustomEditor()
getCustomEditor
in interface PropertyEditor
getCustomEditor
in class PropertyEditorSupport
public Object getValue()
getValue
in interface PropertyEditor
getValue
in class PropertyEditorSupport
public void setAsText(String text) throws IllegalArgumentException
setAsText
in interface PropertyEditor
setAsText
in class PropertyEditorSupport
IllegalArgumentException
public void setValue(Object value)
setValue
in interface PropertyEditor
setValue
in class PropertyEditorSupport
public boolean supportsCustomEditor()
supportsCustomEditor
in interface PropertyEditor
supportsCustomEditor
in class PropertyEditorSupport
public void setDescriptor(PropertyDescriptor descriptor)
setDescriptor
in interface TestBeanPropertyEditor
public void tableChanged(TableModelEvent e)
tableChanged
in interface TableModelListener
public void focusGained(FocusEvent e)
focusGained
in interface FocusListener
public void focusLost(FocusEvent e)
focusLost
in interface FocusListener
Copyright © 1998-2014 Apache Software Foundation. All Rights Reserved.