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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Implements PropertyEditor.getCustomEditor.booleanDeprecated.Implements PropertyEditor.isPaintable.voidpaintValue(Graphics gfx, Rectangle box) Deprecated.Implements PropertyEditor.paintValue It will drawgetAsText()in the given box.booleanDeprecated.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:
supportsCustomEditorin interfacePropertyEditor- Overrides:
supportsCustomEditorin classPropertyEditorSupport- Returns:
trueifgetValue()!=null.- See Also:
-
getCustomEditor
Deprecated.Implements PropertyEditor.getCustomEditor.- Specified by:
getCustomEditorin interfacePropertyEditor- Overrides:
getCustomEditorin classPropertyEditorSupport- Returns:
- an instance of
ILcdPropertySheet - See Also:
-
isPaintable
public boolean isPaintable()Deprecated.Implements PropertyEditor.isPaintable.- Specified by:
isPaintablein interfacePropertyEditor- Overrides:
isPaintablein classPropertyEditorSupport- Returns:
true- See Also:
-
paintValue
Deprecated.Implements PropertyEditor.paintValue It will drawgetAsText()in the given box.- Specified by:
paintValuein interfacePropertyEditor- Overrides:
paintValuein classPropertyEditorSupport- See Also:
-