Class ComponentMouseEvent

java.lang.Object
de.gurkenlabs.litiengine.gui.ComponentMouseEvent

public class ComponentMouseEvent extends Object
A ComponentMouseEvent contains the original MouseEvent and the GuiComponent that sent the event as sender.
  • Constructor Details

    • ComponentMouseEvent

      public ComponentMouseEvent(MouseEvent event, GuiComponent sender)
      Instantiates a new component mouse event.
      Parameters:
      event - the event
      sender - the sender
  • Method Details

    • getEvent

      public MouseEvent getEvent()
      Gets the event.
      Returns:
      the event
    • getSender

      public GuiComponent getSender()
      Gets the sender.
      Returns:
      the sender