android.animation
Class Keyframe

java.lang.Object
  extended by android.animation.Keyframe
All Implemented Interfaces:
Cloneable

public abstract class Keyframe
extends Object
implements Cloneable


Constructor Summary
Keyframe()
           
 
Method Summary
abstract  Keyframe clone()
           
 float getFraction()
           
 TimeInterpolator getInterpolator()
           
 Class getType()
           
abstract  Object getValue()
           
 boolean hasValue()
           
static Keyframe ofFloat(float fraction)
           
static Keyframe ofFloat(float fraction, float value)
           
static Keyframe ofInt(float fraction)
           
static Keyframe ofInt(float fraction, int value)
           
static Keyframe ofObject(float fraction)
           
static Keyframe ofObject(float fraction, Object value)
           
 void setFraction(float fraction)
           
 void setInterpolator(TimeInterpolator interpolator)
           
abstract  void setValue(Object value)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Keyframe

public Keyframe()
Method Detail

ofInt

public static Keyframe ofInt(float fraction,
                             int value)

ofInt

public static Keyframe ofInt(float fraction)

ofFloat

public static Keyframe ofFloat(float fraction,
                               float value)

ofFloat

public static Keyframe ofFloat(float fraction)

ofObject

public static Keyframe ofObject(float fraction,
                                Object value)

ofObject

public static Keyframe ofObject(float fraction)

hasValue

public boolean hasValue()

getValue

public abstract Object getValue()

setValue

public abstract void setValue(Object value)

getFraction

public float getFraction()

setFraction

public void setFraction(float fraction)

getInterpolator

public TimeInterpolator getInterpolator()

setInterpolator

public void setInterpolator(TimeInterpolator interpolator)

getType

public Class getType()

clone

public abstract Keyframe clone()
Overrides:
clone in class Object


Copyright © 2008-2012. All Rights Reserved.