Package view

Examples of view.MovieWindow$rateCallBack


    {
      return;
    } // if (mov == null)

    // create a new MovieWindow
    MovieWindow movieWindow = null;

    // called from Scheme side, find the variable name of mov in movielist
    if (name.equalsIgnoreCase("preview"))
    {
      // look for mov in movieList
      if (movieList.contains(mov))
      {
        Enumeration<String> keys = movieList.keys();
        while (keys.hasMoreElements())
        {
          String key = keys.nextElement();
          if (movieList.get(key) == mov)
          {
            movieWindow = new MovieWindow(this, key, mov);
            break;
          } // if (movieList.get(key) == mov)
        } // while (keys.hasMoreElements())
      } // if (movieList.contains(mov))

      // if not in movieList
      else
      {
        movieWindow = new MovieWindow(this, this.name, mov);
      } // else
    } // if (name.equalsIgnoreCase("preview"))

    // called from Java side
    else
    {
      movieWindow = new MovieWindow(this, name, mov);
    } // else
    this.windows.add(movieWindow);
  } // showMovie(Movie, String)
View Full Code Here

TOP

Related Classes of view.MovieWindow$rateCallBack

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.