Package com.luciad.beans.awt
Class TLcdMultiBeanEditorPanel
java.lang.Object
com.luciad.beans.awt.TLcdMultiBeanEditorPanel
- All Implemented Interfaces:
ItemSelectable
- Direct Known Subclasses:
TLcdGXYPainterProviderCustomizer
,TLcdProjectionCustomEditor
Deprecated.
Use a UI builder (e.g. Swing) or binding framework instead.
This
Panel
allows to select one among several registered beans from a Choice,
and edit its properties in a sub-Panel, either using the bean Customizer
if
it has one, or a TLcdPropertySheet
.
The method register(String,Object)
allows to register a bean in the Choice
list
using the given String. The method register(Object)
registers the given
bean using the displayName property of its property descriptor.
- See Also:
-
Constructor Summary
ConstructorDescriptionDeprecated.Default constructor.TLcdMultiBeanEditorPanel
(String aLabel) Deprecated.Constructor with aString
to display next to the bean choice. -
Method Summary
Modifier and TypeMethodDescriptionvoid
addItemListener
(ItemListener aListener) Deprecated.Adds a listener to receive item events when the state of an item changes.void
Deprecated.Add a bean in the Choice.void
Deprecated.Add a bean in theChoice
using the given String.void
addPropertyChangeListener
(PropertyChangeListener aListener) Deprecated.Registers a listener for the PropertyChange event.void
Deprecated.Defines how to edit the bean which name is currently selected in the Choice.protected void
Deprecated.Fires an ItemEvent to all registeredItemListener
with the current selected bean.Deprecated.Deprecated.Object[]
Deprecated.Returns the selected items ornull
if no items are selected.Deprecated.Gets theWindow
to be packed each time a new bean has been selected in the Choice, ornull
if none has been set.boolean
Deprecated.Tests if the AutoUpdateFromPropertyEditors property istrue
or not.boolean
Deprecated.Tests if the OK, Apply, CancelButton
Panel
is currently visible.boolean
Deprecated.boolean
Deprecated.This method has been deprecated.boolean
Deprecated.void
removeItemListener
(ItemListener aListener) Deprecated.Removes an item listener.void
Deprecated.Removes a listener for the PropertyChange event.void
replaceObjectByClass
(Object aObject) Deprecated.This method will replace by aObject, all the registered instances which Class is the same asaObject.getClass()
(using =).void
setAutoUpdateFromPropertyEditors
(boolean aBoolean) Deprecated.Only valid when the selected bean has noCustomizer
and is therefore edited with an instance ofILcdPropertySheet
.void
setButtonPanelVisible
(boolean aButtonPanelVisible) Deprecated.Asks the OK, Apply, CancelButton
Panel
to be visible or not.static void
setClassTraceOn
(boolean aClassTraceOn) Deprecated.This method has been deprecated.void
setTopContainerVisible
(boolean aTopContainerVisible) Deprecated.void
setTraceOn
(boolean aTraceOn) Deprecated.This method has been deprecated.void
setVisible
(boolean aVisible) Deprecated.void
setWindowToPack
(Window aWindowToPack) Deprecated.Sets aWindow
to be packed each time a new bean has been selected in the Choice.protected void
Deprecated.Defines how to update the Choice.
-
Constructor Details
-
TLcdMultiBeanEditorPanel
public TLcdMultiBeanEditorPanel()Deprecated.Default constructor. -
TLcdMultiBeanEditorPanel
Deprecated.Constructor with aString
to display next to the bean choice.
-
-
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.
-
getComponent
Deprecated. -
isTopContainerVisible
public boolean isTopContainerVisible()Deprecated. -
setTopContainerVisible
public void setTopContainerVisible(boolean aTopContainerVisible) Deprecated. -
isVisible
public boolean isVisible()Deprecated. -
setVisible
public void setVisible(boolean aVisible) Deprecated. -
addObject
Deprecated.Add a bean in the Choice. TheString
used will be the displayName property of its property descriptor. -
addObject
Deprecated.Add a bean in theChoice
using the given String. -
getCurrentEditedObject
Deprecated. -
replaceObjectByClass
Deprecated.This method will replace by aObject, all the registered instances which Class is the same asaObject.getClass()
(using =). -
updateChoice
protected void updateChoice()Deprecated.Defines how to update the Choice. -
setWindowToPack
Deprecated.Sets aWindow
to be packed each time a new bean has been selected in the Choice. -
getWindowToPack
Deprecated.Gets theWindow
to be packed each time a new bean has been selected in the Choice, ornull
if none has been set. -
isAutoUpdateFromPropertyEditors
public boolean isAutoUpdateFromPropertyEditors()Deprecated.Tests if the AutoUpdateFromPropertyEditors property istrue
or not.- See Also:
-
setAutoUpdateFromPropertyEditors
public void setAutoUpdateFromPropertyEditors(boolean aBoolean) Deprecated.Only valid when the selected bean has noCustomizer
and is therefore edited with an instance ofILcdPropertySheet
.If
true
, the property values will be automatically set to the selected bean each time one of its property value (copy) has been changed by the correspondingPropertyEditor
(thePropertyEditor
fires then a PropertyChangeEvent).- See Also:
-
fireItemSelectedEvents
protected void fireItemSelectedEvents()Deprecated.Fires an ItemEvent to all registeredItemListener
with the current selected bean. -
editSelectedBean
public void editSelectedBean()Deprecated.Defines how to edit the bean which name is currently selected in the Choice. Either itsCustomizer
is used, if the bean has defined one, or aILcdPropertySheet
.- See Also:
-
isButtonPanelVisible
public boolean isButtonPanelVisible()Deprecated.Tests if the OK, Apply, CancelButton
Panel
is currently visible. -
setButtonPanelVisible
public void setButtonPanelVisible(boolean aButtonPanelVisible) Deprecated.Asks the OK, Apply, CancelButton
Panel
to be visible or not. -
getSelectedObjects
Deprecated.Returns the selected items ornull
if no items are selected.- Specified by:
getSelectedObjects
in interfaceItemSelectable
-
addItemListener
Deprecated.Adds a listener to receive item events when the state of an item changes.- Specified by:
addItemListener
in interfaceItemSelectable
- Parameters:
aListener
- the listener to receive events.
-
removeItemListener
Deprecated.Removes an item listener.- Specified by:
removeItemListener
in interfaceItemSelectable
- Parameters:
aListener
- the listener being removed.
-
addPropertyChangeListener
Deprecated.Registers a listener for the PropertyChange event.- Parameters:
aListener
- an object to be invoked when a PropertyChange event is fired.
-
removePropertyChangeListener
Deprecated.Removes a listener for the PropertyChange event.- Parameters:
aListener
- the PropertyChange listener to be removed.
-