Class TLcdGXYPointShapeListPainter

All Implemented Interfaces:
ILcdCloneable, ILcdDeepCloneable, ILcdPropertyChangeSource, ILcdGXYEditor, ILcdGXYEditorProvider, ILcdGXYPainter, ILcdGXYPainterProvider, ILcdGXYPathPainter, Serializable, Cloneable

public class TLcdGXYPointShapeListPainter extends TLcdGXYShapeListPainter
Deprecated.
This class extends TLcdGXYShapeListPainter for painting ILcdShapeList objects whose ILcdShape objects can be cast to an ILcdPoint. This class holds an instance of TLcdSingleGXYPainterProvider, which will be responsible for providing an ILcdGXYPainter for each of the constituting ILcdShape objects of the given ILcdShapeList objects. The painter that is returned by the TLcdSingleGXYPainterProvider is a TLcdGXYIconPainter. Its property displayName (see ALcdGXYPainter) is set to "FeaturedPoint".
See Also:
  • Constructor Details

    • TLcdGXYPointShapeListPainter

      public TLcdGXYPointShapeListPainter()
      Deprecated.
      Default constructor, sets the display name to FeaturedPoint and does not set the default or the selection icon.
    • TLcdGXYPointShapeListPainter

      public TLcdGXYPointShapeListPainter(ILcdIcon aDefaultIcon)
      Deprecated.
      Calls the default constructor and sets the default icon.
      Parameters:
      aDefaultIcon - the icon to paint points with in default mode.
      See Also:
    • TLcdGXYPointShapeListPainter

      public TLcdGXYPointShapeListPainter(ILcdIcon aDefaultIcon, ILcdIcon aSelectionIcon)
      Deprecated.
      Calls the default constructor and sets the default and selection icon.
      Parameters:
      aDefaultIcon - the icon to paint points with in default mode.
      aSelectionIcon - the icon to paint points with in selection mode.
  • Method Details

    • retrieveShapePainter

      protected final ILcdGXYPainter retrieveShapePainter(ILcdShapeList aShapeList, int aShapeIndex)
      Deprecated.
      Description copied from class: TLcdGXYShapeListPainter
      Returns the painter for the shape at the given index in the ILcdShapeList object.
      Overrides:
      retrieveShapePainter in class TLcdGXYShapeListPainter
      Parameters:
      aShapeList - The shape list containing the shape.
      aShapeIndex - The index of the shape within the shape list.
      Returns:
      the painter for the shape at the given index in the ILcdShapeList object.
    • getDefaultIcon

      public ILcdIcon getDefaultIcon()
      Deprecated.
      Returns the icon to paint points with in default mode.
      Returns:
      the icon to paint points with in default mode.
      See Also:
    • setDefaultIcon

      public void setDefaultIcon(ILcdIcon aIcon)
      Deprecated.
      Sets the icon to paint points with in default mode.
      Parameters:
      aIcon - the icon to paint points with in default mode.
      See Also:
    • getSelectionIcon

      public ILcdIcon getSelectionIcon()
      Deprecated.
      Returns the icon to paint points with in selection mode.
      Returns:
      the icon to paint points with in selection mode.
      See Also:
    • setSelectionIcon

      public void setSelectionIcon(ILcdIcon aSelectionIcon)
      Deprecated.
      Sets the icon to paint points with in selection mode.
      Parameters:
      aSelectionIcon - the icon to paint points with in selection mode.
      See Also:
    • clone

      public Object clone()
      Deprecated.
      Description copied from interface: ILcdCloneable

      Makes Object.clone() public.

      When for example extending from java.lang.Object, it can be implemented like this:
      
       public Object clone() {
         try {
           return super.clone();
         } catch ( CloneNotSupportedException e ) {
           // Cannot happen: extends from Object and implements Cloneable (see also Object.clone)
           throw new RuntimeException( e );
         }
       }
       
      Specified by:
      clone in interface ILcdCloneable
      Specified by:
      clone in interface ILcdGXYEditorProvider
      Specified by:
      clone in interface ILcdGXYPainterProvider
      Overrides:
      clone in class TLcdGXYShapeListPainter
      Returns:
      a clone of this painter provider.
      See Also: