@Deprecated public class TLcdIconImageUtil extends Object
TLcdImageIcon
,
TLcdIconFactory
Constructor and Description |
---|
TLcdIconImageUtil()
Deprecated.
|
TLcdIconImageUtil(Class aClass,
String[] aFilesNameArray)
Deprecated.
use TLcdIconImageUtil( String[] )
|
TLcdIconImageUtil(String[] aFilesNameArray)
Deprecated.
Constructor with a predefined set of image data locations.
|
Modifier and Type | Method and Description |
---|---|
int |
getIconHeight(short aType)
Deprecated.
use Image#getHeight directly
|
int |
getIconWidth(short aType)
Deprecated.
|
Image |
getImage(short aIndex)
Deprecated.
use getImage( String ).
|
Image |
getImage(short aIndex,
Class aClass)
Deprecated.
use getImage( String ).
|
Image |
getImage(short aIndex,
Class aClass,
Component aComponent)
Deprecated.
use getImage( String ).
|
Image |
getImage(String aImageName)
Deprecated.
Creates an image from the data stored in the location parameter and caches it.
|
Image |
getImage(String aImageName,
Class aClass)
Deprecated.
use getImage( String )
|
Image |
getImage(String aImageName,
Class aClass,
Component aComponent)
Deprecated.
use getImage( String )
|
boolean |
isTraceOn()
Deprecated.
This method has been deprecated. It is recommended to use the
standard Java logging framework directly.
|
Image |
loadImage(String aResourceLocation)
Deprecated.
Creates an image from the data stored in the given resource location.
|
Image |
loadImage(String resourceName,
Class aClass)
Deprecated.
|
Image |
loadImage(String resourceName,
Class aClass,
Component aComponent)
Deprecated.
use loadImage(String) instead.
|
void |
paintIcon(short aType,
Component c,
Graphics g)
Deprecated.
use Graphics#drawImage directly
|
void |
paintIcon(short aType,
Component c,
Graphics g,
int x,
int y)
Deprecated.
use Graphics#drawImage
|
void |
paintIcon(short aType,
int aSize,
Component c,
Graphics g,
int x,
int y)
Deprecated.
use Graphics#drawImage
|
void |
paintIcon(short aType,
int aWidth,
int aHeight,
Component c,
Graphics g,
int x,
int y)
Deprecated.
use Graphics#drawImage
|
static void |
setClassTraceOn(boolean aClassTraceOn)
Deprecated.
This method has been deprecated. It is recommended to use the
standard Java logging framework directly.
|
void |
setFilesNames(String[] aFilesNames)
Deprecated.
|
void |
setTraceOn(boolean aTraceOn)
Deprecated.
This method has been deprecated. It is recommended to use the
standard Java logging framework directly.
|
String |
toString(short aImageIndex)
Deprecated.
|
@Deprecated public TLcdIconImageUtil(Class aClass, String[] aFilesNameArray)
aClass
- not used.aFilesNameArray
- an array of locations of image data.public TLcdIconImageUtil(String[] aFilesNameArray)
aFilesNameArray
- an array of locations of image data.public TLcdIconImageUtil()
public static void setClassTraceOn(boolean aClassTraceOn)
true
then all log messages are recorded, otherwise only
the informative, warning and error messages are recorded.aClassTraceOn
- if true then all log messages are recorded,
otherwise only the informative, warning and error messages are recorded.public void setTraceOn(boolean aTraceOn)
true
or false
as argument automatically turns
off tracing for all other class instances for which
setTraceOn
has not been called.
If the argument is false
then only the informative, warning
and error log messages are recorded.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.public boolean isTraceOn()
true
if tracing is enabled for this class.@Deprecated public void setFilesNames(String[] aFilesNames)
public int getIconWidth(short aType)
@Deprecated public int getIconHeight(short aType)
@Deprecated public void paintIcon(short aType, Component c, Graphics g)
ILcdIcon
at the specified location. ILcdIcon
implementations
may use the Component
argument to get properties useful for
painting, e.g. the foreground or background color.@Deprecated public void paintIcon(short aType, int aSize, Component c, Graphics g, int x, int y)
@Deprecated public void paintIcon(short aType, int aWidth, int aHeight, Component c, Graphics g, int x, int y)
@Deprecated public void paintIcon(short aType, Component c, Graphics g, int x, int y)
ILcdIcon
at the specified location. ILcdIcon
implementations
may use the Component
argument to get properties useful for
painting, e.g. the foreground or background color.@Deprecated public Image getImage(short aIndex, Class aClass)
aIndex
- the index in the file names array.aClass
- not used.@Deprecated public Image getImage(short aIndex, Class aClass, Component aComponent)
aIndex
- the index in the file names array.aClass
- not used.aComponent
- not used.@Deprecated public Image getImage(short aIndex)
aIndex
- the index in the file names array.public Image getImage(String aImageName, Class aClass)
aImageName
- the location where the image data is stored.aClass
- not used.public Image getImage(String aImageName, Class aClass, Component aComponent)
aImageName
- the location where the image data is stored.aClass
- not used.aComponent
- not used.public Image getImage(String aImageName)
aImageName
- the location where the image data is stored.public Image loadImage(String resourceName, Class aClass, Component aComponent)
resourceName
- the location of the file to create an image from.aClass
- not used.aComponent
- not used.public Image loadImage(String aResourceLocation)
aResourceLocation
- the location of the file to create an image from.public String toString(short aImageIndex)