|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Motion | |
---|---|
com.sun.lwuit.animations | All components are animatable by potential and additional animations (unrelated to a specific component) can be installed on the fly, transitions between forms are also handled as part of this package. |
Uses of Motion in com.sun.lwuit.animations |
---|
Methods in com.sun.lwuit.animations that return Motion | |
---|---|
static Motion |
Motion.createFrictionMotion(int sourceValue,
int maxValue,
float initVelocity,
float friction)
Creates a friction motion starting from source with initial speed and the friction |
static Motion |
Motion.createLinearMotion(int sourceValue,
int destinationValue,
int duration)
Creates a linear motion starting from source value all the way to destination value |
protected Motion |
CommonTransitions.createMotion(int startOffset,
int dest,
int speed)
This method can be overriden by subclasses to create their own motion object on the fly |
static Motion |
Motion.createSplineMotion(int sourceValue,
int destinationValue,
int duration)
Creates a spline motion starting from source value all the way to destination value |
Motion |
CommonTransitions.getMotion()
Motion represents the physical movement within a transition, it can be replaced by the user to provide a more appropriate physical feel |
Methods in com.sun.lwuit.animations with parameters of type Motion | |
---|---|
void |
CommonTransitions.setMotion(Motion motion)
Motion represents the physical movement within a transition, it can be replaced by the user to provide a more appropriate physical feel |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |