Class Image.Factory
java.lang.Object
de.espirit.firstspirit.client.plugin.report.Image.Factory
Factory for creation of different
Image
types.- Since:
- 5.1.19
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
Factory
public Factory()
-
-
Method Details
-
fromUrl
Creates anImage
object based on an url pointing to an image. The image URL may be absolute. If the URL is not absolute, it will be considered relative to the project-specific WebClient web application's directory and therefor will not be supported in JavaClient.- Parameters:
url
- image url- Returns:
- newly created
Image
object - Since:
- 5.1.19
-
fromIcon
Creates anImage
object based on an swing icon.- Parameters:
icon
- image icon- Returns:
- newly created
Image
object - Since:
- 5.1.19
-