K
- T
- public interface DefaultingTransitionFactory<K,T> extends TransitionFactory<K,T>
ViewTransitionFactory
this defines the operation if no transition is specified for a target. If both interfaces are implemented the
default transition is taken if one is returned but a view transition is considered if getDefaultTransition(Object)
returns null.
An default transition should usually not modify state. Consider having the key
implement ViewTransitionKey
if this is not the case.
IndexTransitionFactory
Modifier and Type | Method and Description |
---|---|
K |
getDefaultTransition(T target)
Get the key for the default transition.
|
accept, allowTransition, getSummaryContent, getTargetName, getTransition, getTransitions, lookupTransition
getContext
K getDefaultTransition(T target)
IndexTransitionFactory
target
-