@Deprecated public class TLcdBeanPropertyEditAction extends ALcdAction implements ILcdAction
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()
).changeSupport
DEFAULT, LONG_DESCRIPTION, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SHOW_ACTION_NAME, SMALL_ICON, VISIBLE
Constructor and Description |
---|
TLcdBeanPropertyEditAction()
Deprecated.
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 as
TLcdBeanPropertyEditAction ( Object , aPropertyName ) with a parent
Frame for the Dialog to open. |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(ActionEvent e)
Deprecated.
|
void |
actionPerformed(AWTEvent e)
Deprecated.
|
String |
getDialogTitle()
Deprecated.
|
Object |
getObject()
Deprecated.
|
Frame |
getParentFrame()
Deprecated.
|
String |
getPropertyName()
Deprecated.
|
void |
setDialogTitle(String aDialogTitle)
Deprecated.
|
void |
setObject(Object newObject)
Deprecated.
|
void |
setParentFrame(Frame newParentFrame)
Deprecated.
|
void |
setPropertyName(String newPropertyName)
Deprecated.
|
addPropertyChangeListener, firePropertyChange, getDisplayName, getIcon, getLongDescription, getName, getShortDescription, getValue, isEnabled, isTraceOn, putValue, registerInstance, removePropertyChangeListener, setClassTraceOn, setDisplayName, setEnabled, setIcon, setLongDescription, setName, setShortDescription, setTraceOn
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getValue, isEnabled, putValue, setEnabled
addPropertyChangeListener, removePropertyChangeListener
public TLcdBeanPropertyEditAction()
public TLcdBeanPropertyEditAction(Object aBean, String aPropertyName)
public void setDialogTitle(String aDialogTitle)
public String getDialogTitle()
public void actionPerformed(ActionEvent e)
actionPerformed
in interface ActionListener
public void actionPerformed(AWTEvent e)
public Object getObject()
public void setObject(Object newObject)
public void setPropertyName(String newPropertyName)
public String getPropertyName()
public Frame getParentFrame()
public void setParentFrame(Frame newParentFrame)