Class TLcdVectorIcon

java.lang.Object
com.luciad.gui.TLcdCompositeIcon
com.luciad.gui.TLcdVectorIcon
All Implemented Interfaces:
ILcdIcon, ILcdResizeableIcon, ILcdCloneable, Serializable, Cloneable

@Deprecated public class TLcdVectorIcon extends TLcdCompositeIcon
Deprecated.
Do not use this class, it is for internal use only.
Vector based icon, for internal use only.
See Also:
  • Constructor Details

    • TLcdVectorIcon

      public TLcdVectorIcon()
      Deprecated.
      Empty constructor.
    • TLcdVectorIcon

      public TLcdVectorIcon(String aSourceName)
      Deprecated.
      Load a vector icon from the given source, and scale it to 32x32 pixels.
      Parameters:
      aSourceName - the source.
    • TLcdVectorIcon

      public TLcdVectorIcon(String aSourceName, int aWidth, int aHeight)
      Deprecated.
      Load a vector icon from the given source, and scale it to the given width and height.
      Parameters:
      aSourceName - the source.
      aWidth - the width.
      aHeight - the height.
  • Method Details

    • getSourceName

      public String getSourceName()
      Deprecated.
      Get the source name of the icon.
      Returns:
      the source name of the icon.
    • getBounds

      public Rectangle2D getBounds()
      Deprecated.
      Return the bounds of the original unscaled icon as a Rectangle2D.
      Returns:
      the bounds of the original unscaled icon as a Rectangle2D.
    • move

      public void move(double aDeltaX, double aDeltaY)
      Deprecated.
      Move the icon over the given delta's.
      Parameters:
      aDeltaX - delta in X direction.
      aDeltaY - delta in Y direction.
    • scale

      public void scale(double aFactor)
      Deprecated.
      Scale the icon with the given factor.
      Parameters:
      aFactor - the scale factor.
    • 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
      Overrides:
      clone in class TLcdCompositeIcon
      See Also:
    • getDefaultLineColor

      public Color getDefaultLineColor()
      Deprecated.
      Return the default line color.
      Returns:
      the default line color.
    • getDefaultFillColor

      public Color getDefaultFillColor()
      Deprecated.
      Return the default fill color.
      Returns:
      the default fill color.
    • changeFillColors

      public void changeFillColors(Color aColor)
      Deprecated.
      Changes the fill color of the icons contained in this composite icon.
      Parameters:
      aColor - the new fill color
    • changeLineColors

      public void changeLineColors(Color aColor)
      Deprecated.
      Changes the line color of the icons contained in this composite icon.
      Parameters:
      aColor - the new line color
    • setSize

      public void setSize(int aWidth, int aHeight)
      Deprecated.
      Sets the width and the height for this icon.
      Parameters:
      aWidth - The icon width.
      aHeight - The icon height.
    • equals

      public boolean equals(Object aObject)
      Deprecated.
      Overrides:
      equals in class TLcdCompositeIcon
    • hashCode

      public int hashCode()
      Deprecated.
      Overrides:
      hashCode in class TLcdCompositeIcon