public void setSelectedIndex(int selectedIndex) {
int previousSelectedIndex = this.selectedIndex;
if (previousSelectedIndex != selectedIndex) {
Vote vote = accordionSelectionListeners.previewSelectedIndexChange(this, selectedIndex);
if (vote == Vote.APPROVE) {
this.selectedIndex = selectedIndex;
accordionSelectionListeners.selectedIndexChanged(this, previousSelectedIndex);
} else {