| com.droidux.pack.action.widget.ActionPathMenu.AnimationFactory |
A factory class to provide various animation used by the ActionPathMenu widget.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Provide an Animation to be used when the menu is collapsing.
| |||||||||||
Provide an Animation to be used when the menu's control view is pressed.
| |||||||||||
Provide an Animation to be used when the menu is expanding.
| |||||||||||
Provide an Animation to be used when the menu's item is clicked/pressed.
| |||||||||||
Provide an Animation to be used when the menu is collapsing.
| index | The index of the item view. |
|---|---|
| fromXDelta | Change in X coordinate to apply at the start of the animation. |
| toXDelta | Change in X coordinate to apply at the end of the animation. |
| fromYDelta | Change in Y coordinate to apply at the start of the animation. |
| toYDelta | Change in Y coordinate to apply at the end of the animation. |
| duration | The duration of the animation. |
Provide an Animation to be used when the menu's control view is pressed.
| expanding | If true, the user has pressed to expand the menu. Otherwise, the user pressed
to collapse the menu. |
|---|---|
| duration | The duration of the animation. |
Provide an Animation to be used when the menu is expanding.
| index | The index of the item view. |
|---|---|
| fromXDelta | Change in X coordinate to apply at the start of the animation. |
| toXDelta | Change in X coordinate to apply at the end of the animation. |
| fromYDelta | Change in Y coordinate to apply at the start of the animation. |
| toYDelta | Change in Y coordinate to apply at the end of the animation. |
| duration | The duration of the animation. |
Provide an Animation to be used when the menu's item is clicked/pressed.
| index | The index of the item view. |
|---|---|
| isClicked | If true, this item is pressed. Use this parameter to provide different animations
for the item views that is pressed and not. |
| duration | The duration of the animation. |