|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--quicktime.app.view.GraphicsImporterDrawer
This class represents an image that is stored as a file that can be read and drawn using QuickTime GraphicsImporter component
GraphicsImporterDrawer| Constructor Summary | |
GraphicsImporterDrawer(DataRef dataRef)
This constructor creates an GraphicsImporterDrawer object from a data ref. |
|
GraphicsImporterDrawer(GraphicsImporter gi)
This constructor creates an GraphicsImporterDrawer object from an existing GraphicsImporter. |
|
GraphicsImporterDrawer(QTFile file)
This constructor creates an GraphicsImporterDrawer object from a file. |
|
| Method Summary | |
void |
addedTo(java.lang.Object interest)
This method is called by the specified object when the instance of the class that implements this interface is added to the object that is the source of the interest. |
Region |
getClip()
Returns a region that defines the current clipping region for the object. |
ImageDescription |
getDescription()
This method should return an ImageDescription that describes the image data that the class contains. |
QDRect |
getDisplayBounds()
QTComponent calls this method when it needs to ask the image for its boundary. |
GraphicsMode |
getGraphicsMode()
Determines the graphics mode for an image. |
QDGraphics |
getGWorld()
QTComponent calls this method to get the destination QDGraphics of its image. |
EncodedImage |
getImage()
This method returns the actual image data of the GraphicsImporterDrawer's GraphicImporter. |
GraphicsImporter |
getImporter()
This returns the GraphicsImporter object that is responsible for importing and drawing the picture file. |
java.awt.Dimension |
getInitialSize()
Deprecated. since QTJava 4.0 |
Matrix |
getMatrix()
This will return the image's current display transformations |
QDDimension |
getOriginalSize()
This method returns the original size before the transformations specified in the returned matrix are applied. |
boolean |
isSingleFrame()
|
void |
redraw(Region invalidRgn)
QTComponent calls this method when the image should redraw itself. |
void |
removedFrom(java.lang.Object interest)
This method is called by the specified object when the instance of the class that implements this interface is removed from the object that is the source of the interest. |
void |
setClip(Region reg)
Sets a region that will define the clipping region for the object |
void |
setDisplayBounds(QDRect bounds)
QTComponent calls this method when it needs to tell the image to adjust its location, width and/or height. |
void |
setGraphicsMode(GraphicsMode gMode)
Determines the graphics mode for an image. |
void |
setGWorld(QDGraphics cgp)
QTComponent calls this method to give the image the QDGraphics object it should use to do its drawing. |
void |
setLocation(int x,
int y)
A convenience method to set the position of a Presentable object. |
void |
setMatrix(Matrix matrix)
This method sets the current matrix of the Transformable object to the new matrix. |
java.lang.String |
toString()
Returns a String representation of this object. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public GraphicsImporterDrawer(GraphicsImporter gi)
gi - the GraphicsImporter
public GraphicsImporterDrawer(QTFile file)
throws QTException
file - the QTFile.
public GraphicsImporterDrawer(DataRef dataRef)
throws QTException
dataRef - the dataRef that contains the locations of the image data.| Method Detail |
public GraphicsImporter getImporter()
public Region getClip()
throws QTException
getClip in interface quicktime.app.view.PresentableQTException
public void setClip(Region reg)
throws StdQTException
setClip in interface quicktime.app.view.Presentablereg - the new clipping region
StdQTException
public ImageDescription getDescription()
throws StdQTException
StdQTException
public EncodedImage getImage()
throws QTException
QTExceptionpublic void addedTo(java.lang.Object interest)
addedTo in interface quicktime.app.view.Presentableinterest - the object that is to be the source of interest for the
the object that implements this interface.public void removedFrom(java.lang.Object interest)
removedFrom in interface quicktime.app.view.Presentableinterest - the object that was the source of interest for the
the object that implements this interface.
public QDGraphics getGWorld()
throws StdQTException
getGWorld in interface quicktime.app.view.PresentableStdQTException
public void setGWorld(QDGraphics cgp)
throws StdQTException
setGWorld in interface quicktime.app.view.Presentablecgp - a QDGraphics object
StdQTException
public java.awt.Dimension getInitialSize()
throws QTException
QTException()
public QDDimension getOriginalSize()
throws QTException
getOriginalSize in interface quicktime.app.view.PresentableQTException
public Matrix getMatrix()
throws StdQTException
getMatrix in interface quicktime.app.view.PresentableStdQTException
public void setMatrix(Matrix matrix)
throws QTException
setMatrix in interface quicktime.app.view.PresentableQTException
public void setDisplayBounds(QDRect bounds)
throws StdQTException
setDisplayBounds in interface quicktime.app.view.Presentablebounds - the new size and location.
StdQTException
public void setLocation(int x,
int y)
throws QTException
setLocation in interface quicktime.app.view.Presentablex - the new x locationy - the new y location
QTException
public QDRect getDisplayBounds()
throws StdQTException
getDisplayBounds in interface quicktime.app.view.PresentableStdQTException
public final void redraw(Region invalidRgn)
throws QTException
redraw in interface quicktime.app.view.PresentableinvalidRgn - the invalidRgn that the image should redraw
QTExceptionpublic boolean isSingleFrame()
isSingleFrame in interface quicktime.app.view.Presentable
public GraphicsMode getGraphicsMode()
throws StdQTException
StdQTException
public void setGraphicsMode(GraphicsMode gMode)
throws StdQTException
StdQTExceptionpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||