Class ExtMapMouseHandler

java.lang.Object
PamView.paneloverlay.overlaymark.ExtMouseAdapter
PamView.paneloverlay.overlaymark.ExtMapMouseHandler

public class ExtMapMouseHandler extends ExtMouseAdapter
Handle data from multiple external mouse handlers returning an OR of their response to the various functions.
Author:
Doug Gillespie
  • Constructor Details

    • ExtMapMouseHandler

      public ExtMapMouseHandler(javafx.scene.Node fxNode, boolean compositePopupMenus)
    • ExtMapMouseHandler

      public ExtMapMouseHandler(Window awtWindow, boolean compositePopupMenus)
      Parameters:
      awtWindow -
      compositePopupMenus -
  • Method Details

    • addMouseHandler

      public void addMouseHandler(ExtMouseAdapter mouseAdapter)
    • removeMouseHandler

      public boolean removeMouseHandler(ExtMouseAdapter mouseAdapter)
    • subscribeFXPanel

      public void subscribeFXPanel(javafx.scene.Node fxNode)
    • mouseDragged

      public boolean mouseDragged(javafx.scene.input.MouseEvent e)
      Overrides:
      mouseDragged in class ExtMouseAdapter
    • mouseEntered

      public boolean mouseEntered(javafx.scene.input.MouseEvent e)
      Overrides:
      mouseEntered in class ExtMouseAdapter
    • mouseExited

      public boolean mouseExited(javafx.scene.input.MouseEvent e)
      Overrides:
      mouseExited in class ExtMouseAdapter
    • mouseMoved

      public boolean mouseMoved(javafx.scene.input.MouseEvent e)
      Overrides:
      mouseMoved in class ExtMouseAdapter
    • mouseClicked

      public boolean mouseClicked(javafx.scene.input.MouseEvent e)
      Overrides:
      mouseClicked in class ExtMouseAdapter
    • mousePressed

      public boolean mousePressed(javafx.scene.input.MouseEvent e)
      Overrides:
      mousePressed in class ExtMouseAdapter
    • mouseReleased

      public boolean mouseReleased(javafx.scene.input.MouseEvent e)
      Overrides:
      mouseReleased in class ExtMouseAdapter
    • mouseWheelMoved

      public boolean mouseWheelMoved(javafx.scene.input.ScrollEvent e)
      Overrides:
      mouseWheelMoved in class ExtMouseAdapter
    • getPopMenu

      public ExtPopMenu getPopMenu()
      Get the pop up menu.
      Returns:
      the pop up menu
    • setPopMenu

      public void setPopMenu(ExtPopMenu popMenu)
      Set the pop up menu. Use this to set custom pop up menus
      Parameters:
      popMenu - - the pop up menu to set
    • getPopupMenuItems

      public List<javafx.scene.control.MenuItem> getPopupMenuItems(javafx.scene.input.MouseEvent e)
      Get a complete list of all menu items.
      Overrides:
      getPopupMenuItems in class ExtMouseAdapter