Class TLfnVectorGXYPainterProvider
java.lang.Object
com.luciad.fusion.client.view.gxy.TLfnVectorGXYPainterProvider
- All Implemented Interfaces:
ILcdCloneable,ILcdGXYPainterProvider,Serializable,Cloneable
@Deprecated
public class TLfnVectorGXYPainterProvider
extends Object
implements ILcdGXYPainterProvider
Deprecated.
Since 2017.0 support for coverages of type VECTOR has been superseded with other mechanisms. Please refer to the Fusion migration guide for more information.
A default painter provider implementation for painting layers
representing a LuciadFusion vector coverage.
- Since:
- 11.0
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionTLfnVectorGXYPainterProvider(ALfnVectorGXYStyleProvider aStyleProvider) Deprecated.Default constructor. -
Method Summary
Modifier and TypeMethodDescriptionclone()Deprecated.RedefinesObject.cloneto make it public.getGXYPainter(Object aObject) Deprecated.Finds anILcdGXYPainterthat can be used to paint or locate the object passed.booleanDeprecated.Checks whether the paint cache is enabled.booleanDeprecated.Checks whether fill painting is enabled.booleanDeprecated.Checks whether outline painting is enabled.voidsetPaintCache(boolean aEnable) Deprecated.Configures the paint cache.voidsetPaintFills(boolean aEnable) Deprecated.Configures the fill painting.voidsetPaintOutlines(boolean aEnable) Deprecated.Configures the outline painting.
-
Constructor Details
-
TLfnVectorGXYPainterProvider
Deprecated.Default constructor. The paint cache is disabled and both fills and outlines are painted.
-
-
Method Details
-
setPaintCache
public void setPaintCache(boolean aEnable) Deprecated.Configures the paint cache.- Parameters:
aEnable- enable or disable- See Also:
-
setPaintOutlines
public void setPaintOutlines(boolean aEnable) Deprecated.Configures the outline painting.- Parameters:
aEnable- enable or disable- See Also:
-
setPaintFills
public void setPaintFills(boolean aEnable) Deprecated.Configures the fill painting.- Parameters:
aEnable- enable or disable- See Also:
-
getPaintCache
public boolean getPaintCache()Deprecated.Checks whether the paint cache is enabled. The paint cache allows painters to cache intermediate objects used for painting with the painted objects. When objects are painted multiple times, this can improve the performance.- Returns:
trueif paint cache is enabled,falseotherwise
-
getPaintOutlines
public boolean getPaintOutlines()Deprecated.Checks whether outline painting is enabled.- Returns:
trueif outline painting is enabled,falseotherwise
-
getPaintFills
public boolean getPaintFills()Deprecated.Checks whether fill painting is enabled.- Returns:
trueif fill painting is enabled,falseotherwise
-
getGXYPainter
Deprecated.Description copied from interface:ILcdGXYPainterProviderFinds anILcdGXYPainterthat can be used to paint or locate the object passed.The painter provider is responsible for setting the object to the painter before returning the painter. An implementation should therefore have the following structure:
public ILcdGXYPainter getGXYPainter(Object aObject) { ILcdGXYPainter painter = ... // find the painter for the object if (painter != null) { painter.setObject(aObject); } return painter; }- Specified by:
getGXYPainterin interfaceILcdGXYPainterProvider- Parameters:
aObject- the object to find a painter for- Returns:
- a painter that can be used to paint or locate the object; or null if no painter could be found for the given object, or the object could not be set on the retrieved painter.
-
clone
Deprecated.Description copied from interface:ILcdGXYPainterProviderRedefinesObject.cloneto make it public.- Specified by:
clonein interfaceILcdCloneable- Specified by:
clonein interfaceILcdGXYPainterProvider- Overrides:
clonein classObject- Returns:
- a clone of this painter provider.
- See Also:
-