Package com.luciad.gui
Class TLcdVectorIcon
java.lang.Object
com.luciad.gui.TLcdCompositeIcon
com.luciad.gui.TLcdVectorIcon
- All Implemented Interfaces:
ILcdIcon,ILcdResizeableIcon,ILcdCloneable,Serializable,Cloneable
Deprecated.
Do not use this class, it is for internal use only.
Vector based icon, for internal use only.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Empty constructor.TLcdVectorIcon(String aSourceName) Deprecated.Load a vector icon from the given source, and scale it to 32x32 pixels.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. -
Method Summary
Modifier and TypeMethodDescriptionvoidchangeFillColors(Color aColor) Deprecated.Changes the fill color of the icons contained in this composite icon.voidchangeLineColors(Color aColor) Deprecated.Changes the line color of the icons contained in this composite icon.clone()Deprecated.MakesObject.clone()public.booleanDeprecated.Deprecated.Return the bounds of the original unscaled icon as a Rectangle2D.Deprecated.Return the default fill color.Deprecated.Return the default line color.Deprecated.Get the source name of the icon.inthashCode()Deprecated.voidmove(double aDeltaX, double aDeltaY) Deprecated.Move the icon over the given delta's.voidscale(double aFactor) Deprecated.Scale the icon with the given factor.voidsetSize(int aWidth, int aHeight) Deprecated.Sets the width and the height for this icon.Methods inherited from class com.luciad.gui.TLcdCompositeIcon
addIcon, getIcon, getIconCount, getIconHeight, getIconWidth, paintIcon, removeAll, removeIcon, setIconHeight, setIconWidth
-
Constructor Details
-
TLcdVectorIcon
public TLcdVectorIcon()Deprecated.Empty constructor. -
TLcdVectorIcon
Deprecated.Load a vector icon from the given source, and scale it to 32x32 pixels.- Parameters:
aSourceName- the source.
-
TLcdVectorIcon
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
Deprecated.Get the source name of the icon.- Returns:
- the source name of the icon.
-
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
Deprecated.Description copied from interface:ILcdCloneableMakes
When for example extending fromObject.clone()public.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:
clonein interfaceILcdCloneable- Overrides:
clonein classTLcdCompositeIcon- See Also:
-
getDefaultLineColor
Deprecated.Return the default line color.- Returns:
- the default line color.
-
getDefaultFillColor
Deprecated.Return the default fill color.- Returns:
- the default fill color.
-
changeFillColors
Deprecated.Changes the fill color of the icons contained in this composite icon.- Parameters:
aColor- the new fill color
-
changeLineColors
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
Deprecated.- Overrides:
equalsin classTLcdCompositeIcon
-
hashCode
public int hashCode()Deprecated.- Overrides:
hashCodein classTLcdCompositeIcon
-