Class JMTImageLoader
java.lang.Object
common.JMTImageLoader
Name: JMTImageLoader
Description: Loads and caches images to create icons. This class is designed to be accessed in a static manner.
Date: 23/gen/07 Time: 16:15:32
- Version:
- 1.2
- Author:
- Bertoli Marco
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ImageLoaderstatic ImageIconLoads the image from this directory.static ImageIconLoads the image from this directory, and applies a specified size.static ImageIconLoads the image from this directory, and applies a known modifier.static ImageIconLoads the image from this directory, and applies a known modifier and specified size.static ImageIconLoads the image from this directory, and applies a known modifier.static ImageloadImageAwt(String imageName) Loads the image from this directory.
-
Field Details
-
imageLoader
-
-
Constructor Details
-
JMTImageLoader
public JMTImageLoader()
-
-
Method Details
-
loadImage
-
loadImage
Loads the image from this directory, and applies a specified size. Please put all images in the class package.- Parameters:
imageName- string containing the image namesize- specific size for the image to be returned- Returns:
- the icon of the image
-
loadImageAwt
-
getImageLoader
- Returns:
- encapsulated ImageLoader object
-
loadImage
Loads the image from this directory, and applies a known modifier. Please put all images in the class package.- Parameters:
imageName- string containing the image namemodifier- known modifier method- Returns:
- the icon of the image
- See Also:
-
loadImage
Loads the image from this directory, and applies a known modifier. Please put all images in the class package.- Parameters:
imageName- string containing the image namemodifier- known modifier methodangle- the rotation angle in degrees- Returns:
- the icon of the image
- See Also:
-
loadImage
Loads the image from this directory, and applies a known modifier and specified size. Please put all images in the class package.- Parameters:
imageName- string containing the image namemodifier- known modifier methodsize- specific size for the image to be returned- Returns:
- the icon of the image
- See Also:
-