Package adaptlil.adaptations
Class HighlightingAdaptation
java.lang.Object
adaptlil.adaptations.Adaptation
adaptlil.adaptations.HighlightingAdaptation
The highlighting adaptation emphasizes and increases visual prominence of elements. As such it only needs
a strength value and the frontend visualization is responsible for its behavior
-
Constructor Summary
ConstructorsConstructorDescriptionHighlightingAdaptation(boolean state, Map<String, String> styleConfig, double strength) -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyStyleChange(double stepAmount) Applies style change as specified by the stepAmountMethods inherited from class adaptlil.adaptations.Adaptation
flipDirection, getScore, getStrength, getStyleConfig, getType, hasFlipped, isBeingObservedByMediator, isState, setBeingObservedByMediator, setScore, setState, setStrength, setType
-
Constructor Details
-
HighlightingAdaptation
-
-
Method Details
-
getDefaultStyleConfig
- Specified by:
getDefaultStyleConfigin classAdaptation
-
applyStyleChange
public void applyStyleChange(double stepAmount) Description copied from class:AdaptationApplies style change as specified by the stepAmount- Specified by:
applyStyleChangein classAdaptation
-