Package com.luciad.beans
Class TLcdGenericPropertyEditor
java.lang.Object
java.beans.PropertyEditorSupport
com.luciad.beans.TLcdGenericPropertyEditor
- All Implemented Interfaces:
PropertyEditor
Deprecated.
Use a UI builder (e.g. Swing) or binding framework instead.
This is a generic
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.- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Implements PropertyEditor.getCustomEditor.boolean
Deprecated.Implements PropertyEditor.isPaintable.void
paintValue
(Graphics gfx, Rectangle box) Deprecated.Implements PropertyEditor.paintValue It will drawgetAsText()
in the given box.boolean
Deprecated.Implements PropertyEditor.supportsCustomEditor.Methods inherited from class java.beans.PropertyEditorSupport
addPropertyChangeListener, firePropertyChange, getAsText, getJavaInitializationString, getSource, getTags, getValue, removePropertyChangeListener, setAsText, setSource, setValue
-
Constructor Details
-
TLcdGenericPropertyEditor
public TLcdGenericPropertyEditor()Deprecated.
-
-
Method Details
-
supportsCustomEditor
public boolean supportsCustomEditor()Deprecated.Implements PropertyEditor.supportsCustomEditor.- Specified by:
supportsCustomEditor
in interfacePropertyEditor
- Overrides:
supportsCustomEditor
in classPropertyEditorSupport
- Returns:
true
ifgetValue()
!=null
.- See Also:
-
getCustomEditor
Deprecated.Implements PropertyEditor.getCustomEditor.- Specified by:
getCustomEditor
in interfacePropertyEditor
- Overrides:
getCustomEditor
in classPropertyEditorSupport
- Returns:
- an instance of
ILcdPropertySheet
- See Also:
-
isPaintable
public boolean isPaintable()Deprecated.Implements PropertyEditor.isPaintable.- Specified by:
isPaintable
in interfacePropertyEditor
- Overrides:
isPaintable
in classPropertyEditorSupport
- Returns:
true
- See Also:
-
paintValue
Deprecated.Implements PropertyEditor.paintValue It will drawgetAsText()
in the given box.- Specified by:
paintValue
in interfacePropertyEditor
- Overrides:
paintValue
in classPropertyEditorSupport
- See Also:
-