Class TLcdBeanGUIFactorySW

java.lang.Object
com.luciad.beans.swing.TLcdBeanGUIFactorySW
All Implemented Interfaces:
ILcdBeanGUIFactory

public class TLcdBeanGUIFactorySW extends Object implements ILcdBeanGUIFactory
Deprecated.
Use a UI builder (e.g. Swing) or binding framework instead.
  • Constructor Details

    • TLcdBeanGUIFactorySW

      public TLcdBeanGUIFactorySW()
      Deprecated.
  • 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.
      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.
      Returns:
      true if tracing is enabled for this class, false otherwise.
    • setStringTranslator

      public final void setStringTranslator(ILcdStringTranslator aStringTranslator)
      Deprecated.

      Sets the ILcdStringTranslator which will be used to translate the labels in front of the editors.

      Note: the current implementation does not yet use the string translator for all the labels

      Parameters:
      aStringTranslator - The string translator
      Since:
      2015.1.x
    • createPropertyEditorComponent

      public Component createPropertyEditorComponent(PropertyEditor aPropertyEditor, ILcdBeanEditor aBeanEditor)
      Deprecated.
      Specified by:
      createPropertyEditorComponent in interface ILcdBeanGUIFactory
      Returns:
      a Component that can edit a property using the given PropertyEditor.
    • createPropertySheet

      public ILcdPropertySheet createPropertySheet(PropertyEditor aPropertyEditor)
      Deprecated.
      Specified by:
      createPropertySheet in interface ILcdBeanGUIFactory
      Parameters:
      aPropertyEditor - can be null if the Object is not a property of another.
      Returns:
      a ILcdPropertySheet that can edit the properties of an Object
    • createPropertyEditorMenuItem

      public JMenuItem createPropertyEditorMenuItem(PropertyEditor aPropertyEditor, PropertyDescriptor aPropertyDescriptor, ILcdBeanEditor aBeanEditor)
      Deprecated.
    • createPropertyDialog

      public ILcdPropertyDialog createPropertyDialog(ILcdBeanEditor aBeanEditor, Component aBeanEditorComponent, Frame aParentFrame, String aTitle, boolean aDialogModal)
      Deprecated.
      Create a TLcdPropertyDialogSW that displays the properties of an Object that can be edited
      Specified by:
      createPropertyDialog in interface ILcdBeanGUIFactory
      Returns:
      a ILcdPropertyDialog that displays the properties of an Object that can be edited
    • createPropertyDialog

      public ILcdPropertyDialog createPropertyDialog(PropertyEditor aPropertyEditor, Frame aParentFrame, boolean aDialogModal)
      Deprecated.
      Create a TLcdPropertyDialogSW that displays the properties of an Object that can be edited
      Specified by:
      createPropertyDialog in interface ILcdBeanGUIFactory
      Returns:
      a ILcdPropertyDialog that displays the properties of an Object that can be edited
    • createPropertyDialog

      public ILcdPropertyDialog createPropertyDialog(PropertyEditor aPropertyEditor, Frame aParentFrame, String aTitle, boolean aDialogModal)
      Deprecated.
      Create a ILcdPropertyDialog that displays the properties of an Object that can be edited. It also makes sure the dialog is centered the first time it is displayed.
      Specified by:
      createPropertyDialog in interface ILcdBeanGUIFactory
      Returns:
      a ILcdPropertyDialog that displays the properties of an Object that can be edited