public interface TransitionKey extends Key
| Modifier and Type | Method and Description |
|---|---|
static TransitionKey |
checkAndGetIfValid(TransitionKey transition)
Checks if mode passed as argument is not
null.If not, throw a IllegalArgumentException, otherwise it returns the argument. |
static void |
checkIfValid(TransitionKey transition)
|
static TransitionKey |
create(String transition)
Returns a animation update mode (transition) instance by its string value.
|
static boolean |
isValid(TransitionKey transition)
Returns
true if type passed as argument is not null. |
checkIfValid, compare, equals, getKeyByValue, getKeyByValue, hasKeyByValue, isValid, valuestatic TransitionKey create(String transition)
static boolean isValid(TransitionKey transition)
true if type passed as argument is not null.transition - animation update mode (transition) to be checkedtrue if type passed as argument is not nullstatic void checkIfValid(TransitionKey transition)
transition - animation update mode (transition) to be checkedstatic TransitionKey checkAndGetIfValid(TransitionKey transition)
null.IllegalArgumentException, otherwise it returns the argument.checkAndGetIfValid in interface Keytransition - update mode (transition) to be checked