- 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 boolean
equals(Object object)
String
getDescription()
Collection<WebAppManifest.ImageResource>
getIcons()
String
getName()
String
getShortName()
String
getUrl()
int
hashCode()
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.
-
-
-
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
- aCollection
ofWebAppManifest.ImageResource
to 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()
-
-