Class RelatedContentDesc
java.lang.Object
net.adoptopenjdk.icedteaweb.jnlp.element.information.RelatedContentDesc
The optional related-content element describes an additional piece of related content, such as a
readme file, help pages, or links to registration pages, as a hint to the JNLP Client.
The application is asking that this content be included in its desktop integration.
The related-content element has a mandatory href attribute.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetIcon()getTitle()voidsetDescription(String description) Set the description of this related content.voidsetIconDesc(IconDesc icon) Set the icon for this related contentvoidSet the title of this content.
-
Field Details
-
RELATED_CONTENT_ELEMENT
- See Also:
-
HREF_ATTRIBUTE
- See Also:
-
TITLE_ELEMENT
- See Also:
-
DESCRIPTION_ELEMENT
- See Also:
-
ICON_ELEMENT
- See Also:
-
-
Constructor Details
-
RelatedContentDesc
Create a related-content descriptor.- Parameters:
location- the location of the related content
-
-
Method Details
-
setTitle
Set the title of this content.- Parameters:
title- the title of this content
-
getTitle
- Returns:
- the title of this content.
-
setDescription
Set the description of this related content.- Parameters:
description- to be set
-
getDescription
- Returns:
- the description of the related content
-
getLocation
- Returns:
- the mandatory location of the related content.
-
setIconDesc
Set the icon for this related content- Parameters:
icon- set to be used
-
getIcon
- Returns:
- the icon descriptor for the related content
-