|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--quicktime.QTObject
|
+--quicktime.std.comp.ComponentIdentifier
|
+--quicktime.std.comp.Component
|
+--quicktime.std.movies.media.MediaHandler
|
+--quicktime.std.movies.media.VisualMediaHandler
|
+--quicktime.std.movies.media.SpriteMediaHandler
| Fields inherited from interface quicktime.jdirect.QuickTimeLib |
JDirect_MacOSX, libraryInstance, name |
| Method Summary | |
int |
countImages()
This method returns the number of images contained in the image pool of this media. |
int |
countSprites()
This method returns the number of sprites contained in the media. |
float |
getActionVariable(int variableID)
Returns the value of the sprite track variable with specified ID. |
java.lang.String |
getActionVariableAsString(int variableID)
Returns the value as String of the sprite track variable with specified ID. |
int |
getDisplayedSampleNumber()
This method returns the sample number displayed currently. |
GraphicsMode |
getGraphicsMode(int spriteID)
This method allows you to get the graphics mode property of a sprite. |
int |
getImageIndex(int spriteID)
This method allows you to get the image index property of a sprite. |
java.lang.String |
getImageName(int imageIndex)
Returns the name of the sprite with the specified ID. |
ImageDescription |
getIndImageDescription(int imageIndex)
This method returns the image description for the image specified by the index. |
int |
getLayer(int spriteID)
This method allows you to get the layer property of a sprite. |
Matrix |
getMatrix(int spriteID)
This method allows you to get the matrix property of a sprite. |
int |
getSpriteImageGroupID(int imageIndex)
Returns a propert value for the image specified by imageIndex. |
QDPoint |
getSpriteImageRegistrationPoint(int imageIndex)
Returns a propert value for the image specified by imageIndex. |
java.lang.String |
getSpriteName(int spriteID)
Returns the name of the sprite with the specified ID. |
boolean |
getVisible(int spriteID)
This method allows you to get the visibility property of a sprite. |
int |
hitTestAllSprites(int flags,
QDPoint loc)
This method allows you to receive the index of the sprite which contains a specified point. |
boolean |
hitTestOneSprite(int spriteID,
int flags,
QDPoint loc)
Perform hit testing on the sprite specified by loc. |
void |
setActionVariable(int variableID,
float value)
Sets the value of the sprite track variable with the ID of the variable to the supplied value. |
void |
setActionVariableToString(int variableID,
java.lang.String theString)
Sets the value of the sprite track variable with the ID of the variable to the supplied theString. |
void |
setGraphicsMode(int spriteID,
GraphicsMode gMode)
This method allows you to specify the graphics mode property of a sprite. |
void |
setImageIndex(int spriteID,
int index)
This method allows you to specify the image index property of a sprite. |
void |
setLayer(int spriteID,
int layer)
This method allows you to specify the layer property of a sprite. |
void |
setMatrix(int spriteID,
Matrix matrix)
This method allows you to specify the Matrix property of a sprite. |
void |
setVisible(int spriteID,
boolean visible)
This method allows you to specify the visibility property of a sprite. |
short |
spriteIDtoIndex(int spriteID)
Return the index of the sprite specified by spriteID. |
int |
spriteIndexToID(int spriteIndex)
Return the ID of the sprite specified by spriteIndex. |
| Methods inherited from class quicktime.std.movies.media.VisualMediaHandler |
getGraphicsMode, getTrackOpaque, hitTestForTargetRefCon, hitTestTargetRefCon, setGraphicsMode |
| Methods inherited from class quicktime.std.comp.Component |
count |
| Methods inherited from class quicktime.std.comp.ComponentIdentifier |
find, find, getInfo, toString |
| Methods inherited from class quicktime.QTObject |
disposeQTObject, equals, ID |
| Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
public void setMatrix(int spriteID,
Matrix matrix)
throws StdQTException
spriteID - Specifies the sprite ID.matrix - Specifies the new matrix.
public void setVisible(int spriteID,
boolean visible)
throws StdQTException
spriteID - Specifies the sprite ID.visible - Specifies the new visibility property.
public void setLayer(int spriteID,
int layer)
throws StdQTException
spriteID - Specifies the sprite ID.layer - Specifies the new layer property.
public void setGraphicsMode(int spriteID,
GraphicsMode gMode)
throws StdQTException
spriteID - Specifies the sprite ID.gMode - Specifies the new graphics mode property.
public void setImageIndex(int spriteID,
int index)
throws StdQTException
spriteID - Specifies the sprite ID.index - Specifies the new image index property.
public Matrix getMatrix(int spriteID)
throws StdQTException
spriteID - Specifies the sprite ID.
public boolean getVisible(int spriteID)
throws StdQTException
spriteID - Specifies the sprite ID.
public int getLayer(int spriteID)
throws StdQTException
spriteID - Specifies the sprite ID.
public GraphicsMode getGraphicsMode(int spriteID)
throws StdQTException
spriteID - Specifies the sprite ID.
public int getImageIndex(int spriteID)
throws StdQTException
spriteID - Specifies the sprite ID.
public int hitTestAllSprites(int flags,
QDPoint loc)
throws StdQTException
flags - Controls the operation of this method.loc - Specifies the point for hit test.
public boolean hitTestOneSprite(int spriteID,
int flags,
QDPoint loc)
throws StdQTException
spriteID - Specifies the sprite ID.flags - specifies how to control the hit testing operationloc - Specifies the point for hit test.
public int countSprites()
throws StdQTException
public int countImages()
throws StdQTException
public ImageDescription getIndImageDescription(int imageIndex)
throws QTException
imageIndex - Specifies the image index.
public int getDisplayedSampleNumber()
throws StdQTException
public java.lang.String getSpriteName(int spriteID)
throws StdQTException
spriteID - Specifies the id of the sprite in question.
public java.lang.String getImageName(int imageIndex)
throws StdQTException
imageIndex - Specifies the index of the image whose name we wish to receive.
public int spriteIndexToID(int spriteIndex)
throws StdQTException
spriteIndex - Specifies the index of the sprite for the operation.
public short spriteIDtoIndex(int spriteID)
throws StdQTException
spriteID - Specifies the ID of the sprite for the operation.
public void setActionVariable(int variableID,
float value)
throws StdQTException
variableID - Specifies a variable ID of the sprite name.
public float getActionVariable(int variableID)
throws StdQTException
variableID - Specifies a variable ID of the sprite name.
public void setActionVariableToString(int variableID,
java.lang.String theString)
throws StdQTException
variableID - Specifies a variable ID of the sprite name.theString - Specifies the string value of the variableID.
public java.lang.String getActionVariableAsString(int variableID)
throws StdQTException
variableID - Specifies a variable ID of the sprite name.
public int getSpriteImageGroupID(int imageIndex)
throws StdQTException
imageIndex - Specifies the index of the image.
public QDPoint getSpriteImageRegistrationPoint(int imageIndex)
throws StdQTException
imageIndex - Specifies the index of the image.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||