Class PanHandlerFX

java.lang.Object
org.jfree.chart.fx.interaction.AbstractMouseHandlerFX
org.jfree.chart.fx.interaction.PanHandlerFX
All Implemented Interfaces:
MouseHandlerFX

public class PanHandlerFX
extends AbstractMouseHandlerFX
Handles panning 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).
  • Constructor Details

    • PanHandlerFX

      public PanHandlerFX​(String id)
      Creates a new instance that requires no modifier keys.
      Parameters:
      id - the id (null not permitted).
    • PanHandlerFX

      public PanHandlerFX​(String id, 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 id (null not permitted).
      altKey - require ALT key?
      ctrlKey - require CTRL key?
      metaKey - require META key?
      shiftKey - require SHIFT key?
  • Method Details