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
-
Method Summary
Modifier and TypeMethodDescriptioncreatePropertyDialog
(ILcdBeanEditor aBeanEditor, Component aBeanEditorComponent, Frame aParentFrame, String aTitle, boolean aDialogModal) Deprecated.Create aTLcdPropertyDialogSW
that displays the properties of an Object that can be editedcreatePropertyDialog
(PropertyEditor aPropertyEditor, Frame aParentFrame, boolean aDialogModal) Deprecated.Create aTLcdPropertyDialogSW
that displays the properties of an Object that can be editedcreatePropertyDialog
(PropertyEditor aPropertyEditor, Frame aParentFrame, String aTitle, boolean aDialogModal) Deprecated.Create aILcdPropertyDialog
that 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.boolean
Deprecated.This method has been deprecated.static void
setClassTraceOn
(boolean aClassTraceOn) Deprecated.This method has been deprecated.final void
setStringTranslator
(ILcdStringTranslator aStringTranslator) Deprecated.Sets theILcdStringTranslator
which will be used to translate the labels in front of the editors.void
setTraceOn
(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 istrue
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 eithertrue
orfalse
as argument automatically turns off tracing for all other class instances for whichsetTraceOn
has not been called. If the argument isfalse
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.Returnstrue
if tracing is enabled for this class.- Returns:
- true if tracing is enabled for this class, false otherwise.
-
setStringTranslator
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 interfaceILcdBeanGUIFactory
- Returns:
- a
Component
that can edit a property using the given PropertyEditor.
-
createPropertySheet
Deprecated.- Specified by:
createPropertySheet
in interfaceILcdBeanGUIFactory
- 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 aTLcdPropertyDialogSW
that displays the properties of an Object that can be edited- Specified by:
createPropertyDialog
in interfaceILcdBeanGUIFactory
- 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 aTLcdPropertyDialogSW
that displays the properties of an Object that can be edited- Specified by:
createPropertyDialog
in interfaceILcdBeanGUIFactory
- 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 aILcdPropertyDialog
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 interfaceILcdBeanGUIFactory
- Returns:
- a
ILcdPropertyDialog
that displays the properties of an Object that can be edited
-