public interface ComponentListener
Modifier and Type | Method and Description |
---|---|
void |
onComponentInvalidated(Component component)
Will be called when a component is signaling it's content has been invalidated and needs to
be repainted by the GUI system.
|
void |
onComponentLostFocus(InteractableComponent interactableComponent)
Will be called when input focus was taken away from a component by the GUI system.
|
void |
onComponentReceivedFocus(InteractableComponent interactableComponent)
Will be called when a component has gained the input focus of the GUI system.
|
void onComponentInvalidated(Component component)
component
- Component that was invalidatedvoid onComponentReceivedFocus(InteractableComponent interactableComponent)
interactableComponent
- Component that gained focusvoid onComponentLostFocus(InteractableComponent interactableComponent)
interactableComponent
- Component that lost focusCopyright © 2015. All Rights Reserved.