Interface TransitionKey
- 
- All Superinterfaces:
- Key
 - All Known Implementing Classes:
- DefaultTransitionKey,- StandardAnimationTransition
 
 public interface TransitionKey extends Key Represents the update mode (transition) to set to configure animation.- Author:
- Andrea "Stock" Stocchero
 
- 
- 
Method SummaryStatic Methods Modifier and Type Method Description static TransitionKeycheckAndGetIfValid(TransitionKey transition)Checks if mode passed as argument is notnull.
 If not, throw aIllegalArgumentException, otherwise it returns the argument.static voidcheckIfValid(TransitionKey transition)static TransitionKeycreate(String transition)Returns a animation update mode (transition) instance by its string value.static booleanisValid(TransitionKey transition)Returnstrueif type passed as argument is notnull.
 
- 
- 
- 
Method Detail- 
createstatic TransitionKey create(String transition) Returns a animation update mode (transition) instance by its string value.- Parameters:
- transition- string value to use
- Returns:
- new update mode (transition) instance
 
 - 
isValidstatic boolean isValid(TransitionKey transition) Returnstrueif type passed as argument is notnull.- Parameters:
- transition- animation update mode (transition) to be checked
- Returns:
- trueif type passed as argument is not- null
 
 - 
checkIfValidstatic void checkIfValid(TransitionKey transition) - Parameters:
- transition- animation update mode (transition) to be checked
 
 - 
checkAndGetIfValidstatic TransitionKey checkAndGetIfValid(TransitionKey transition) Checks if mode passed as argument is notnull.
 If not, throw aIllegalArgumentException, otherwise it returns the argument.- Parameters:
- transition- update mode (transition) to be checked
- Returns:
- the same update mode (transition) passed as argument
 
 
- 
 
-