Class TLcyGXYAsynchronousLayerCustomizerPanelFactory
- All Implemented Interfaces:
ILcyCustomizerPanelFactory
For LayerContexts, the calls are delegated using a safe layer context as determined by
ALcyAsynchronousPaintFacade.invokeNowOnGXYLayer(com.luciad.view.gxy.ILcdGXYLayer, com.luciad.view.gxy.asynchronous.ILcdGXYAsynchronousLayerRunnable)
.
For ModelContexts, DomainObjectContexts and ModelEncoderContexts,
the calls are delegated with read-write model locks.
- See Also:
-
Constructor Summary
ConstructorDescriptionTLcyGXYAsynchronousLayerCustomizerPanelFactory
(ILcyLucyEnv aLucyEnv, ILcyCustomizerPanelFactory aCustomizerPanelFactory) Creates a new factory that creates wrapper panels around the panels produced by the given factory. -
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
-
TLcyGXYAsynchronousLayerCustomizerPanelFactory
public TLcyGXYAsynchronousLayerCustomizerPanelFactory(ILcyLucyEnv aLucyEnv, ILcyCustomizerPanelFactory aCustomizerPanelFactory) Creates a new factory that creates wrapper panels around the panels produced by the given factory.- Parameters:
aLucyEnv
- Lucy environmentaCustomizerPanelFactory
- factory whose panels to wrap. The factory must produce panels that are instances of java.awt.Component
-
-
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:
-