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

Class ZoomHandlerFX

  • All Implemented Interfaces:
    MouseHandlerFX


    public class ZoomHandlerFX
    extends AbstractMouseHandlerFX
    Handles drag zooming of charts on a ChartCanvas. This handler should be configured with the required modifier keys and installed as a live handler (not an auxiliary handler). This handler only works for a ChartCanvas that is embedded in a ChartViewer, since it relies on the ChartViewer for drawing the zoom rectangle.

    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

      • ZoomHandlerFX

        public ZoomHandlerFX(java.lang.String id,
                             ChartViewer parent)
        Creates a new instance with no modifier keys required.
        Parameters:
        id - the handler ID (null not permitted).
        parent - the chart viewer.
      • ZoomHandlerFX

        public ZoomHandlerFX(java.lang.String id,
                             ChartViewer parent,
                             boolean altKey,
                             boolean ctrlKey,
                             boolean metaKey,
                             boolean shiftKey)
        Creates a new instance that will be activated using the specified combination of modifier keys.
        Parameters:
        id - the handler ID (null not permitted).
        parent - the chart viewer.
        altKey - require ALT key?
        ctrlKey - require CTRL key?
        metaKey - require META key?
        shiftKey - require SHIFT key?

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.