options to modify scroller focus

Needed to stop focus of scroller when other components need to use some
of the key strokes which would normally be consumed by the scroller.
This commit is contained in:
Douglas Gillespie 2024-03-31 21:17:17 +01:00
parent 71bbc8d33c
commit 232ed44b96

View File

@ -39,6 +39,7 @@ public class PamScrollSlider extends AbstractPamScrollerAWT {
panel.add(BorderLayout.CENTER, slider);
panel.add(BorderLayout.SOUTH, getButtonPanel());
}
// slider.setFocusable(false);
}
class SliderListener implements ChangeListener {
@ -180,5 +181,11 @@ public class PamScrollSlider extends AbstractPamScrollerAWT {
// TODO Auto-generated method stub
super.setPageStep(pageStep);
}
/**
* @return the slider
*/
public JSlider getSlider() {
return slider;
}
}