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.String
getDescription()
IconDesc
getIcon()
java.net.URL
getLocation()
java.lang.String
getTitle()
void
setDescription(java.lang.String description)
Set the description of this related contentvoid
setIconDesc(IconDesc icon)
Set the icon for this related contentvoid
setTitle(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
-
-