Class InformationElement


  • public class InformationElement
    extends java.lang.Object
    This class is wrapper around the *information* tag element which should javaws provide from source jnlp file
    • Constructor Detail

      • InformationElement

        public InformationElement()
    • Method Detail

      • setTitle

        public void setTitle​(java.lang.String title)
      • setvendor

        public void setvendor​(java.lang.String vendor)
      • setHomepage

        public void setHomepage​(java.lang.String homepage)
      • addDescription

        public void addDescription​(java.lang.String description)
      • addDescription

        public void addDescription​(java.lang.String description,
                                   DescriptionKind kind)
        Just one description of each kind (4 including null) are allowed in information element. This method should throw exception when trying to add second description of same kind But I do not consider it as good idea to force this behaviour for something like splash screen, so I just replace the previous one with new one. without any warning
      • getBestMatchingDescriptionForSplash

        public InfoItem getBestMatchingDescriptionForSplash()
      • getLongestDescriptionForSplash

        public InfoItem getLongestDescriptionForSplash()
      • getTitle

        public java.lang.String getTitle()
      • getVendor

        public java.lang.String getVendor()
      • getHomepage

        public java.lang.String getHomepage()
      • getDescription

        public java.lang.String getDescription()
      • getHeader

        public java.util.List<java.lang.String> getHeader()