Class SpatialEvents

java.lang.Object
com.eco.bio7.spatial.SpatialEvents

public class SpatialEvents extends Object
This class offers static methods to detect custom mouse and key events in the Spatial panel of Bio7.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected static com.jogamp.newt.event.MouseEvent
     
    protected static com.jogamp.newt.event.MouseEvent
     
    protected static com.jogamp.newt.event.MouseEvent
     
    protected static boolean
     
    protected static com.jogamp.newt.event.KeyEvent
     
    protected static boolean
     
    protected static com.jogamp.newt.event.KeyEvent
     
    protected static boolean
     
    protected static com.jogamp.newt.event.KeyEvent
     
    protected static boolean
     
    protected static boolean
     
    protected static boolean
     
    protected static boolean
     
    protected static com.jogamp.newt.event.MouseEvent
     
    protected static boolean
     
    protected static com.jogamp.newt.event.MouseEvent
     
    protected static boolean
     
    protected static com.jogamp.newt.event.MouseEvent
     
    protected static boolean
     
    protected static boolean
     
    protected static boolean
     
    protected static com.jogamp.newt.event.MouseEvent
     
    protected static boolean
     
    protected static com.jogamp.newt.event.MouseEvent
     
    protected static com.jogamp.newt.event.MouseEvent
     
    protected static boolean
     
    protected static com.jogamp.newt.event.MouseEvent
     
    protected static com.jogamp.newt.event.MouseEvent
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static com.jogamp.newt.event.MouseEvent
    This method returns a MouseEvent instance for the specified event.
    static com.jogamp.newt.event.MouseEvent
    This method returns a MouseEvent instance for the specified event.
    static com.jogamp.newt.event.MouseEvent
    This method returns a MouseEvent instance for the specified event.
    static com.jogamp.newt.event.KeyEvent
    This method returns a KeyEvent instance for the specified event.
    static com.jogamp.newt.event.KeyEvent
    This method returns a KeyEvent instance for the specified event.
    static com.jogamp.newt.event.KeyEvent
    This method returns a KeyEvent instance for the specified event.
    static com.jogamp.newt.event.MouseEvent
    This method returns a MouseEvent instance for the specified event.
    static com.jogamp.newt.event.MouseEvent
    This method returns a MouseEvent instance for the specified event.
    static com.jogamp.newt.event.MouseEvent
    This method returns a MouseEvent instance for the specified event.
    static com.jogamp.newt.event.MouseEvent
    This method returns a MouseWheelEvent instance for the specified event.
    static com.jogamp.newt.event.MouseEvent
    This method returns a MouseEvent instance for the specified event.
    static com.jogamp.newt.event.MouseEvent
    This method returns a MouseEvent instance for the specified event.
    static com.jogamp.newt.event.MouseEvent
    This method returns a MouseEvent instance for the specified event.
    static com.jogamp.newt.event.MouseEvent
    This method returns a MouseEvent instance for the specified event.
    static boolean
    This method returns the boolean value true if the specified key event occurred.
    static boolean
    This method returns the boolean value true if the specified key event occurred.
    static boolean
    This method returns the boolean value true if the specified key event occurred.
    static boolean
    This method returns the boolean value true if the specified mouse event occurred.
    static boolean
    This method returns the boolean value true if the specified mouse event occurred.
    static boolean
    This method returns the boolean value true if the specified mouse event occurred.
    static boolean
    This method returns the boolean value true if the specified mouse event occurred.
    static boolean
    This method returns the boolean value true if the specified mouse event occurred.
    static boolean
    This method returns the boolean value true if the specified mouse event occurred.
    static boolean
    This method returns the boolean value true if the specified mouse event occurred.
    static boolean
    This method returns the boolean value true if the specified mouse event occurred.
    static boolean
    This method returns the boolean value true if the specified mouse event occurred.
    static boolean
    This method returns the boolean value true if the specified mouse wheel event occurred.
    static boolean
    This method returns the boolean value true if the specified mouse event occurred.
    protected static void
    setClickEvent(com.jogamp.newt.event.MouseEvent clickEvent)
     
    protected static void
    setDoubleClickEvent(com.jogamp.newt.event.MouseEvent doubleClickEvent)
     
    protected static void
    setDragEvent(com.jogamp.newt.event.MouseEvent dragEvent)
     
    protected static void
    setKeyPressed(boolean keyPressed)
     
    protected static void
    setKeyPressEvent(com.jogamp.newt.event.KeyEvent keyEvent)
     
    protected static void
    setKeyReleased(boolean keyReleased)
     
    protected static void
    setKeyReleaseEvent(com.jogamp.newt.event.KeyEvent keyReleaseEvent)
     
    protected static void
    setKeyTyped(boolean keyTyped)
     
    protected static void
    setKeyTypedEvent(com.jogamp.newt.event.KeyEvent keyTypedEvent)
     
    protected static void
    setMouseClicked(boolean mouseClicked)
     
    protected static void
    setMouseDoubleClicked(boolean mouseDoubleClicked)
     
    protected static void
    setMouseDragged(boolean mouseDragged)
     
    protected static void
    setMouseEntered(boolean mouseEntered)
     
    protected static void
    setMouseEnteredEvent(com.jogamp.newt.event.MouseEvent mouseEnteredEvent)
     
    protected static void
    setMouseExited(boolean mouseExited)
     
    protected static void
    setMouseExitedEvent(com.jogamp.newt.event.MouseEvent mouseExitedEvent)
     
    protected static void
    setMouseMoved(boolean mouseMoved)
     
    protected static void
    setMouseMoveEvent(com.jogamp.newt.event.MouseEvent mouseMoveEvent)
     
    protected static void
    setMousePressed(boolean mousePressed)
     
    protected static void
    setMouseTripleClicked(boolean mouseTripleClicked)
     
    protected static void
    setMouseWheelClicked(boolean mouseWheelClicked)
     
    protected static void
    setMouseWheelEvent(com.jogamp.newt.event.MouseEvent mouseWheelEvent)
     
    protected static void
    setMouseWheelMoved(boolean mouseWheelMoved)
     
    protected static void
    setPressEvent(com.jogamp.newt.event.MouseEvent pressEvent)
     
    protected static void
    setRightClickEvent(com.jogamp.newt.event.MouseEvent rightClickEvent)
     
    protected static void
    setRightMouseClicked(boolean rightMouseClicked)
     
    protected static void
    setTripleClickEvent(com.jogamp.newt.event.MouseEvent tripleClickEvent)
     
    protected static void
    setWheelClickEvent(com.jogamp.newt.event.MouseEvent wheelClickEvent)
     

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • mouseDragged

      protected static boolean mouseDragged
    • dragEvent

      protected static com.jogamp.newt.event.MouseEvent dragEvent
    • mousePressed

      protected static boolean mousePressed
    • pressEvent

      protected static com.jogamp.newt.event.MouseEvent pressEvent
    • mouseClicked

      protected static boolean mouseClicked
    • clickEvent

      protected static com.jogamp.newt.event.MouseEvent clickEvent
    • rightMouseClicked

      protected static boolean rightMouseClicked
    • rightClickEvent

      protected static com.jogamp.newt.event.MouseEvent rightClickEvent
    • mouseWheelClicked

      protected static boolean mouseWheelClicked
    • wheelClickEvent

      protected static com.jogamp.newt.event.MouseEvent wheelClickEvent
    • mouseDoubleClicked

      protected static boolean mouseDoubleClicked
    • doubleClickEvent

      protected static com.jogamp.newt.event.MouseEvent doubleClickEvent
    • mouseTripleClicked

      protected static boolean mouseTripleClicked
    • tripleClickEvent

      protected static com.jogamp.newt.event.MouseEvent tripleClickEvent
    • mouseWheelMoved

      protected static boolean mouseWheelMoved
    • mouseWheelEvent

      protected static com.jogamp.newt.event.MouseEvent mouseWheelEvent
    • mouseMoved

      protected static boolean mouseMoved
    • mouseMoveEvent

      protected static com.jogamp.newt.event.MouseEvent mouseMoveEvent
    • keyPressed

      protected static boolean keyPressed
    • keyPressEvent

      protected static com.jogamp.newt.event.KeyEvent keyPressEvent
    • mouseEntered

      protected static boolean mouseEntered
    • mouseEnteredEvent

      protected static com.jogamp.newt.event.MouseEvent mouseEnteredEvent
    • mouseExited

      protected static boolean mouseExited
    • mouseExitedEvent

      protected static com.jogamp.newt.event.MouseEvent mouseExitedEvent
    • keyReleased

      protected static boolean keyReleased
    • keyReleaseEvent

      protected static com.jogamp.newt.event.KeyEvent keyReleaseEvent
    • keyTyped

      protected static boolean keyTyped
    • keyTypedEvent

      protected static com.jogamp.newt.event.KeyEvent keyTypedEvent
  • Constructor Details

    • SpatialEvents

      public SpatialEvents()
  • Method Details

    • getDragEvent

      public static com.jogamp.newt.event.MouseEvent getDragEvent()
      This method returns a MouseEvent instance for the specified event.
      Returns:
      a MouseEvent instance.
    • setDragEvent

      protected static void setDragEvent(com.jogamp.newt.event.MouseEvent dragEvent)
    • isMouseWheelMoved

      public static boolean isMouseWheelMoved()
      This method returns the boolean value true if the specified mouse wheel event occurred.
      Returns:
      a boolean value.
    • setMouseWheelMoved

      protected static void setMouseWheelMoved(boolean mouseWheelMoved)
    • getMouseWheelEvent

      public static com.jogamp.newt.event.MouseEvent getMouseWheelEvent()
      This method returns a MouseWheelEvent instance for the specified event.
      Returns:
      a MouseWheelEvent instance.
    • setMouseWheelEvent

      protected static void setMouseWheelEvent(com.jogamp.newt.event.MouseEvent mouseWheelEvent)
    • isMouseClicked

      public static boolean isMouseClicked()
      This method returns the boolean value true if the specified mouse event occurred.
      Returns:
      a boolean value.
    • setMouseClicked

      protected static void setMouseClicked(boolean mouseClicked)
    • getClickEvent

      public static com.jogamp.newt.event.MouseEvent getClickEvent()
      This method returns a MouseEvent instance for the specified event.
      Returns:
      a MouseEvent instance.
    • setClickEvent

      protected static void setClickEvent(com.jogamp.newt.event.MouseEvent clickEvent)
    • isMouseDragged

      public static boolean isMouseDragged()
      This method returns the boolean value true if the specified mouse event occurred.
      Returns:
      a boolean value.
    • setMouseDragged

      protected static void setMouseDragged(boolean mouseDragged)
    • isMousePressed

      public static boolean isMousePressed()
      This method returns the boolean value true if the specified mouse event occurred.
      Returns:
      a boolean value.
    • setMousePressed

      protected static void setMousePressed(boolean mousePressed)
    • getPressEvent

      public static com.jogamp.newt.event.MouseEvent getPressEvent()
      This method returns a MouseEvent instance for the specified event.
      Returns:
      a MouseEvent instance.
    • setPressEvent

      protected static void setPressEvent(com.jogamp.newt.event.MouseEvent pressEvent)
    • isMouseDoubleClicked

      public static boolean isMouseDoubleClicked()
      This method returns the boolean value true if the specified mouse event occurred.
      Returns:
      a boolean value.
    • setMouseDoubleClicked

      protected static void setMouseDoubleClicked(boolean mouseDoubleClicked)
    • getDoubleClickEvent

      public static com.jogamp.newt.event.MouseEvent getDoubleClickEvent()
      This method returns a MouseEvent instance for the specified event.
      Returns:
      a MouseEvent instance.
    • setDoubleClickEvent

      protected static void setDoubleClickEvent(com.jogamp.newt.event.MouseEvent doubleClickEvent)
    • isRightMouseClicked

      public static boolean isRightMouseClicked()
      This method returns the boolean value true if the specified mouse event occurred.
      Returns:
      a boolean value.
    • setRightMouseClicked

      protected static void setRightMouseClicked(boolean rightMouseClicked)
    • getRightClickEvent

      public static com.jogamp.newt.event.MouseEvent getRightClickEvent()
      This method returns a MouseEvent instance for the specified event.
      Returns:
      a MouseEvent instance.
    • setRightClickEvent

      protected static void setRightClickEvent(com.jogamp.newt.event.MouseEvent rightClickEvent)
    • isMouseMoved

      public static boolean isMouseMoved()
      This method returns the boolean value true if the specified mouse event occurred.
      Returns:
      a boolean value.
    • setMouseMoved

      protected static void setMouseMoved(boolean mouseMoved)
    • getMouseMoveEvent

      public static com.jogamp.newt.event.MouseEvent getMouseMoveEvent()
      This method returns a MouseEvent instance for the specified event.
      Returns:
      a MouseEvent instance.
    • setMouseMoveEvent

      protected static void setMouseMoveEvent(com.jogamp.newt.event.MouseEvent mouseMoveEvent)
    • isMouseEntered

      public static boolean isMouseEntered()
      This method returns the boolean value true if the specified mouse event occurred.
      Returns:
      a boolean value.
    • setMouseEntered

      protected static void setMouseEntered(boolean mouseEntered)
    • getMouseEnteredEvent

      public static com.jogamp.newt.event.MouseEvent getMouseEnteredEvent()
      This method returns a MouseEvent instance for the specified event.
      Returns:
      a MouseEvent instance.
    • setMouseEnteredEvent

      protected static void setMouseEnteredEvent(com.jogamp.newt.event.MouseEvent mouseEnteredEvent)
    • isMouseExited

      public static boolean isMouseExited()
      This method returns the boolean value true if the specified mouse event occurred.
      Returns:
      a boolean value.
    • setMouseExited

      protected static void setMouseExited(boolean mouseExited)
    • getMouseExitedEvent

      public static com.jogamp.newt.event.MouseEvent getMouseExitedEvent()
      This method returns a MouseEvent instance for the specified event.
      Returns:
      a MouseEvent instance.
    • setMouseExitedEvent

      protected static void setMouseExitedEvent(com.jogamp.newt.event.MouseEvent mouseExitedEvent)
    • isMouseTripleClicked

      public static boolean isMouseTripleClicked()
      This method returns the boolean value true if the specified mouse event occurred.
      Returns:
      a boolean value.
    • setMouseTripleClicked

      protected static void setMouseTripleClicked(boolean mouseTripleClicked)
    • getTripleClickEvent

      public static com.jogamp.newt.event.MouseEvent getTripleClickEvent()
      This method returns a MouseEvent instance for the specified event.
      Returns:
      a MouseEvent instance.
    • setTripleClickEvent

      protected static void setTripleClickEvent(com.jogamp.newt.event.MouseEvent tripleClickEvent)
    • isMouseWheelClicked

      public static boolean isMouseWheelClicked()
      This method returns the boolean value true if the specified mouse event occurred.
      Returns:
      a boolean value.
    • setMouseWheelClicked

      protected static void setMouseWheelClicked(boolean mouseWheelClicked)
    • getWheelClickEvent

      public static com.jogamp.newt.event.MouseEvent getWheelClickEvent()
      This method returns a MouseEvent instance for the specified event.
      Returns:
      a MouseEvent instance.
    • setWheelClickEvent

      protected static void setWheelClickEvent(com.jogamp.newt.event.MouseEvent wheelClickEvent)
    • isKeyPressed

      public static boolean isKeyPressed()
      This method returns the boolean value true if the specified key event occurred.
      Returns:
      a boolean value.
    • setKeyPressed

      protected static void setKeyPressed(boolean keyPressed)
    • getKeyPressEvent

      public static com.jogamp.newt.event.KeyEvent getKeyPressEvent()
      This method returns a KeyEvent instance for the specified event.
      Returns:
      a KeyEvent instance.
    • setKeyPressEvent

      protected static void setKeyPressEvent(com.jogamp.newt.event.KeyEvent keyEvent)
    • isKeyReleased

      public static boolean isKeyReleased()
      This method returns the boolean value true if the specified key event occurred.
      Returns:
      a boolean value.
    • setKeyReleased

      protected static void setKeyReleased(boolean keyReleased)
    • getKeyReleaseEvent

      public static com.jogamp.newt.event.KeyEvent getKeyReleaseEvent()
      This method returns a KeyEvent instance for the specified event.
      Returns:
      a KeyEvent instance.
    • setKeyReleaseEvent

      protected static void setKeyReleaseEvent(com.jogamp.newt.event.KeyEvent keyReleaseEvent)
    • isKeyTyped

      public static boolean isKeyTyped()
      This method returns the boolean value true if the specified key event occurred.
      Returns:
      a boolean value.
    • setKeyTyped

      protected static void setKeyTyped(boolean keyTyped)
    • getKeyTypedEvent

      public static com.jogamp.newt.event.KeyEvent getKeyTypedEvent()
      This method returns a KeyEvent instance for the specified event.
      Returns:
      a KeyEvent instance.
    • setKeyTypedEvent

      protected static void setKeyTypedEvent(com.jogamp.newt.event.KeyEvent keyTypedEvent)