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
FieldsModifier and TypeFieldDescriptionprivate StringA short description of the related content.static final Stringstatic final Stringprivate IconDescThe icon can be used by the JNLP Client to identify the related content to the user.static final Stringprivate final URLThe mandatory location of the content.static final Stringprivate StringThe name of the related content.static final String -
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:
-
title
The name of the related content. -
description
A short description of the related content. -
location
The mandatory location of the content. -
icon
The icon can be used by the JNLP Client to identify the related content to the user.
-
-
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
-