Class TLcyPIMPreviewUnitPainterProvider

java.lang.Object
com.luciad.lucy.addons.pim.TLcyPIMPreviewUnitPainterProvider
All Implemented Interfaces:
ILcdCloneable, ILcdGXYPainterProvider, Serializable, Cloneable

public class TLcyPIMPreviewUnitPainterProvider extends Object implements ILcdGXYPainterProvider, Cloneable
This class is only here because of beans compatibility. Do not use this class, it's subject to change or disappear without notice.
See Also:
  • Constructor Details

    • TLcyPIMPreviewUnitPainterProvider

      public TLcyPIMPreviewUnitPainterProvider()
  • Method Details

    • getObjectIconProvider

      public ILcdObjectIconProvider getObjectIconProvider()
    • setObjectIconProvider

      public void setObjectIconProvider(ILcdObjectIconProvider aObjectIconProvider)
    • getGXYPainter

      public ILcdGXYPainter getGXYPainter(Object aObject)
      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

      public Object clone()
      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: