Package jspecview.app

Class GenericMouse

java.lang.Object
jspecview.app.GenericMouse
All Implemented Interfaces:
GenericMouseInterface

public class GenericMouse extends Object implements GenericMouseInterface
  • Field Details

    • pd

      protected EventManager pd
    • jsvp

      protected JSVPanel jsvp
    • xWhenPressed

      protected int xWhenPressed
    • yWhenPressed

      protected int yWhenPressed
    • modifiersWhenPressed10

      protected int modifiersWhenPressed10
    • isMouseDown

      protected boolean isMouseDown
  • Constructor Details

    • GenericMouse

      public GenericMouse(JSVPanel jsvp)
  • Method Details

    • clear

      public void clear()
      Specified by:
      clear in interface GenericMouseInterface
    • processEvent

      public boolean processEvent(int id, int x, int y, int modifiers, long time)
      Specified by:
      processEvent in interface GenericMouseInterface
    • mouseEntered

      public void mouseEntered(MouseEvent e)
    • mouseExited

      public void mouseExited(MouseEvent e)
    • mouseMoved

      public void mouseMoved(MouseEvent e)
    • mousePressed

      public void mousePressed(MouseEvent e)
    • mouseDragged

      public void mouseDragged(MouseEvent e)
    • mouseReleased

      public void mouseReleased(MouseEvent e)
    • mouseClicked

      public void mouseClicked(MouseEvent e)
    • mouseWheelMoved

      public void mouseWheelMoved(MouseWheelEvent e)
    • keyTyped

      public void keyTyped(KeyEvent ke)
    • keyPressed

      public void keyPressed(KeyEvent ke)
    • keyReleased

      public void keyReleased(KeyEvent ke)
    • processKeyEvent

      public void processKeyEvent(Object event)
      Specified by:
      processKeyEvent in interface GenericMouseInterface
    • entered

      protected void entered(long time, int x, int y)
    • exited

      protected void exited(long time, int x, int y)
    • clicked

      protected void clicked(long time, int x, int y, int modifiers, int clickCount)
      Parameters:
      time -
      x -
      y -
      modifiers -
      clickCount -
    • moved

      protected void moved(long time, int x, int y, int modifiers)
    • wheeled

      protected void wheeled(long time, int rotation, int modifiers)
    • pressed

      protected void pressed(long time, int x, int y, int modifiers, boolean isPopupTrigger)
      Parameters:
      time -
      x -
      y -
      modifiers -
      isPopupTrigger -
    • released

      protected void released(long time, int x, int y, int modifiers)
    • dragged

      protected void dragged(long time, int x, int y, int modifiers)
    • applyLeftMouse

      protected static int applyLeftMouse(int modifiers)
    • processTwoPointGesture

      public void processTwoPointGesture(float[][][] touches)
      Specified by:
      processTwoPointGesture in interface GenericMouseInterface
    • dispose

      public void dispose()
      Specified by:
      dispose in interface GenericMouseInterface