standup.clouds
Class AnimatorCloudButtonMoveOut

java.lang.Object
  extended by standup.clouds.AnimatorCloudButton
      extended by standup.clouds.AnimatorCloudButtonMoveOut

public class AnimatorCloudButtonMoveOut
extends AnimatorCloudButton

Animates a CloudButton to move from the centre to its position as a peripheral child.

Author:
Ruli Manurung

Field Summary
(package private)  Point centre
           
(package private)  Dimension destSize
           
(package private)  Dimension maxSize
           
(package private)  Dimension origSize
           
(package private)  Point ring
           
 
Fields inherited from class standup.clouds.AnimatorCloudButton
lineMode, steps, stepsOffset
 
Constructor Summary
AnimatorCloudButtonMoveOut(int _s, int _off, Point _centre, Point _ring, Dimension _centreSize, Dimension _ringSize, CloudButton.LineMode lm)
           
 
Method Summary
(package private)  STANDUPShapeCloudButton getInitialShape(CloudButton thing, PanelCloudButtonMenu bb, ShapeDetails shd)
          This returns the initial 'shape' of the CloudButton to be used by this animation.
(package private)  void update(int realFrame, CloudButton bubble)
          A subclass of AnimatorCloudButton must implement this method.
 
Methods inherited from class standup.clouds.AnimatorCloudButton
getFrame
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

centre

Point centre

ring

Point ring

origSize

Dimension origSize

destSize

Dimension destSize

maxSize

final Dimension maxSize
Constructor Detail

AnimatorCloudButtonMoveOut

public AnimatorCloudButtonMoveOut(int _s,
                                  int _off,
                                  Point _centre,
                                  Point _ring,
                                  Dimension _centreSize,
                                  Dimension _ringSize,
                                  CloudButton.LineMode lm)
Method Detail

update

void update(int realFrame,
            CloudButton bubble)
Description copied from class: AnimatorCloudButton
A subclass of AnimatorCloudButton must implement this method. It is used to update the given CloudButton's location and size given the 'real' frame.

Specified by:
update in class AnimatorCloudButton
bubble - the CloudButton being animated

getInitialShape

STANDUPShapeCloudButton getInitialShape(CloudButton thing,
                                        PanelCloudButtonMenu bb,
                                        ShapeDetails shd)
Description copied from class: AnimatorCloudButton
This returns the initial 'shape' of the CloudButton to be used by this animation.

Specified by:
getInitialShape in class AnimatorCloudButton
Returns: