CardPane cardPaneLocal = (CardPane)getComponent();
SelectionChangeTransition selectionChangeTransitionLocal =
(SelectionChangeTransition)transition;
int selectedIndexLocal = cardPaneLocal.indexOf(selectionChangeTransitionLocal.toCard);
cardPaneLocal.setSelectedIndex(selectedIndexLocal);
CardPaneSkin.this.selectionChangeTransition = null;
}
});
}