Package com.luciad.lucy.gui.customizer
Interface ILcyCustomizerPanelFactory
- All Known Implementing Classes:
com.luciad.internal.lucy.gui.customizer.lightspeed.ALcyArrayCustomizerPanelFactory
,ALcyCustomizerPanelFactory
,TLcyCompositeCustomizerPanelFactory
,TLcyEditableAPP6AObjectCustomizerPanelFactory
,TLcyEditableMS2525bObjectCustomizerPanelFactory
,TLcyGXYAsynchronousLayerCustomizerPanelFactory
,TLcyLspLayerCustomizerPanelFactory
,TLcyLspStyledLayerCustomizerPanelFactory
,TLcyPrintAreaCustomizerFactory
public interface ILcyCustomizerPanelFactory
Factory to creates instances of ILcyCustomizerPanel
. An
implementation can only create customizer panels for a certain object when
canCreateCustomizerPanel
returns true
for that object.
Uses the abstract factory design pattern.
-
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
.
-
Method Details
-
canCreateCustomizerPanel
Returns
true
ifcreateObjectCustomizer
will return a customizer that can handle the given object,false
otherwise.- 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
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 usingcanCreateCustomizerPanel(Object)
.- Parameters:
aObject
- The object to create anILcyCustomizerPanel
for.- Returns:
- a new instance of
ILcyCustomizerPanel
. - Throws:
IllegalArgumentException
- IfcanCreateCustomizerPanel
returnsfalse
foraObject
.- See Also:
-