standup.clouds
Class AnimatorCloudButtonResize
java.lang.Object
standup.clouds.AnimatorCloudButton
standup.clouds.AnimatorCloudButtonResize
public class AnimatorCloudButtonResize
- extends AnimatorCloudButton
Animates a CloudButton
to grow/shrink at a given position.
- Author:
- Ruli Manurung
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
origSize
final Dimension origSize
destSize
final Dimension destSize
maxSize
final Dimension maxSize
location
final Point location
AnimatorCloudButtonResize
public AnimatorCloudButtonResize(int _s,
int _o,
Dimension _origSize,
Dimension _destSize,
Point _location,
CloudButton.LineMode lm)
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: