|
PulpCore | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object pulpcore.animation.Property pulpcore.animation.Int
public class Int
An Int is an integer value that can be animated over time.
Constructor Summary | |
---|---|
Int()
Constructs a new Int object with no listener and the value of zero. |
|
Int(int value)
Constructs a new Int object with the specified value and no listener. |
|
Int(PropertyListener listener)
Constructs a new Int object with the specified listener and the value of zero. |
|
Int(PropertyListener listener,
int value)
Constructs a new Int object with the specified listener and value. |
Method Summary | |
---|---|
void |
animate(int fromValue,
int toValue,
int duration)
Animates this Int from the one value (fromValue) to another (toValue). |
void |
animate(int fromValue,
int toValue,
int duration,
Easing easing)
Animates this Int from the one value (fromValue) to another (toValue). |
void |
animate(int fromValue,
int toValue,
int duration,
Easing easing,
int startDelay)
Animates this Int from the one value (fromValue) to another (toValue). |
void |
animateTo(int toValue,
int duration)
Animates this Int from the current value to the specified value. |
void |
animateTo(int toValue,
int duration,
Easing easing)
Animates this Int from the current value to the specified value. |
void |
animateTo(int toValue,
int duration,
Easing easing,
int startDelay)
Animates this Int from the current value to the specified value. |
void |
bindTo(BindFunction function)
Binds this property to the specified function. |
void |
bindTo(Fixed property)
Binds this property to the specified property. |
void |
bindTo(Int property)
Binds this property to the specified property. |
void |
bindWithInverse(Fixed property)
Bi-directionally binds this property to the specified property. |
void |
bindWithInverse(Int property)
Bi-directionally binds this property to the specified property. |
boolean |
equals(Object obj)
Returns true if the specified object is an Int ,
Fixed ,
Byte ,
Short ,
Integer ,
Long ,
Float , or
Double , and
its value is equal to this value. |
int |
get()
|
int |
hashCode()
|
void |
set(int value)
Sets the value of this Int. |
void |
set(int value,
int delay)
Sets the value of this Int after a specific delay. |
protected void |
setValue(Number value)
Sets the value for this property. |
String |
toString()
|
Methods inherited from class pulpcore.animation.Property |
---|
addListener, getBehavior, getListeners, getValue, isAnimating, removeListener, setBehavior, setValue, stopAnimation, update |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Int()
public Int(PropertyListener listener)
public Int(int value)
public Int(PropertyListener listener, int value)
Method Detail |
---|
public int get()
public String toString()
toString
in class Object
public boolean equals(Object obj)
Int
,
Fixed
,
Byte
,
Short
,
Integer
,
Long
,
Float
, or
Double
, and
its value is equal to this value.
equals
in class Property
public int hashCode()
hashCode
in class Property
protected void setValue(Number value)
Property
setValue
in class Property
value
- the new value.public void set(int value)
public void set(int value, int delay)
public void bindTo(Int property)
public void bindWithInverse(Int property)
public void bindTo(Fixed property)
public void bindWithInverse(Fixed property)
public void bindTo(BindFunction function)
public void animate(int fromValue, int toValue, int duration)
public void animate(int fromValue, int toValue, int duration, Easing easing)
public void animate(int fromValue, int toValue, int duration, Easing easing, int startDelay)
public void animateTo(int toValue, int duration)
public void animateTo(int toValue, int duration, Easing easing)
public void animateTo(int toValue, int duration, Easing easing, int startDelay)
|
PulpCore | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |