Class RelatedContentDesc


  • public class RelatedContentDesc
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      RelatedContentDesc​(java.net.URL href)
      Create a related-content descriptor
    • Constructor Detail

      • RelatedContentDesc

        public RelatedContentDesc​(java.net.URL href)
        Create a related-content descriptor
        Parameters:
        href - the url of the related 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