de.gurkenlabs.litiengine.gui.ComponentMouseWheelEvent Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of litiengine Show documentation
Show all versions of litiengine Show documentation
The FOSS 2D Java game engine.
The newest version!
package de.gurkenlabs.litiengine.gui;
import java.awt.event.MouseWheelEvent;
public class ComponentMouseWheelEvent {
private final MouseWheelEvent event;
/** The sender. */
private final GuiComponent sender;
/**
* Instantiates a new component mouse event.
*
* @param event
* the event
* @param sender
* the sender
*/
public ComponentMouseWheelEvent(final MouseWheelEvent event, final GuiComponent sender) {
this.event = event;
this.sender = sender;
}
/**
* Gets the event.
*
* @return the event
*/
public MouseWheelEvent getEvent() {
return this.event;
}
/**
* Gets the sender.
*
* @return the sender
*/
public GuiComponent getSender() {
return this.sender;
}
}