Class TLcyLspLayerCustomizerPanelFactory
- All Implemented Interfaces:
ILcyCustomizerPanelFactory
ILcyCustomizerPanelFactory
implementation which can create
ILcyCustomizerPanel
s for TLcyLayerContext
instances containing an
ILspLayer
, or an array of such TLcyLayerContext
instances.
Note: the customizer panel only contains the UI for general layer settings (label, visible,
...), not for the layer style settings. Other ILcyCustomizerPanelFactory
implementations are available for this in this package.
- Since:
- 2012.0
-
Constructor Summary
ConstructorDescriptionCreate a newTLcyLspLayerCustomizerPanelFactory
-
Method Summary
Modifier and TypeMethodDescriptionboolean
canCreateCustomizerPanel
(Object aObject) Returnstrue
ifcreateObjectCustomizer
will return a customizer that can handle the given object,false
otherwise.createCustomizerPanel
(Object aObject) Creates a new instance ofILcyCustomizerPanel
.
-
Constructor Details
-
TLcyLspLayerCustomizerPanelFactory
Create a newTLcyLspLayerCustomizerPanelFactory
- Parameters:
aLucyEnv
- The Lucy back-end
-
-
Method Details
-
canCreateCustomizerPanel
Description copied from interface:ILcyCustomizerPanelFactory
Returns
true
ifcreateObjectCustomizer
will return a customizer that can handle the given object,false
otherwise.- Specified by:
canCreateCustomizerPanel
in interfaceILcyCustomizerPanelFactory
- Parameters:
aObject
- The object to test if a customizer can be created for it.- Returns:
true
if createObjectCustomizer will return a customizer that can handle the given object,false
otherwise.- See Also:
-
createCustomizerPanel
Description copied from interface:ILcyCustomizerPanelFactory
Creates a new instance of
ILcyCustomizerPanel
. Users of this method will most likely set an object to the returnedILcyCustomizerPanel
usingILcyCustomizerPanel.setObject(Object)
. Whether that is possible can be verified in advance usingILcyCustomizerPanelFactory.canCreateCustomizerPanel(Object)
.- Specified by:
createCustomizerPanel
in interfaceILcyCustomizerPanelFactory
- Parameters:
aObject
- The object to create anILcyCustomizerPanel
for.- Returns:
- a new instance of
ILcyCustomizerPanel
. - See Also:
-