Package de.gurkenlabs.litiengine.gui
Class ComponentRenderEvent
java.lang.Object
java.util.EventObject
de.gurkenlabs.litiengine.gui.ComponentRenderEvent
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source -
Constructor Summary
ConstructorsConstructorDescriptionComponentRenderEvent(Graphics2D graphics, GuiComponent source) Constructs a prototypical Event. -
Method Summary
Modifier and TypeMethodDescriptionGet the component involved with the rendering process.Gets the graphics object on which the entity is rendered.Methods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
ComponentRenderEvent
Constructs a prototypical Event.- Parameters:
source- the object on which the Event initially occurred- Throws:
IllegalArgumentException- if source is null
-
-
Method Details
-
getComponent
Get the component involved with the rendering process.- Returns:
- The component involved with the rendering process.
-
getGraphics
Gets the graphics object on which the entity is rendered.- Returns:
- The graphics object on which the entity is rendered.
-