Package com.luciad.gui
Class TLcdIconImageUtil
java.lang.Object
com.luciad.gui.TLcdIconImageUtil
Deprecated.
use TLcdImageIcon.getImage or ImageIO if you need to load Images.
Utility class to retrieve images.
Used for internal purposes. It is not advised to use this class directly.
- See Also:
-
Constructor Summary
ConstructorDescriptionDeprecated.TLcdIconImageUtil
(Class aClass, String[] aFilesNameArray) Deprecated.use TLcdIconImageUtil( String[] )TLcdIconImageUtil
(String[] aFilesNameArray) Deprecated.Constructor with a predefined set of image data locations. -
Method Summary
Modifier and TypeMethodDescriptionint
getIconHeight
(short aType) Deprecated.use Image#getHeight directlyint
getIconWidth
(short aType) Deprecated.getImage
(short aIndex) Deprecated.use getImage( String ).Deprecated.use getImage( String ).Deprecated.use getImage( String ).Deprecated.Creates an image from the data stored in the location parameter and caches it.Deprecated.use getImage( String )Deprecated.use getImage( String )boolean
Deprecated.This method has been deprecated.Deprecated.Creates an image from the data stored in the given resource location.Deprecated.Deprecated.use loadImage(String) instead.void
Deprecated.use Graphics#drawImagevoid
Deprecated.use Graphics#drawImagevoid
Deprecated.use Graphics#drawImage directlyvoid
Deprecated.use Graphics#drawImagestatic void
setClassTraceOn
(boolean aClassTraceOn) Deprecated.This method has been deprecated.void
setFilesNames
(String[] aFilesNames) Deprecated.void
setTraceOn
(boolean aTraceOn) Deprecated.This method has been deprecated.toString
(short aImageIndex) Deprecated.
-
Constructor Details
-
TLcdIconImageUtil
Deprecated.use TLcdIconImageUtil( String[] )Constructor with a predefined set of image data locations.- Parameters:
aClass
- not used.aFilesNameArray
- an array of locations of image data.
-
TLcdIconImageUtil
Deprecated.Constructor with a predefined set of image data locations.- Parameters:
aFilesNameArray
- an array of locations of image data.
-
TLcdIconImageUtil
public TLcdIconImageUtil()Deprecated.
-
-
Method Details
-
setClassTraceOn
public static void setClassTraceOn(boolean aClassTraceOn) Deprecated.This method has been deprecated. It is recommended to use the standard Java logging framework directly.Enables tracing for all instances of this class. If the argument istrue
then all log messages are recorded, otherwise only the informative, warning and error messages are recorded.- Parameters:
aClassTraceOn
- if true then all log messages are recorded, otherwise only the informative, warning and error messages are recorded.
-
setTraceOn
public void setTraceOn(boolean aTraceOn) Deprecated.This method has been deprecated. It is recommended to use the standard Java logging framework directly.Enables tracing for this class instance. Calling this method with eithertrue
orfalse
as argument automatically turns off tracing for all other class instances for whichsetTraceOn
has not been called. If the argument isfalse
then only the informative, warning and error log messages are recorded.- Parameters:
aTraceOn
- if true then all log messages are recorded for this instance. If false, then only the informative, warning and error log messages are recorded.
-
isTraceOn
public boolean isTraceOn()Deprecated.This method has been deprecated. It is recommended to use the standard Java logging framework directly.Returnstrue
if tracing is enabled for this class.- Returns:
- true if tracing is enabled for this class, false otherwise.
-
setFilesNames
Deprecated. -
getIconWidth
public int getIconWidth(short aType) Deprecated.- Returns:
- the fixed width of the icon.
-
getIconHeight
Deprecated.use Image#getHeight directly- Returns:
- the fixed height of the icon.
-
paintIcon
Deprecated.use Graphics#drawImage directlyDraw theILcdIcon
at the specified location.ILcdIcon
implementations may use theComponent
argument to get properties useful for painting, e.g. the foreground or background color. -
paintIcon
Deprecated.use Graphics#drawImage -
paintIcon
@Deprecated public void paintIcon(short aType, int aWidth, int aHeight, Component c, Graphics g, int x, int y) Deprecated.use Graphics#drawImage -
paintIcon
Deprecated.use Graphics#drawImageDraw theILcdIcon
at the specified location.ILcdIcon
implementations may use theComponent
argument to get properties useful for painting, e.g. the foreground or background color. -
getImage
Deprecated.use getImage( String ).Returns and caches the image that is based on the data stored on the location of the entry aIndex in the file names set.- Parameters:
aIndex
- the index in the file names array.aClass
- not used.- Returns:
- an image constructed from the data stored if the index is within the length of the file names array set.
-
getImage
Deprecated.use getImage( String ).Returns and caches the image that is based on the data stored on the location of the entry aIndex in the file names set.- Parameters:
aIndex
- the index in the file names array.aClass
- not used.aComponent
- not used.- Returns:
- an image constructed from the data stored if the index is within the length of the file names array set.
-
getImage
Deprecated.use getImage( String ).Returns and caches the image that is based on the data stored on the location of the entry aIndex in the file names set.- Parameters:
aIndex
- the index in the file names array.- Returns:
- an image constructed from the data stored if the index is within the length of the file names array set.
-
getImage
Deprecated.use getImage( String )Creates an image from the data stored in the location parameter and caches it.- Parameters:
aImageName
- the location where the image data is stored.aClass
- not used.- Returns:
- an image constructed from the data in the location passed.
-
getImage
Deprecated.use getImage( String )Creates an image from the data stored in the location parameter and caches it.- Parameters:
aImageName
- the location where the image data is stored.aClass
- not used.aComponent
- not used.- Returns:
- an image constructed from the data in the location passed.
-
getImage
Deprecated.Creates an image from the data stored in the location parameter and caches it.- Parameters:
aImageName
- the location where the image data is stored.- Returns:
- an image constructed from the data in the location passed.
-
loadImage
Deprecated. -
loadImage
Deprecated.use loadImage(String) instead.Creates an image from the data stored in the given resource location.- Parameters:
resourceName
- the location of the file to create an image from.aClass
- not used.aComponent
- not used.- Returns:
- an Image created from the data stored in aResourceLocation.
-
loadImage
Deprecated.Creates an image from the data stored in the given resource location.- Parameters:
aResourceLocation
- the location of the file to create an image from.- Returns:
- an Image created from the data stored in aResourceLocation.
-
toString
Deprecated.
-