Package com.luciad.beans.swing
Class TLcdBeanGUIFactorySW
java.lang.Object
com.luciad.beans.swing.TLcdBeanGUIFactorySW
- All Implemented Interfaces:
ILcdBeanGUIFactory
Deprecated.
Use a UI builder (e.g. Swing) or binding framework instead.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreatePropertyDialog(ILcdBeanEditor aBeanEditor, Component aBeanEditorComponent, Frame aParentFrame, String aTitle, boolean aDialogModal) Deprecated.Create aTLcdPropertyDialogSWthat displays the properties of an Object that can be editedcreatePropertyDialog(PropertyEditor aPropertyEditor, Frame aParentFrame, boolean aDialogModal) Deprecated.Create aTLcdPropertyDialogSWthat displays the properties of an Object that can be editedcreatePropertyDialog(PropertyEditor aPropertyEditor, Frame aParentFrame, String aTitle, boolean aDialogModal) Deprecated.Create aILcdPropertyDialogthat displays the properties of an Object that can be edited.createPropertyEditorComponent(PropertyEditor aPropertyEditor, ILcdBeanEditor aBeanEditor) Deprecated.createPropertyEditorMenuItem(PropertyEditor aPropertyEditor, PropertyDescriptor aPropertyDescriptor, ILcdBeanEditor aBeanEditor) Deprecated.createPropertySheet(PropertyEditor aPropertyEditor) Deprecated.booleanDeprecated.This method has been deprecated.static voidsetClassTraceOn(boolean aClassTraceOn) Deprecated.This method has been deprecated.final voidsetStringTranslator(ILcdStringTranslator aStringTranslator) Deprecated.Sets theILcdStringTranslatorwhich will be used to translate the labels in front of the editors.voidsetTraceOn(boolean aTraceOn) Deprecated.This method has been deprecated.
-
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 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.- 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.- Returns:
- true if tracing is enabled for this class, false otherwise.
-
setStringTranslator
Deprecated.Sets the
ILcdStringTranslatorwhich 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:
createPropertyEditorComponentin interfaceILcdBeanGUIFactory- Returns:
- a
Componentthat can edit a property using the given PropertyEditor.
-
createPropertySheet
Deprecated.- Specified by:
createPropertySheetin interfaceILcdBeanGUIFactory- Parameters:
aPropertyEditor- can be null if the Object is not a property of another.- Returns:
- a
ILcdPropertySheetthat 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 aTLcdPropertyDialogSWthat displays the properties of an Object that can be edited- Specified by:
createPropertyDialogin interfaceILcdBeanGUIFactory- Returns:
- a
ILcdPropertyDialogthat displays the properties of an Object that can be edited
-
createPropertyDialog
public ILcdPropertyDialog createPropertyDialog(PropertyEditor aPropertyEditor, Frame aParentFrame, boolean aDialogModal) Deprecated.Create aTLcdPropertyDialogSWthat displays the properties of an Object that can be edited- Specified by:
createPropertyDialogin interfaceILcdBeanGUIFactory- Returns:
- a
ILcdPropertyDialogthat displays the properties of an Object that can be edited
-
createPropertyDialog
public ILcdPropertyDialog createPropertyDialog(PropertyEditor aPropertyEditor, Frame aParentFrame, String aTitle, boolean aDialogModal) Deprecated.Create aILcdPropertyDialogthat 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:
createPropertyDialogin interfaceILcdBeanGUIFactory- Returns:
- a
ILcdPropertyDialogthat displays the properties of an Object that can be edited
-