Class TLcdBeanEditAction

java.lang.Object
com.luciad.gui.ALcdAction
com.luciad.beans.TLcdBeanEditAction
All Implemented Interfaces:
ILcdAction, ILcdPropertyChangeSource, ActionListener, Serializable, EventListener

@Deprecated public class TLcdBeanEditAction extends ALcdAction implements ILcdAction
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:
  • Constructor Details

    • TLcdBeanEditAction

      public TLcdBeanEditAction()
      Deprecated.
      Default constructor.
    • TLcdBeanEditAction

      public TLcdBeanEditAction(Object aBean)
      Deprecated.
      Constructor with the bean to edit.
    • TLcdBeanEditAction

      public TLcdBeanEditAction(Object aBean, Frame aParentFrame)
      Deprecated.
    • TLcdBeanEditAction

      public TLcdBeanEditAction(PropertyEditor aPropertyEditor)
      Deprecated.
      Constructor with the bean to edit and a Frame to be used as parent Frame by the Dialog.
    • TLcdBeanEditAction

      public TLcdBeanEditAction(PropertyEditor aPropertyEditor, Frame aParentFrame)
      Deprecated.
      Constructor with a PropertyEditor that support custom editor.
      Parameters:
      aPropertyEditor - a PropertyEditor 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 is true 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 either true or false as argument automatically turns off tracing for all other class instances for which setTraceOn has not been called. If the argument is false then only the informative, warning and error log messages are recorded.
      Overrides:
      setTraceOn in class ALcdAction
      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.
      Returns true if tracing is enabled for this class.
      Overrides:
      isTraceOn in class ALcdAction
      Returns:
      true if tracing is enabled for this class, false otherwise.
    • getPropertyEditor

      public PropertyEditor getPropertyEditor()
      Deprecated.
    • setDialogTitle

      public void setDialogTitle(String aDialogTitle)
      Deprecated.
    • getDialogTitle

      public String getDialogTitle()
      Deprecated.
    • setParentFrame

      public void setParentFrame(Frame aParentFrame)
      Deprecated.
      Sets a parent Frame to be used by the Dialog that will be created when calling actionPerformed(ActionEvent).
    • getParentFrame

      public Frame getParentFrame()
      Deprecated.
    • setObject

      public void setObject(Object aObject)
      Deprecated.
      Sets the Object to edit each time this ILcdAction will be triggered.
    • getObject

      public Object getObject()
      Deprecated.
      Get the Object to be edited each time this ILcdAction is triggered.
    • setDialogModal

      public void setDialogModal(boolean aDialogModal)
      Deprecated.
    • isDialogModal

      public boolean isDialogModal()
      Deprecated.
    • actionPerformed

      public void actionPerformed(ActionEvent e)
      Deprecated.
      Specified by:
      actionPerformed in interface ActionListener
    • actionPerformed

      public void actionPerformed(EventObject e)
      Deprecated.
    • actionPerformedWithPropertyEditor

      protected void actionPerformedWithPropertyEditor(EventObject e)
      Deprecated.