Documentation of 'org.jfree.chart.fx.interaction.ScrollHandlerFX' Java class
ScrollHandlerFX
org.jfree.chart.fx.interaction

Class ScrollHandlerFX

  • All Implemented Interfaces:
    MouseHandlerFX


    public class ScrollHandlerFX
    extends AbstractMouseHandlerFX
    implements MouseHandlerFX
    Handles scroll events (mouse wheel etc) on a ChartCanvas.

    THE API FOR THIS CLASS IS SUBJECT TO CHANGE IN FUTURE RELEASES. This is so that we can incorporate feedback on the (new) JavaFX support in JFreeChart.

    Since:
    1.0.18
    • Constructor Detail

      • ScrollHandlerFX

        public ScrollHandlerFX(java.lang.String id)
        Creates a new instance with the specified ID.
        Parameters:
        id - the handler ID (null not permitted).
    • Method Detail

      • getZoomFactor

        public double getZoomFactor()
        Returns the zoom factor. The default value is 0.10 (ten percent).
        Returns:
        The zoom factor.
      • setZoomFactor

        public void setZoomFactor(double zoomFactor)
        Sets the zoom factor (a percentage amount by which the mouse wheel movement will change the chart size).
        Parameters:
        zoomFactor - the zoom factor.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.