public void setMode(final MenuMode mode) {
		// mode server mapped to mode dynamic as per https://github.com/BorderTech/wcomponents/issues/687
		getOrCreateComponentModel().mode = MenuMode.SERVER.equals(mode) ? MenuMode.DYNAMIC : mode;
	}
public void setMode ( final MenuMode mode ) { getOrCreateComponentModel ( ) . mode = MenuMode . SERVER . equals ( mode ) ? MenuMode . DYNAMIC : mode ; }
Sets the menu mode. See <a href="https://github.com/BorderTech/wcomponents/issues/687">#687</a>.

@param mode the menu mode.