Class ToolInputEvent

java.lang.Object
java.util.EventObject
mgui.interfaces.tools.ToolInputEvent
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
ToolMouseEvent

public class ToolInputEvent
extends java.util.EventObject
Event signifying that input has been detected and must be handled by a Tool object.
Since:
1.0
Version:
1.0
Author:
Andrew Reid
See Also:
Serialized Form
  • Field Details

    • eventType

      protected int eventType
    • eventPoint

      protected java.awt.Point eventPoint
    • eventVal

      protected double eventVal
    • keyInputVal

      protected int keyInputVal
    • ctrl_pressed

      protected boolean ctrl_pressed
    • shift_pressed

      protected boolean shift_pressed
  • Constructor Details

    • ToolInputEvent

      public ToolInputEvent​(java.lang.Object object)
    • ToolInputEvent

      public ToolInputEvent​(InterfacePanel panel)
    • ToolInputEvent

      public ToolInputEvent​(InterfacePanel panel, int type, java.awt.Point thisPt)
    • ToolInputEvent

      public ToolInputEvent​(InterfacePanel panel, int type, java.awt.Point thisPt, boolean ctrl_pressed, boolean shift_pressed)
    • ToolInputEvent

      public ToolInputEvent​(org.jogamp.java3d.Canvas3D panel, int type, java.awt.Point thisPt)
    • ToolInputEvent

      public ToolInputEvent​(InterfacePanel panel, int type, int keyInputVal)
  • Method Details

    • getEventType

      public int getEventType()
    • getPoint

      public java.awt.Point getPoint()
    • getVal

      public double getVal()
    • setVal

      public void setVal​(double thisVal)
    • getKeyInputVal

      public int getKeyInputVal()
    • setKeyInputVal

      public void setKeyInputVal​(int thisVal)
    • isShiftPressed

      public boolean isShiftPressed()
    • isCtrlPressed

      public boolean isCtrlPressed()