public interface AnimationPropertyKey extends AnimationCollectionKey
Modifier and Type | Method and Description |
---|---|
static AnimationPropertyKey |
checkAndGetIfValid(AnimationPropertyKey property)
Checks if property passed as argument is not
null and its value is not null as well.If not, throw a IllegalArgumentException , otherwise it returns the key. |
static void |
checkIfValid(AnimationPropertyKey property)
Checks if type passed as argument is not
null and its type is not null as well.If not, throw a IllegalArgumentException . |
static AnimationPropertyKey |
create(String property,
AnimationType type)
Returns a animation property instance by its string value.
|
static boolean |
isValid(AnimationPropertyKey property)
Returns
true if type passed as argument is not null and its type is not null as well. |
checkAndGetIfValid, checkIfValid, create, isValid, properties
type
checkIfValid, compare, create, equals, getKeyByValue, getKeyByValue, hasKeyByValue, isValid, value
static AnimationPropertyKey create(String property, AnimationType type)
create
in interface AnimationCollectionKey
property
- string value to usetype
- type related to the typeof propertystatic boolean isValid(AnimationPropertyKey property)
true
if type passed as argument is not null
and its type is not null
as well.property
- animation property to be checkedtrue
if type passed as argument is not null
and its type is not null
as well.static void checkIfValid(AnimationPropertyKey property)
null
and its type is not null
as well.IllegalArgumentException
.property
- animation property to be checkedstatic AnimationPropertyKey checkAndGetIfValid(AnimationPropertyKey property)
null
and its value is not null
as well.IllegalArgumentException
, otherwise it returns the key.checkAndGetIfValid
in interface Key
property
- property to be checked