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 Link icon

    • TLcdBeanEditAction Link icon

      public TLcdBeanEditAction()
      Deprecated.
      Default constructor.
    • TLcdBeanEditAction Link icon

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

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

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

      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 Link icon

    • setClassTraceOn Link icon

      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 Link icon

      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 Link icon

      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 Link icon

      public PropertyEditor getPropertyEditor()
      Deprecated.
    • setDialogTitle Link icon

      public void setDialogTitle(String aDialogTitle)
      Deprecated.
    • getDialogTitle Link icon

      public String getDialogTitle()
      Deprecated.
    • setParentFrame Link icon

      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 Link icon

      public Frame getParentFrame()
      Deprecated.
    • setObject Link icon

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

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

      public void setDialogModal(boolean aDialogModal)
      Deprecated.
    • isDialogModal Link icon

      public boolean isDialogModal()
      Deprecated.
    • actionPerformed Link icon

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

      public void actionPerformed(EventObject e)
      Deprecated.
    • actionPerformedWithPropertyEditor Link icon

      protected void actionPerformedWithPropertyEditor(EventObject e)
      Deprecated.