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
ConstructorsConstructorDescriptionTLcyGXYAsynchronousLayerCustomizerPanelFactory(ILcyLucyEnv aLucyEnv, ILcyCustomizerPanelFactory aCustomizerPanelFactory) Creates a new factory that creates wrapper panels around the panels produced by the given factory. -
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
-
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: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:
-