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
ConstructorDescriptionHighlightingAdaptation
(boolean state, Map<String, String> styleConfig, double strength) -
Method Summary
Modifier and TypeMethodDescriptionvoid
applyStyleChange
(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:
getDefaultStyleConfig
in classAdaptation
-
applyStyleChange
public void applyStyleChange(double stepAmount) Description copied from class:Adaptation
Applies style change as specified by the stepAmount- Specified by:
applyStyleChange
in classAdaptation
-