- java.lang.Object
-
- org.omnifaces.resourcehandler.WebAppManifest.Shortcut
-
- Enclosing class:
- WebAppManifest
protected static final class WebAppManifest.Shortcut extends Object
to be usedWebAppManifest.getShortcuts()- Version:
- 4.5
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object object)StringgetDescription()Collection<WebAppManifest.ImageResource>getIcons()StringgetName()StringgetShortName()StringgetUrl()inthashCode()static WebAppManifest.Shortcutof(String name, String shortName, String description, String url, Collection<WebAppManifest.ImageResource> icons)Creates a Shortcut action link with the given attributes.
-
-
-
Method Detail
-
of
public static WebAppManifest.Shortcut of(String name, String shortName, String description, String url, Collection<WebAppManifest.ImageResource> icons)
Creates a Shortcut action link with the given attributes.- Parameters:
name- the name of the shortcut actionshortName- a short name for the shortcut actiondescription- a description of the shortcut actionicons- aCollectionofWebAppManifest.ImageResourceto be used as icon for the context menu- Returns:
- Shortcut image icon to be used in the context action menu.
-
getName
public String getName()
-
getShortName
public String getShortName()
-
getDescription
public String getDescription()
-
getUrl
public String getUrl()
-
getIcons
public Collection<WebAppManifest.ImageResource> getIcons()
-
-