Class TLfnVectorGXYPainterProvider

java.lang.Object
com.luciad.fusion.client.view.gxy.TLfnVectorGXYPainterProvider
All Implemented Interfaces:
ILcdCloneable, ILcdGXYPainterProvider, Serializable, Cloneable

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 Details

    • TLfnVectorGXYPainterProvider

      public TLfnVectorGXYPainterProvider(ALfnVectorGXYStyleProvider aStyleProvider)
      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

      public ILcdGXYPainter getGXYPainter(Object aObject)
      Deprecated.
      Description copied from interface: ILcdGXYPainterProvider
      Finds an ILcdGXYPainter 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 interface ILcdGXYPainterProvider
      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
      Redefines Object.clone to make it public.
      Specified by:
      clone in interface ILcdCloneable
      Specified by:
      clone in interface ILcdGXYPainterProvider
      Overrides:
      clone in class Object
      Returns:
      a clone of this painter provider.
      See Also: