@Deprecated
public class TLcdGenericPropertyEditor
extends java.beans.PropertyEditorSupport
PropertyEditor
that will consider an Object
value as a Bean.
It will provide a custom editor (ILcdPropertySheet) that will be able to edit
the bean properties with introspection.ILcdPropertySheet
,
PropertyEditor
Constructor and Description |
---|
TLcdGenericPropertyEditor()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
java.awt.Component |
getCustomEditor()
Deprecated.
Implements PropertyEditor.getCustomEditor.
|
boolean |
isPaintable()
Deprecated.
Implements PropertyEditor.isPaintable.
|
void |
paintValue(java.awt.Graphics gfx,
java.awt.Rectangle box)
Deprecated.
Implements PropertyEditor.paintValue
It will draw
getAsText() in the given box. |
boolean |
supportsCustomEditor()
Deprecated.
Implements PropertyEditor.supportsCustomEditor.
|
public boolean supportsCustomEditor()
supportsCustomEditor
in interface java.beans.PropertyEditor
supportsCustomEditor
in class java.beans.PropertyEditorSupport
true
if getValue()
!= null
.PropertyEditor.supportsCustomEditor()
public java.awt.Component getCustomEditor()
getCustomEditor
in interface java.beans.PropertyEditor
getCustomEditor
in class java.beans.PropertyEditorSupport
ILcdPropertySheet
ILcdPropertySheet
,
PropertyEditor.getCustomEditor()
public boolean isPaintable()
isPaintable
in interface java.beans.PropertyEditor
isPaintable
in class java.beans.PropertyEditorSupport
true
PropertyEditor.isPaintable()
public void paintValue(java.awt.Graphics gfx, java.awt.Rectangle box)
getAsText()
in the given box.paintValue
in interface java.beans.PropertyEditor
paintValue
in class java.beans.PropertyEditorSupport
PropertyEditor.paintValue(java.awt.Graphics, java.awt.Rectangle)