Class TLcyLspLayerCustomizerPanelFactory
- All Implemented Interfaces:
ILcyCustomizerPanelFactory
ILcyCustomizerPanelFactory implementation which can create
ILcyCustomizerPanels 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
ConstructorsConstructorDescriptionCreate a newTLcyLspLayerCustomizerPanelFactory -
Method Summary
Modifier and TypeMethodDescriptionbooleancanCreateCustomizerPanel(Object aObject) ReturnstrueifcreateObjectCustomizerwill return a customizer that can handle the given object,falseotherwise.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:ILcyCustomizerPanelFactoryReturns
trueifcreateObjectCustomizerwill return a customizer that can handle the given object,falseotherwise.- Specified by:
canCreateCustomizerPanelin interfaceILcyCustomizerPanelFactory- Parameters:
aObject- The object to test if a customizer can be created for it.- Returns:
trueif createObjectCustomizer will return a customizer that can handle the given object,falseotherwise.- See Also:
-
createCustomizerPanel
Description copied from interface:ILcyCustomizerPanelFactoryCreates a new instance of
ILcyCustomizerPanel. Users of this method will most likely set an object to the returnedILcyCustomizerPanelusingILcyCustomizerPanel.setObject(Object). Whether that is possible can be verified in advance usingILcyCustomizerPanelFactory.canCreateCustomizerPanel(Object).- Specified by:
createCustomizerPanelin interfaceILcyCustomizerPanelFactory- Parameters:
aObject- The object to create anILcyCustomizerPanelfor.- Returns:
- a new instance of
ILcyCustomizerPanel. - See Also:
-