public class RelatedContentDesc
extends java.lang.Object
Constructor and Description |
---|
RelatedContentDesc(java.net.URL href)
Create a related-content descriptor
|
Modifier and Type | Method and 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 content
|
void |
setIconDesc(IconDesc icon)
Set the icon for this related content
|
void |
setTitle(java.lang.String title)
Set the title of this content
|
public RelatedContentDesc(java.net.URL href)
href
- the url of the related contentpublic void setTitle(java.lang.String title)
title
- the title of this contentpublic java.lang.String getTitle()
public void setDescription(java.lang.String description)
description
- to be setpublic java.lang.String getDescription()
public java.net.URL getLocation()
public void setIconDesc(IconDesc icon)
icon
- set to be usedpublic IconDesc getIcon()