|
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.Color
public class Color
An Color is a 32-bit ARGB value that can be animated over time.
Constructor Summary | |
---|---|
Color()
|
|
Color(int argbColor)
|
|
Color(PropertyListener listener)
|
|
Color(PropertyListener listener,
int argbColor)
|
Method Summary | |
---|---|
void |
animate(int fromARGB,
int toARGB,
int duration)
Animates this Int from the one value (fromValue) to another (toValue). |
void |
animate(int fromARGB,
int toARGB,
int duration,
Easing easing)
Animates this Int from the one value (fromValue) to another (toValue). |
void |
animate(int fromARGB,
int toARGB,
int duration,
Easing easing,
int startDelay)
Animates this Int from the one value (fromValue) to another (toValue). |
void |
animateTo(int toARGB,
int duration)
Animates this Int from the current value to the specified value. |
void |
animateTo(int toARGB,
int duration,
Easing easing)
Animates this Int from the current value to the specified value. |
void |
animateTo(int toARGB,
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(Color property)
Binds this property to the specified property. |
void |
bindWithInverse(Color property)
Bi-directionally binds this property to the specified property. |
boolean |
equals(Object obj)
Returns true if the specified object is a Color or Integer and its value is equal to this value. |
int |
get()
Gets the packed, 32-bit ARGB value of this color. |
int |
hashCode()
|
void |
set(int argbColor)
|
void |
set(int argbColor,
int 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 Color()
public Color(PropertyListener listener)
public Color(int argbColor)
public Color(PropertyListener listener, int argbColor)
Method Detail |
---|
protected void setValue(Number value)
Property
setValue
in class Property
value
- the new value.public void set(int argbColor)
public void set(int argbColor, int delay)
public int get()
public String toString()
toString
in class Object
public boolean equals(Object obj)
Color
or Integer
and its value is equal to this value.
equals
in class Property
public int hashCode()
hashCode
in class Property
public void bindTo(Color property)
public void bindWithInverse(Color property)
public void bindTo(BindFunction function)
public void animate(int fromARGB, int toARGB, int duration)
public void animate(int fromARGB, int toARGB, int duration, Easing easing)
public void animate(int fromARGB, int toARGB, int duration, Easing easing, int startDelay)
public void animateTo(int toARGB, int duration)
public void animateTo(int toARGB, int duration, Easing easing)
public void animateTo(int toARGB, int duration, Easing easing, int startDelay)
|
PulpCore | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |