java.lang.Object
org.omnifaces.resourcehandler.WebAppManifest.Screenshot
- Enclosing class:
- WebAppManifest
To be used in
WebAppManifest.getScreenshots()- Version:
- 4.5
-
Method Summary
Modifier and TypeMethodDescriptionbooleangetSizes()getSrc()getType()inthashCode()static WebAppManifest.Screenshotof(String resourceIdentifier, WebAppManifest.ScreenshotFormFactor formFactor, WebAppManifest.Size... sizes) Creates a screenshot image resource of given resource identifier and sizes.
-
Method Details
-
getSrc
-
getSizes
-
getType
-
getFormFactor
-
of
public static WebAppManifest.Screenshot of(String resourceIdentifier, WebAppManifest.ScreenshotFormFactor formFactor, WebAppManifest.Size... sizes) Creates a screenshot image resource of given resource identifier and sizes.- Parameters:
resourceIdentifier- The Faces resource identifier. E.g.library:path/name.pngformFactor- The supportedWebAppManifest.ScreenshotFormFactor(wide or narrow).- Returns:
- Screenshot resource of given resource identifier and sizes.
- Throws:
NullPointerException- When resource identifier is null.IllegalArgumentException- When resource cannot be found.
-
equals
-
hashCode
public int hashCode()
-