This manages separators around menu item groups and orientation (between menu items) separators but does not manage separators within a menu item.
This manager extends rather than changes the behaviour of its base class. This change affects two places, the rendering of separators and the handling or content.
This class was created to support the following behaviour.
When a menu item is rendered it must cause the following effects:
When the menu item group separator is rendered it must cause the following effects:
This class is responsible, at least in part, for all but the last step in each sequence. It delegates the management of the orientation to another manager. The following table shows how the required actions are supported.
Action | Method | Behaviour |
---|---|---|
Queue group separator | {@link #queueSeparator} | Default behaviour. |
Before rendering menu item content | {@link #beforeContent} | After performing default behaviour (which causes any queued separators to be rendered) it queues the orientation separator with the orientation manager and informs it that content is about to be written. This will trigger the orientation manager to render the separator if appropriate, as determined by the arbitrator. |
|
|