Package com.luciad.beans
Class TLcdBeanPropertyEditAction
java.lang.Object
com.luciad.gui.ALcdAction
com.luciad.beans.TLcdBeanPropertyEditAction
- All Implemented Interfaces:
ILcdAction
,ILcdPropertyChangeSource
,ActionListener
,Serializable
,EventListener
Deprecated.
Use a UI builder (e.g. Swing) or binding framework instead.
When triggered, this
ILcdAction
will attempt to open a Dialog
for editing
a given property of a given bean. The property is set by the setPropertyName
method and the bean with has the given property is set using the setObject
method. This ILcdAction
will succeed if it has been able to find a
PropertyEditor
for the given property associated to the bean. The property name
shall correspond to the display name of the PropertyDescriptor
of the property
to edit ( PropertyDescriptor.getDisplayName()
).- See Also:
-
Field Summary
Fields inherited from class com.luciad.gui.ALcdAction
changeSupport
Fields inherited from interface com.luciad.gui.ILcdAction
DEFAULT, LONG_DESCRIPTION, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SHOW_ACTION_NAME, SMALL_ICON, VISIBLE
-
Constructor Summary
ConstructorDescriptionDeprecated.Default constructor.TLcdBeanPropertyEditAction
(Object aBean, String aPropertyName) Deprecated.Constructor with the property name to edit, and the bean that owns the given property.TLcdBeanPropertyEditAction
(Object aBean, String aPropertyName, Frame aParentFrame) Deprecated.Same asTLcdBeanPropertyEditAction
(Object
, aPropertyName ) with a parentFrame
for theDialog
to open. -
Method Summary
Modifier and TypeMethodDescriptionvoid
Deprecated.void
Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.void
setDialogTitle
(String aDialogTitle) Deprecated.void
Deprecated.void
setParentFrame
(Frame newParentFrame) Deprecated.void
setPropertyName
(String newPropertyName) Deprecated.Methods inherited from class com.luciad.gui.ALcdAction
addPropertyChangeListener, firePropertyChange, getDisplayName, getIcon, getLongDescription, getName, getShortDescription, getValue, isEnabled, isTraceOn, putValue, registerInstance, removePropertyChangeListener, setClassTraceOn, setDisplayName, setEnabled, setIcon, setLongDescription, setName, setShortDescription, setTraceOn
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.luciad.gui.ILcdAction
getValue, isEnabled, putValue, setEnabled
Methods inherited from interface com.luciad.util.ILcdPropertyChangeSource
addPropertyChangeListener, removePropertyChangeListener
-
Constructor Details
-
TLcdBeanPropertyEditAction
public TLcdBeanPropertyEditAction()Deprecated.Default constructor. -
TLcdBeanPropertyEditAction
Deprecated.Constructor with the property name to edit, and the bean that owns the given property. -
TLcdBeanPropertyEditAction
Deprecated.Same asTLcdBeanPropertyEditAction
(Object
, aPropertyName ) with a parentFrame
for theDialog
to open.
-
-
Method Details
-
setDialogTitle
Deprecated. -
getDialogTitle
Deprecated. -
actionPerformed
Deprecated.- Specified by:
actionPerformed
in interfaceActionListener
-
actionPerformed
Deprecated. -
getObject
Deprecated. -
setObject
Deprecated. -
setPropertyName
Deprecated. -
getPropertyName
Deprecated. -
getParentFrame
Deprecated. -
setParentFrame
Deprecated.
-