The menu manager containing the menus to adapt.
The data manager containing data for policies.
Current target policy.
Current adaptation style.
Data manager of the library.
Menu manager of the library.
Apply the current adaptation style to all menus of the menu manager, using the current target policy.
Cancel the current adaptation style on all the menus which are adapted.
Return the name of the current target policy.
The name of the current policy.
Return the name of the current adaptation style.
The name of the current style.
Set the adaptation style and policy to the last ones which has been in use, or to the default ones if no previous ones are found.
Set the target policy to the last one which has been in use, or to the default policy if no previous policy is found.
Set the adaptation style to the last one which has been in use, or to the default style if no previous style is found.
Set the default target policy.
Set the default adaptation style.
Set the current target policy. If the name does not match any policy, the policy is not updated.
The name of the new policy.
Set the current adaptation style. If the name does not match any style, the style is not updated.
The name of the new style.
Cancel any existing adaptation, switch to the given style and policy, and update all adapted menus accordingly.
The name of the new style.
The name of the new policy.
Cancel any existing adaptation, switch to the given taget policy, and update all adapted menus accordingly.
The name of the new policy.
Cancel any existing adaptation, switch to the given adaptation style, and update all adapted menus accordingly.
The name of the new style.
Successively cancel and re-apply the current adaptation to update it.
This method can be used for manual update of the adapted menus, e.g. on a single-page website where items only act as anchor links or script triggers.
Generated using TypeDoc
Creates a new instance of AdaptationManager.