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
changeSupportFields inherited from interface com.luciad.gui.ILcdAction
DEFAULT, LONG_DESCRIPTION, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SHOW_ACTION_NAME, SMALL_ICON, VISIBLE -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Default constructor.TLcdBeanEditAction(PropertyEditor aPropertyEditor) Deprecated.Constructor with the bean to edit and aFrameto be used as parent Frame by the Dialog.TLcdBeanEditAction(PropertyEditor aPropertyEditor, Frame aParentFrame) Deprecated.Constructor with aPropertyEditorthat support custom editor.TLcdBeanEditAction(Object aBean) Deprecated.Constructor with the bean to edit.TLcdBeanEditAction(Object aBean, Frame aParentFrame) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionvoidDeprecated.voidDeprecated.protected voidDeprecated.Deprecated.Deprecated.Get theObjectto be edited each time thisILcdActionis triggered.Deprecated.Deprecated.booleanDeprecated.booleanDeprecated.This method has been deprecated.static voidsetClassTraceOn(boolean aClassTraceOn) Deprecated.This method has been deprecated.voidsetDialogModal(boolean aDialogModal) Deprecated.voidsetDialogTitle(String aDialogTitle) Deprecated.voidDeprecated.Sets theObjectto edit each time thisILcdActionwill be triggered.voidsetParentFrame(Frame aParentFrame) Deprecated.Sets a parentFrameto be used by theDialogthat will be created when callingactionPerformed(ActionEvent).voidsetTraceOn(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, setShortDescriptionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.luciad.gui.ILcdAction
getValue, isEnabled, putValue, setEnabledMethods 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 aFrameto be used as parent Frame by the Dialog. -
TLcdBeanEditAction
Deprecated.Constructor with aPropertyEditorthat support custom editor.- Parameters:
aPropertyEditor- aPropertyEditorthat 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 istruethen 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 eithertrueorfalseas argument automatically turns off tracing for all other class instances for whichsetTraceOnhas not been called. If the argument isfalsethen only the informative, warning and error log messages are recorded.- Overrides:
setTraceOnin 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.Returnstrueif tracing is enabled for this class.- Overrides:
isTraceOnin classALcdAction- Returns:
- true if tracing is enabled for this class, false otherwise.
-
getPropertyEditor
Deprecated. -
setDialogTitle
Deprecated. -
getDialogTitle
Deprecated. -
setParentFrame
Deprecated.Sets a parentFrameto be used by theDialogthat will be created when callingactionPerformed(ActionEvent). -
getParentFrame
Deprecated. -
setObject
Deprecated.Sets theObjectto edit each time thisILcdActionwill be triggered. -
getObject
Deprecated.Get theObjectto be edited each time thisILcdActionis triggered. -
setDialogModal
public void setDialogModal(boolean aDialogModal) Deprecated. -
isDialogModal
public boolean isDialogModal()Deprecated. -
actionPerformed
Deprecated.- Specified by:
actionPerformedin interfaceActionListener
-
actionPerformed
Deprecated. -
actionPerformedWithPropertyEditor
Deprecated.
-