Package quicktime.app

Source Code of quicktime.app.QTDrawableMaker

/*    */ package quicktime.app;
/*    */
/*    */ import quicktime.QTException;
/*    */ import quicktime.QTRuntimeException;
/*    */ import quicktime.QTSession;
/*    */ import quicktime.app.display.QTDrawable;
/*    */ import quicktime.app.image.GraphicsImporterDrawer;
/*    */ import quicktime.app.players.QTPlayer;
/*    */ import quicktime.std.image.GraphicsImporter;
/*    */ import quicktime.std.movies.Movie;
/*    */ import quicktime.std.movies.MovieController;
/*    */
/*    */ /** @deprecated */
/*    */ public class QTDrawableMaker
/*    */ {
/*    */   /** @deprecated */
/*    */   public QTDrawable fromGraphicsImporter(GraphicsImporter paramGraphicsImporter)
/*    */     throws QTException
/*    */   {
/* 59 */     return new GraphicsImporterDrawer(paramGraphicsImporter);
/*    */   }
/*    */
/*    */   /** @deprecated */
/*    */   public QTDrawable fromMovie(Movie paramMovie)
/*    */     throws QTException
/*    */   {
/* 69 */     MovieController localMovieController = new MovieController(paramMovie);
/* 70 */     localMovieController.setKeysEnabled(true);
/* 71 */     return new QTPlayer(localMovieController);
/*    */   }
/*    */
/*    */   static
/*    */   {
/* 47 */     if ((QTSession.isCurrentOS(4)) && (QTSession.getJavaVersion() >= 65540))
/* 48 */       throw new QTRuntimeException("Unsupported on Mac OS X and Java 1.4 and higher.");
/*    */   }
/*    */ }

/* Location:           Z:\System\Library\Java\Extensions\QTJava.zip
* Qualified Name:     quicktime.app.QTDrawableMaker
* JD-Core Version:    0.6.2
*/
TOP

Related Classes of quicktime.app.QTDrawableMaker

TOP
Copyright © 2018 www.massapi.com. 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.