|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--quicktime.app.actions.MouseController | +--quicktime.app.display.GroupController
This controller provides specific semantics for mouse control that deal specifically with GroupDrawable objects.
It implements the getSelected method to return the fronmost QTDrawable object at the location of the mouse event.
QTMouseController| Fields inherited from class quicktime.app.actions.MouseController |
xLocationOffset, yLocationOffset |
| Constructor Summary | |
GroupController(MouseResponder mr,
boolean wholeSpace)
Deprecated. Constructs a GroupController with a MouseResponder that will respond to the mouse events of the controller. |
|
| Method Summary | |
protected void |
deactivateResponder()
Deprecated. A method that is called whenever the MouseController deactivates its responder. |
protected java.lang.Object |
getSelected(java.awt.event.MouseEvent event)
Deprecated. This method is called when a GroupController has received a mouse event in its space. |
Space |
getSpace()
Deprecated. Returns the current GroupDrawable space that the controller is controlling. |
void |
mouseDragged(java.awt.event.MouseEvent e)
Deprecated. Drag the target QTDrawable that is effected by the delegated MouseResponder. |
protected void |
responderActivated()
Deprecated. A notification method that is called whenever the MouseController activates its responder. |
protected void |
setTargetSpace(Space target)
Deprecated. Set the target space. |
| Methods inherited from class quicktime.app.actions.MouseController |
addedTo, addedToSpace, addMember, doDragTarget, getResponder, hasMember, isAppropriate, isEmpty, isWholespace, members, mouseClicked, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, removedFrom, removedFromSpace, removeMember, setTranslation, setWholespace, size |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public GroupController(MouseResponder mr, boolean wholeSpace)
mr - the mouse responder that will respond to mouse eventswholespace - if true all objects in the group come under control of
the controller, if false group members must be specifically added to the group| Method Detail |
public Space getSpace()
getSpace in class MouseControllerprotected void setTargetSpace(Space target)
setTargetSpace in class MouseControllertarget - the new GroupDrawable space for the controller.protected java.lang.Object getSelected(java.awt.event.MouseEvent event) throws QTException
getSelected in class MouseControllerevent - a mouse down eventprotected void deactivateResponder()
deactivateResponder in class MouseControllerprotected void responderActivated()
responderActivated in class MouseControllerpublic void mouseDragged(java.awt.event.MouseEvent e)
mouseDragged in class MouseControllere - the mouse event that triggered the drag
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||