コード例 #1
0
// ---------------------------------------------------------------------------

        /**
         * Creates a Phrase containing the name of a Country.
         * @param country a Country object
         * @return a Phrase object
         */
        public static Phrase GetCountryPhrase(Country country)
        {
            return(new Phrase(country.Name, FilmFonts.NORMAL));
        }
コード例 #2
0
// ---------------------------------------------------------------------------
    /**
     * Adds a country.
     * @param country  one of the countries the movie was made by.
     */
    public void AddCountry(Country country) {
      _countries.Add(country);    
    }
コード例 #3
0
// ---------------------------------------------------------------------------    
    /**
     * Creates a Phrase containing the name of a Country.
     * @param country a Country object
     * @return a Phrase object
     */
    public static Phrase GetCountryPhrase(Country country) {
      return new Phrase(country.Name, FilmFonts.NORMAL);
    }