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
ConstructorsConstructorDescriptionDeprecated.Default constructor.TLcdMultiBeanEditorPanel(String aLabel) Deprecated.Constructor with aStringto display next to the bean choice. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddItemListener(ItemListener aListener) Deprecated.Adds a listener to receive item events when the state of an item changes.voidDeprecated.Add a bean in the Choice.voidDeprecated.Add a bean in theChoiceusing the given String.voidaddPropertyChangeListener(PropertyChangeListener aListener) Deprecated.Registers a listener for the PropertyChange event.voidDeprecated.Defines how to edit the bean which name is currently selected in the Choice.protected voidDeprecated.Fires an ItemEvent to all registeredItemListenerwith the current selected bean.Deprecated.Deprecated.Object[]Deprecated.Returns the selected items ornullif no items are selected.Deprecated.Gets theWindowto be packed each time a new bean has been selected in the Choice, ornullif none has been set.booleanDeprecated.Tests if the AutoUpdateFromPropertyEditors property istrueor not.booleanDeprecated.Tests if the OK, Apply, CancelButtonPanelis currently visible.booleanDeprecated.booleanDeprecated.This method has been deprecated.booleanDeprecated.voidremoveItemListener(ItemListener aListener) Deprecated.Removes an item listener.voidDeprecated.Removes a listener for the PropertyChange event.voidreplaceObjectByClass(Object aObject) Deprecated.This method will replace by aObject, all the registered instances which Class is the same asaObject.getClass()(using =).voidsetAutoUpdateFromPropertyEditors(boolean aBoolean) Deprecated.Only valid when the selected bean has noCustomizerand is therefore edited with an instance ofILcdPropertySheet.voidsetButtonPanelVisible(boolean aButtonPanelVisible) Deprecated.Asks the OK, Apply, CancelButtonPanelto be visible or not.static voidsetClassTraceOn(boolean aClassTraceOn) Deprecated.This method has been deprecated.voidsetTopContainerVisible(boolean aTopContainerVisible) Deprecated.voidsetTraceOn(boolean aTraceOn) Deprecated.This method has been deprecated.voidsetVisible(boolean aVisible) Deprecated.voidsetWindowToPack(Window aWindowToPack) Deprecated.Sets aWindowto be packed each time a new bean has been selected in the Choice.protected voidDeprecated.Defines how to update the Choice.
-
Constructor Details
-
TLcdMultiBeanEditorPanel
public TLcdMultiBeanEditorPanel()Deprecated.Default constructor. -
TLcdMultiBeanEditorPanel
Deprecated.Constructor with aStringto 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 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.
-
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. TheStringused will be the displayName property of its property descriptor. -
addObject
Deprecated.Add a bean in theChoiceusing 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 aWindowto be packed each time a new bean has been selected in the Choice. -
getWindowToPack
Deprecated.Gets theWindowto be packed each time a new bean has been selected in the Choice, ornullif none has been set. -
isAutoUpdateFromPropertyEditors
public boolean isAutoUpdateFromPropertyEditors()Deprecated.Tests if the AutoUpdateFromPropertyEditors property istrueor not.- See Also:
-
setAutoUpdateFromPropertyEditors
public void setAutoUpdateFromPropertyEditors(boolean aBoolean) Deprecated.Only valid when the selected bean has noCustomizerand 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(thePropertyEditorfires then a PropertyChangeEvent).- See Also:
-
fireItemSelectedEvents
protected void fireItemSelectedEvents()Deprecated.Fires an ItemEvent to all registeredItemListenerwith the current selected bean. -
editSelectedBean
public void editSelectedBean()Deprecated.Defines how to edit the bean which name is currently selected in the Choice. Either itsCustomizeris used, if the bean has defined one, or aILcdPropertySheet.- See Also:
-
isButtonPanelVisible
public boolean isButtonPanelVisible()Deprecated.Tests if the OK, Apply, CancelButtonPanelis currently visible. -
setButtonPanelVisible
public void setButtonPanelVisible(boolean aButtonPanelVisible) Deprecated.Asks the OK, Apply, CancelButtonPanelto be visible or not. -
getSelectedObjects
Deprecated.Returns the selected items ornullif no items are selected.- Specified by:
getSelectedObjectsin interfaceItemSelectable
-
addItemListener
Deprecated.Adds a listener to receive item events when the state of an item changes.- Specified by:
addItemListenerin interfaceItemSelectable- Parameters:
aListener- the listener to receive events.
-
removeItemListener
Deprecated.Removes an item listener.- Specified by:
removeItemListenerin 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.
-