Inheritance diagram for edu.cmu.hcii.calo.view.task.TaskSubpaneContainerView:
Public Member Functions | |
void | updateTasks () |
Causes the task views within each subpane to update, without actually updating the subpanes themselves. | |
Protected Member Functions | |
boolean | doAnimations () |
Should be implemented to record the positions of all the components in the view so they can be animated from their old positions, and then create and start the necessary Animation objects to perform these animations. | |
void | doUpdate () |
Should be implemented to synchronize the view with the model on which it depends. | |
void | prepareAnimations () |
Should be implemented to record the positions of all the components in the view so they can be animated to their new positions later. | |
void | safeUpdateAnimation (Animation a) |
Should be implemented to process an updated animation, just like AnimationListener.animationDidUpdate(Animation). | |
Private Attributes | |
Map< Component, Rectangle > | bounds = new HashMap<Component, Rectangle>() |
The mapping of the subpanes to their bounds rectangles. | |
Static Private Attributes | |
static final long | serialVersionUID = -1152108861501116678L |
Prevent serialization collisions. |
boolean edu.cmu.hcii.calo.view.task.TaskSubpaneContainerView.doAnimations | ( | ) | [protected, virtual] |
Should be implemented to record the positions of all the components in the view so they can be animated from their old positions, and then create and start the necessary Animation objects to perform these animations.
Implements edu.cmu.hcii.calo.view.AnimatedPane.
void edu.cmu.hcii.calo.view.task.TaskSubpaneContainerView.doUpdate | ( | ) | [protected, virtual] |
Should be implemented to synchronize the view with the model on which it depends.
AnimatedPane provides a public update() method to the client code which calls doUpdate automatically.
Implements edu.cmu.hcii.calo.view.AnimatedPane.
void edu.cmu.hcii.calo.view.task.TaskSubpaneContainerView.prepareAnimations | ( | ) | [protected, virtual] |
Should be implemented to record the positions of all the components in the view so they can be animated to their new positions later.
prepareAnimations() is called from update() before doUpdate() is invoked, so the component positions are unchanged from what they were before the update.
Implements edu.cmu.hcii.calo.view.AnimatedPane.
void edu.cmu.hcii.calo.view.task.TaskSubpaneContainerView.safeUpdateAnimation | ( | Animation | a | ) | [protected, virtual] |
Should be implemented to process an updated animation, just like AnimationListener.animationDidUpdate(Animation).
This method exists because AnimatedPane performs some automatic setup and teardown in animationDidUpdate(Animation), and calls safeUpdateAnimation(Animation) in between.
a | the animation that is updating |
Implements edu.cmu.hcii.calo.view.AnimatedPane.
void edu.cmu.hcii.calo.view.task.TaskSubpaneContainerView.updateTasks | ( | ) |
final long edu.cmu.hcii.calo.view.task.TaskSubpaneContainerView.serialVersionUID = -1152108861501116678L [static, private] |
Map<Component, Rectangle> edu.cmu.hcii.calo.view.task.TaskSubpaneContainerView.bounds = new HashMap<Component, Rectangle>() [private] |
The mapping of the subpanes to their bounds rectangles.