Interface FeatureStateChangedListener
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.togglz.core.util.Weighted
Weighted.WeightedComparator
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonFeatureStateChanged(FeatureState fromState, FeatureState toState)Callback method that is called byListenableStateRepositoryinstances, whenStateRepository.setFeatureState(FeatureState)is called.
-
-
-
Method Detail
-
onFeatureStateChanged
void onFeatureStateChanged(FeatureState fromState, FeatureState toState)
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
-
-