|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--quicktime.app.time.Tasking | +--quicktime.app.sg.PresentationDrawer
Fields inherited from interface quicktime.app.time.Taskable |
tasker |
Constructor Summary | |
PresentationDrawer(Presentation pres)
This constructor creates an PresentationDrawer object from a Presentation component. |
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. |
QDRect |
getDisplayBounds()
Returns the current display location and size of the Presentation. |
QDGraphics |
getGWorld()
QTCanvas calls this method to get the destination QDGraphics of its client. |
java.awt.Dimension |
getInitialSize()
Deprecated. since QTJava 4.0 |
Matrix |
getMatrix()
This will return the client's current display transformations |
QDDimension |
getOriginalSize()
This method returns the original size before the transformations specified in the returned matrix are applied. |
Presentation |
getPresentation()
This returns the PresentationDrawer's Presentation that is displayed by this drawable. |
void |
redraw(Region invalidRgn)
QTCanvas calls this method when the client 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)
Sets the display bounds for the Presentation |
void |
setGWorld(QDGraphics gWorld)
QTCanvas calls this method to give the client 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 QTDrawable object. |
void |
setMatrix(Matrix matrix)
This method sets the current matrix of the Transformable object to the new matrix. |
void |
task()
This method performs idle processing for the Presentation and will be automatically called if this object is added to the TaskThread object. |
java.lang.String |
toString()
Returns a String representation of this object |
Methods inherited from class quicktime.app.time.Tasking |
addedToTasker, getDefaultTasker, getTasker, removedFromTasker, setDefaultTasker, startTasking, stopTasking |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public PresentationDrawer(Presentation pres) throws QTException
pres
- the Presentation object to presentMethod Detail |
public Presentation getPresentation()
public void addedTo(java.lang.Object interest)
addedTo
in interface Listener
interest
- 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 Listener
interest
- the object that was the source of interest for the
the object that implements this interface.public QDGraphics getGWorld() throws QTException
getGWorld
in interface QTDrawable
public void setGWorld(QDGraphics gWorld) throws QTException
setGWorld
in interface QTDrawable
cgp
- a QDGraphics objectpublic java.awt.Dimension getInitialSize() throws QTException
()
public QDDimension getOriginalSize() throws QTException
getOriginalSize
in interface Transformable
public Matrix getMatrix() throws QTException
getMatrix
in interface Transformable
public void setMatrix(Matrix matrix) throws QTException
setMatrix
in interface Transformable
matrix
- the new display Matrixpublic void setDisplayBounds(QDRect bounds) throws QTException
setDisplayBounds
in interface Drawable
bounds
- the new size and location.public void setLocation(int x, int y) throws QTException
setLocation
in interface QTDrawable
x
- the new x locationy
- the new y locationpublic QDRect getDisplayBounds() throws QTException
getDisplayBounds
in interface Drawable
public final void redraw(Region invalidRgn) throws QTException
redraw
in interface Drawable
invalidRgn
- the invalidRgn that the client should redrawpublic Region getClip() throws QTException
getClip
in interface QTDrawable
public void setClip(Region reg) throws QTException
setClip
in interface QTDrawable
reg
- the new clipping regionpublic final void task() throws QTException
quicktime.util.TaskThread
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |