Package com.luciad.beans
Class TLcdBeanEditAction
java.lang.Object
com.luciad.gui.ALcdAction
com.luciad.beans.TLcdBeanEditAction
- 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 bean set using the setObject method. If a Customizer
has been defined
for the bean, this one will be instantiated, put in a Dialog, which will
be set visible when the ILcdAction
will be triggered (actionPerformed()).
If no Customizer
has been defined, this ILcdAction
will
create a TLcdPropertySheet
for editing the bean properties that it was able
to find through introspection. For both, this ILcdAction
makes use of a
TLcdBeanGUIFactory
instance.- 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.TLcdBeanEditAction
(PropertyEditor aPropertyEditor) Deprecated.Constructor with the bean to edit and aFrame
to be used as parent Frame by the Dialog.TLcdBeanEditAction
(PropertyEditor aPropertyEditor, Frame aParentFrame) Deprecated.Constructor with aPropertyEditor
that support custom editor.TLcdBeanEditAction
(Object aBean) Deprecated.Constructor with the bean to edit.TLcdBeanEditAction
(Object aBean, Frame aParentFrame) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionvoid
Deprecated.void
Deprecated.protected void
Deprecated.Deprecated.Deprecated.Get theObject
to be edited each time thisILcdAction
is triggered.Deprecated.Deprecated.boolean
Deprecated.boolean
Deprecated.This method has been deprecated.static void
setClassTraceOn
(boolean aClassTraceOn) Deprecated.This method has been deprecated.void
setDialogModal
(boolean aDialogModal) Deprecated.void
setDialogTitle
(String aDialogTitle) Deprecated.void
Deprecated.Sets theObject
to edit each time thisILcdAction
will be triggered.void
setParentFrame
(Frame aParentFrame) Deprecated.Sets a parentFrame
to be used by theDialog
that will be created when callingactionPerformed(ActionEvent)
.void
setTraceOn
(boolean aTraceOn) Deprecated.This method has been deprecated.Methods inherited from class com.luciad.gui.ALcdAction
addPropertyChangeListener, firePropertyChange, getDisplayName, getIcon, getLongDescription, getName, getShortDescription, getValue, isEnabled, putValue, registerInstance, removePropertyChangeListener, setDisplayName, setEnabled, setIcon, setLongDescription, setName, setShortDescription
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
-
TLcdBeanEditAction
public TLcdBeanEditAction()Deprecated.Default constructor. -
TLcdBeanEditAction
Deprecated.Constructor with the bean to edit. -
TLcdBeanEditAction
Deprecated. -
TLcdBeanEditAction
Deprecated.Constructor with the bean to edit and aFrame
to be used as parent Frame by the Dialog. -
TLcdBeanEditAction
Deprecated.Constructor with aPropertyEditor
that support custom editor.- Parameters:
aPropertyEditor
- aPropertyEditor
that must support custom editor.
-
-
Method Details
-
setClassTraceOn
public static void setClassTraceOn(boolean aClassTraceOn) Deprecated.This method has been deprecated. It is recommended to use the standard Java logging framework directly.Enables tracing for all instances of this class. If the argument istrue
then all log messages are recorded, otherwise only the informative, warning and error messages are recorded.- Parameters:
aClassTraceOn
- if true then all log messages are recorded, otherwise only the informative, warning and error messages are recorded.
-
setTraceOn
public void setTraceOn(boolean aTraceOn) Deprecated.This method has been deprecated. It is recommended to use the standard Java logging framework directly.Enables tracing for this class instance. Calling this method with eithertrue
orfalse
as argument automatically turns off tracing for all other class instances for whichsetTraceOn
has not been called. If the argument isfalse
then only the informative, warning and error log messages are recorded.- Overrides:
setTraceOn
in classALcdAction
- Parameters:
aTraceOn
- if true then all log messages are recorded for this instance. If false, then only the informative, warning and error log messages are recorded.
-
isTraceOn
public boolean isTraceOn()Deprecated.This method has been deprecated. It is recommended to use the standard Java logging framework directly.Returnstrue
if tracing is enabled for this class.- Overrides:
isTraceOn
in classALcdAction
- Returns:
- true if tracing is enabled for this class, false otherwise.
-
getPropertyEditor
Deprecated. -
setDialogTitle
Deprecated. -
getDialogTitle
Deprecated. -
setParentFrame
Deprecated.Sets a parentFrame
to be used by theDialog
that will be created when callingactionPerformed(ActionEvent)
. -
getParentFrame
Deprecated. -
setObject
Deprecated.Sets theObject
to edit each time thisILcdAction
will be triggered. -
getObject
Deprecated.Get theObject
to be edited each time thisILcdAction
is triggered. -
setDialogModal
public void setDialogModal(boolean aDialogModal) Deprecated. -
isDialogModal
public boolean isDialogModal()Deprecated. -
actionPerformed
Deprecated.- Specified by:
actionPerformed
in interfaceActionListener
-
actionPerformed
Deprecated. -
actionPerformedWithPropertyEditor
Deprecated.
-