At the moment each menu item within a single menu is rendered in exactly the same way, hence the reason that the {@link #selectMenuItemRenderer} takes a {@link Menu} instead of a{@link MenuItem}. This means that the instance returned from this method has to render multiple menu items.
Where possible implementations should not contain any information that would prevent it being used by multiple threads.
|
|