Class TLfnVectorGXYPainterProvider
java.lang.Object
com.luciad.fusion.client.view.gxy.TLfnVectorGXYPainterProvider
- All Implemented Interfaces:
ILcdCloneable
,ILcdGXYPainterProvider
,Serializable
,Cloneable
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
ConstructorDescriptionTLfnVectorGXYPainterProvider
(ALfnVectorGXYStyleProvider aStyleProvider) Deprecated.Default constructor. -
Method Summary
Modifier and TypeMethodDescriptionclone()
Deprecated.RedefinesObject.clone
to make it public.getGXYPainter
(Object aObject) Deprecated.Finds anILcdGXYPainter
that can be used to paint or locate the object passed.boolean
Deprecated.Checks whether the paint cache is enabled.boolean
Deprecated.Checks whether fill painting is enabled.boolean
Deprecated.Checks whether outline painting is enabled.void
setPaintCache
(boolean aEnable) Deprecated.Configures the paint cache.void
setPaintFills
(boolean aEnable) Deprecated.Configures the fill painting.void
setPaintOutlines
(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:
true
if paint cache is enabled,false
otherwise
-
getPaintOutlines
public boolean getPaintOutlines()Deprecated.Checks whether outline painting is enabled.- Returns:
true
if outline painting is enabled,false
otherwise
-
getPaintFills
public boolean getPaintFills()Deprecated.Checks whether fill painting is enabled.- Returns:
true
if fill painting is enabled,false
otherwise
-
getGXYPainter
Deprecated.Description copied from interface:ILcdGXYPainterProvider
Finds anILcdGXYPainter
that 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:
getGXYPainter
in 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:ILcdGXYPainterProvider
RedefinesObject.clone
to make it public.- Specified by:
clone
in interfaceILcdCloneable
- Specified by:
clone
in interfaceILcdGXYPainterProvider
- Overrides:
clone
in classObject
- Returns:
- a clone of this painter provider.
- See Also:
-