Package quicktime.app

Examples of quicktime.app.QTAppException


/*     */     throws QTException
/*     */   {
/*  50 */     super(paramMatrix, paramInt, paramGraphicsMode);
/*  51 */     this.deactiveImage = paramImageSpec2;
/*  52 */     if (paramImageSpec1 == null)
/*  53 */       throw new QTAppException("QTButton:released and pressed images must be specified");
/*  54 */     setCurrentImage(paramImageSpec1);
/*     */   }
View Full Code Here


/*     */   public void createSprite(SpriteWorld paramSpriteWorld)
/*     */     throws QTException
/*     */   {
/* 397 */     if (this.sprite != null)
/* 398 */       this.sprite.remove();
/* 399 */     if (this.info == null) throw new QTAppException("Can't create sprite with no information");
/* 400 */     if ((this.info.image == null) || (this.info.desc == null)) {
/* 401 */       this.info.image = getDummyEI();
/* 402 */       this.info.desc = getDummyID();
/*     */     }
/* 404 */     if ((this.info.image == getDummyEI()) || (this.info.desc == getDummyID()))
View Full Code Here

/*     */     throws QTException
/*     */   {
/*  75 */     super(paramImageSpec1, paramImageSpec3, paramMatrix, paramInt, paramGraphicsMode);
/*     */
/*  77 */     if (paramImageSpec2 == null) {
/*  78 */       throw new QTAppException("QTButton:released and pressed images must be specified");
/*     */     }
/*  80 */     this.releasedImage = paramImageSpec1;
/*  81 */     this.pressedImage = paramImageSpec2;
/*  82 */     this.rolloverImage = paramImageSpec4;
/*     */   }
View Full Code Here

/*     */   /** @deprecated */
/*     */   public void setReleasedImage(ImageSpec paramImageSpec)
/*     */     throws QTException
/*     */   {
/* 134 */     if (paramImageSpec == null) {
/* 135 */       throw new QTAppException("QTButton:released image cannot be null");
/*     */     }
/* 137 */     this.releasedImage = paramImageSpec;
/* 138 */     setImageOnRelease();
/*     */   }
View Full Code Here

/*     */   /** @deprecated */
/*     */   public void setPressedImage(ImageSpec paramImageSpec)
/*     */     throws QTException
/*     */   {
/* 174 */     if (paramImageSpec == null) {
/* 175 */       throw new QTAppException("QTButton:pressed image cannot be null");
/*     */     }
/* 177 */     this.pressedImage = paramImageSpec;
/* 178 */     if ((this.pressedFlag) && (!this.outOfBounds))
/* 179 */       setCurrentImage(this.pressedImage);
/*     */   }
View Full Code Here

/*     */   public QTImageDrawer(Image paramImage)
/*     */     throws QTAppException
/*     */   {
/* 122 */     int i = paramImage.getWidth(null);
/* 123 */     if (i == -1)
/* 124 */       throw new QTAppException("Image size must be known");
/* 125 */     int j = paramImage.getHeight(null);
/*     */
/* 127 */     this.mSize = new Dimension(i, j);
/* 128 */     this.image = new ImagePresenter(new QDRect(this.mSize));
/* 129 */     this.painter = new JImagePainter(paramImage);
View Full Code Here

/*     */   /** @deprecated */
/*     */   public int export(GraphicsExporter paramGraphicsExporter, QDGraphics paramQDGraphics)
/*     */     throws QTException
/*     */   {
/* 201 */     if (this.canv == null) {
/* 202 */       throw new QTAppException("QTImageDrawer must be added to a QTCanvas before it can export");
/*     */     }
/* 204 */     if (!paramQDGraphics.isOffscreen()) {
/* 205 */       throw new QTAppException("QTImageDrawer.export must be supplied an offscreen QDGraphics");
/*     */     }
/*     */
/* 208 */     QDGraphics localQDGraphics = getGWorld();
/*     */
/* 211 */     setGWorld(paramQDGraphics);
View Full Code Here

TOP

Related Classes of quicktime.app.QTAppException

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.