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, setSourceclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddPropertyChangeListener, getJavaInitializationString, getTags, isPaintable, paintValue, removePropertyChangeListenerpublic static final String CLASSNAME
public static final String HEADERS
public static final String OBJECT_PROPERTIES
public String getAsText()
getAsText in interface PropertyEditorgetAsText in class PropertyEditorSupportpublic Component getCustomEditor()
getCustomEditor in interface PropertyEditorgetCustomEditor in class PropertyEditorSupportpublic Object getValue()
getValue in interface PropertyEditorgetValue in class PropertyEditorSupportpublic void setAsText(String text) throws IllegalArgumentException
setAsText in interface PropertyEditorsetAsText in class PropertyEditorSupportIllegalArgumentExceptionpublic void setValue(Object value)
setValue in interface PropertyEditorsetValue in class PropertyEditorSupportpublic boolean supportsCustomEditor()
supportsCustomEditor in interface PropertyEditorsupportsCustomEditor in class PropertyEditorSupportpublic void setDescriptor(PropertyDescriptor descriptor)
setDescriptor in interface TestBeanPropertyEditorpublic void tableChanged(TableModelEvent e)
tableChanged in interface TableModelListenerpublic void focusGained(FocusEvent e)
focusGained in interface FocusListenerpublic void focusLost(FocusEvent e)
focusLost in interface FocusListenerCopyright © 1998-2012 Apache Software Foundation. All Rights Reserved.