Interface FeatureStateChangedListener
- All Superinterfaces:
Weighted
A listener for feature-state changes.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.togglz.core.util.Weighted
Weighted.WeightedComparator -
Method Summary
Modifier and TypeMethodDescriptionvoidonFeatureStateChanged(FeatureState fromState, FeatureState toState) Callback method that is called byListenableStateRepositoryinstances, whenStateRepository.setFeatureState(FeatureState)is called.
-
Method Details
-
onFeatureStateChanged
Callback method that is called byListenableStateRepositoryinstances, whenStateRepository.setFeatureState(FeatureState)is called.The method is invoked after the update in the
StateRepository.- Parameters:
fromState- the previousfeature stateof thefeaturetoState- the new value of the FeatureState
-