private void setupEventHandlers() {
    leftBtn.setOnMouseClicked(event -> scroll(true));
    rightBtn.setOnMouseClicked(event -> scroll(false));

    getSkinnable().addEventHandler(ScrollEvent.SCROLL,
        evt -> {
          double delta = evt.getDeltaX() == 0 ? evt.getDeltaY() : evt.getDeltaX();
          translateX.set(translateX.get() + delta);
        });
  }
Constructor for all SkinBase instances.

@param strip The strip for which this Skin should attach to.
workbenchfx-core/src/main/java/com/dlsc/workbenchfx/view/controls/selectionstrip/SelectionStripSkin.java