Package adaptlil.adaptations
Class DeemphasisAdaptation
java.lang.Object
adaptlil.adaptations.Adaptation
adaptlil.adaptations.DeemphasisAdaptation
The Deemphasis adaptation reduces opacity of surrounding elements. As such, the only 'style' it has in its config is the
CSS attribute, opacity.
-
Constructor Summary
ConstructorDescriptionDeemphasisAdaptation
(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
-
DeemphasisAdaptation
-
-
Method Details
-
applyStyleChange
public void applyStyleChange(double stepAmount) Description copied from class:Adaptation
Applies style change as specified by the stepAmount- Specified by:
applyStyleChange
in classAdaptation
-
getDefaultStyleConfig
- Specified by:
getDefaultStyleConfig
in classAdaptation
-