Interface TypedValues
-
- All Known Implementing Classes:
Motion,MotionKey,MotionKeyAttributes,MotionKeyCycle,MotionKeyPosition,MotionKeyTimeCycle,MotionKeyTrigger,MotionWidget,Transition
public interface TypedValuesProvides an interface to values used in KeyFrames and in Starting and Ending Widgets
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceTypedValues.AttributesTypestatic interfaceTypedValues.Customstatic interfaceTypedValues.CycleTypestatic interfaceTypedValues.MotionScenestatic interfaceTypedValues.MotionTypestatic interfaceTypedValues.OnSwipestatic interfaceTypedValues.PositionTypestatic interfaceTypedValues.TransitionTypestatic interfaceTypedValues.TriggerType
-
Field Summary
Fields Modifier and Type Field Description static intBOOLEAN_MASKstatic intFLOAT_MASKstatic intINT_MASKstatic java.lang.StringS_CUSTOMstatic intSTRING_MASKstatic intTYPE_FRAME_POSITIONstatic intTYPE_TARGET
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetId(java.lang.String name)booleansetValue(int id, boolean value)Used to set boolean valuesbooleansetValue(int id, float value)Used to set float valuesbooleansetValue(int id, int value)Used to set integer valuesbooleansetValue(int id, java.lang.String value)Used to set String values
-
-
-
Field Detail
-
S_CUSTOM
static final java.lang.String S_CUSTOM
- See Also:
- Constant Field Values
-
BOOLEAN_MASK
static final int BOOLEAN_MASK
- See Also:
- Constant Field Values
-
INT_MASK
static final int INT_MASK
- See Also:
- Constant Field Values
-
FLOAT_MASK
static final int FLOAT_MASK
- See Also:
- Constant Field Values
-
STRING_MASK
static final int STRING_MASK
- See Also:
- Constant Field Values
-
TYPE_FRAME_POSITION
static final int TYPE_FRAME_POSITION
- See Also:
- Constant Field Values
-
TYPE_TARGET
static final int TYPE_TARGET
- See Also:
- Constant Field Values
-
-
Method Detail
-
setValue
boolean setValue(int id, int value)Used to set integer values- Returns:
- true if it accepted the value
-
setValue
boolean setValue(int id, float value)Used to set float values- Returns:
- true if it accepted the value
-
setValue
boolean setValue(int id, java.lang.String value)Used to set String values- Returns:
- true if it accepted the value
-
setValue
boolean setValue(int id, boolean value)Used to set boolean values- Returns:
- true if it accepted the value
-
getId
int getId(java.lang.String name)
-
-