if (!getSkinnable().isDisabled()) {
if (indeterminateProgressTransition != null && indeterminateProgressTransition.getStatus() == Status.RUNNING) {
indeterminateProgressTransition.stop();
} else {
final Duration duration = Duration.millis(2000);
indeterminateProgressTransition = new BindableTransition(duration);
indeterminateProgressTransition.setCycleCount(Timeline.INDEFINITE);
indeterminateProgressTransition.setAutoReverse(false);
indeterminateProgressTransition.setInterpolator(Interpolator.LINEAR);
indeterminateProgressTransition.fractionProperty().addListener(new ChangeListener<Number>() {