Package org.polyfrost.polyui.event
See: Description
-
Interface Summary Interface Description Event An event in the PolyUI system. -
Annotation Summary Annotation Description EventDSLMarker marker class for preventing illegal nesting. -
Class Summary Class Description EventDSL DSL for events. EventManager Handles all events and passes them to the correct components/layouts. KeyTyped called when a key is typed (and modifiers) is pressed. KeyPressed called when a non-printable key (and modifiers) is pressed. KeyReleased FocusedEvent MousePressed acceptable by component and layout, when the mouse goes down on this drawable. MouseReleased acceptable by component and layout, when the mouse is released on this component. MouseClicked acceptable by components and layouts, and is dispatched when the mouse is clicked on this component. MouseScrolled Dispatched when the mouse is scrolled on this component/layout. -
Object Summary Object Description Gained Lost MouseEntered acceptable by component and layout, when the mouse enters this drawable. MouseExited acceptable by component and layout, when the mouse leaves this drawable. MouseMoved acceptable by component and layout, when the mouse is moved on this drawable. Disabled Acceptable by component, this is dispatched when a component is disabled. Enabled Acceptable by component, this is dispatched when a component is enabled. Added This event is dispatched when a component/layout is added after it has been initialized (i.e. Removed This event is dispatched when a component/layout is removed, using the removeComponent function.