Package net.sourceforge.jnlp
Class RelatedContentDesc
- java.lang.Object
-
- net.sourceforge.jnlp.RelatedContentDesc
-
public class RelatedContentDesc extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description RelatedContentDesc(java.net.URL href)Create a related-content descriptor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetDescription()IconDescgetIcon()java.net.URLgetLocation()java.lang.StringgetTitle()voidsetDescription(java.lang.String description)Set the description of this related contentvoidsetIconDesc(IconDesc icon)Set the icon for this related contentvoidsetTitle(java.lang.String title)Set the title of this content
-
-
-
Method Detail
-
setTitle
public void setTitle(java.lang.String title)
Set the title of this content- Parameters:
title- the title of this content
-
getTitle
public java.lang.String getTitle()
- Returns:
- the title of this content..
-
setDescription
public void setDescription(java.lang.String description)
Set the description of this related content- Parameters:
description- to be set
-
getDescription
public java.lang.String getDescription()
- Returns:
- the description of the related content
-
getLocation
public java.net.URL getLocation()
- Returns:
- the location of the related content. Not null
-
setIconDesc
public void setIconDesc(IconDesc icon)
Set the icon for this related content- Parameters:
icon- set to be used
-
getIcon
public IconDesc getIcon()
- Returns:
- the icon descriptor for the realted content
-
-