Class ProjectInfo

    • Field Detail

      • logo

        private java.awt.Image logo
        An optional project logo.
      • licenceText

        private java.lang.String licenceText
        The licence text.
      • contributors

        private java.util.List contributors
        A list of contributors.
    • Constructor Detail

      • ProjectInfo

        public ProjectInfo()
        Constructs an empty project info object.
      • ProjectInfo

        public ProjectInfo​(java.lang.String name,
                           java.lang.String version,
                           java.lang.String info,
                           java.awt.Image logo,
                           java.lang.String copyright,
                           java.lang.String licenceName,
                           java.lang.String licenceText)
        Constructs a project info object.
        Parameters:
        name - the name of the project.
        version - the version.
        info - other info (usually a URL).
        logo - the project logo.
        copyright - a copyright statement.
        licenceName - the name of the licence that applies to the project.
        licenceText - the text of the licence that applies to the project.
    • Method Detail

      • getLogo

        public java.awt.Image getLogo()
        Returns the logo.
        Returns:
        the project logo.
      • setLogo

        public void setLogo​(java.awt.Image logo)
        Sets the project logo.
        Parameters:
        logo - the project logo.
      • getLicenceText

        public java.lang.String getLicenceText()
        Returns the licence text.
        Returns:
        the licence text.
      • setLicenceText

        public void setLicenceText​(java.lang.String licenceText)
        Sets the project licence text.
        Parameters:
        licenceText - the licence text.
      • getContributors

        public java.util.List getContributors()
        Returns the list of contributors for the project.
        Returns:
        the list of contributors.
      • setContributors

        public void setContributors​(java.util.List contributors)
        Sets the list of contributors.
        Parameters:
        contributors - the list of contributors.
      • toString

        public java.lang.String toString()
        Returns a string describing the project.
        Overrides:
        toString in class java.lang.Object
        Returns:
        a string describing the project.