|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
This interface defines the minimum API that a QTDisplay space provides. That is, a QTDisplaySpace is some kind of QTDrawable so can be set as a client for a QTCanvas.
As a display space is by definition a collection of objects that have some kind of visual appearance, the display space must manage (or its contained objects) the layering of those objects within the visual presentation of the space. As such, this interface provides an API for retrieving the current front and back most layers of its members, and a way of retrieving the Layerable object for a member that allow the member to both get and set its Layer within the display space. Also a member can be added to the display space specifying the layer at which it should be added. The lower a layer (or z) value the more frontmost the object is displayed at. The backmost layer of a QTDisplaySpace is Short.MAX_VALUE.
Members of display spaces may or may not know about their position and two Dimensional display matrix. As such the QTDisplaySpace also provides an API for retrieving a member's Transformable interface that allows a member to get and set its display matrix.
Transformable,
Layerable| Field Summary |
| Fields inherited from interface quicktime.app.time.Ticklish |
kScale |
| Method Summary | |
boolean |
addMember(java.lang.Object member,
int layer)
Deprecated. since QTJava 6.1 |
int |
getBackLayer()
Deprecated. since QTJava 6.1 |
int |
getFrontLayer()
Deprecated. since QTJava 6.1 |
Layerable |
getLayerable(java.lang.Object member)
Deprecated. since QTJava 6.1 |
Transformable |
getTransformable(java.lang.Object member)
Deprecated. since QTJava 6.1 |
java.lang.Object |
hitTest(int x,
int y)
Deprecated. since QTJava 6.1 |
| Methods inherited from interface quicktime.app.display.QTDrawable |
getClip, getGWorld, setClip, setGWorld, setLocation |
| Methods inherited from interface quicktime.app.display.Drawable |
getDisplayBounds, redraw, setDisplayBounds |
| Methods inherited from interface quicktime.app.spaces.Listener |
addedTo, removedFrom |
| Methods inherited from interface quicktime.app.image.Transformable |
getMatrix, getOriginalSize, setMatrix |
| Methods inherited from interface quicktime.app.spaces.Space |
addController, controllers, getSource, getTimer, removeController, tickleList |
| Methods inherited from interface quicktime.app.spaces.DynamicCollection |
getProtocol |
| Methods inherited from interface quicktime.app.spaces.Collection |
addMember, hasMember, isAppropriate, isEmpty, members, removeMember, size |
| Methods inherited from interface quicktime.app.time.Ticklish |
tickle, timeChanged |
| Method Detail |
public int getFrontLayer()
throws QTException
QTException
public int getBackLayer()
throws QTException
QTExceptionpublic Layerable getLayerable(java.lang.Object member)
member - the member
public Transformable getTransformable(java.lang.Object member)
member - the member of Space for which the Transformable object should be returned.
public boolean addMember(java.lang.Object member,
int layer)
throws QTException
member - the member to add to the Display Spacelayer - the layer of the member when added.
QTException
public java.lang.Object hitTest(int x,
int y)
throws QTException
x - the x coordinatey - the y coordinate
QTException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||