Package rma.swing
Class RmaImage
java.lang.Object
rma.swing.RmaImage
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CompositeIconFactory
getCompositeIconFactory
(String name, int width, int height) The method creates a factory that allows the interation over a 1 or 2 dimmensional "array" of same sized icons in an image.static Icon
getDisabledIcon
(Icon icon) static Image
getDisabledImage
(Image image) static ImageIcon
getImageIcon
(String name) Retrieves a ImageIcon for a particular path.static ImageIcon
getImageIcon
(URL url) static Image
loadbitmap
(URL url) Returns: Image Object, be sure to check for (Image)null !!!!static Image
loadURLImage
(Component parent, String urlstr) Deprecated.use loadURLImage(String urlstr) insteadstatic Image
loadURLImage
(String urlstr)
-
Field Details
-
mTracker
-
-
Constructor Details
-
RmaImage
public RmaImage()
-
-
Method Details
-
loadURLImage
Deprecated.use loadURLImage(String urlstr) instead- Parameters:
parent
- unusedurlstr
- - URL for the image resource- Returns:
- Image loaded from the supplied URL, can be null if the image does not exist
-
loadURLImage
-
getImageIcon
Retrieves a ImageIcon for a particular path. The path could be a path for a system resource, or a file path. This method checks the system resources first. If nothing is found, it checks the file path. If -
getImageIcon
-
loadbitmap
Returns: Image Object, be sure to check for (Image)null !!!! -
getCompositeIconFactory
The method creates a factory that allows the interation over a 1 or 2 dimmensional "array" of same sized icons in an image.- Parameters:
name
- the name of the image to loadwidth
- the width of every imageheight
- the height of every image.
-
getDisabledIcon
-
getDisabledImage
-