MetaComponent
Component providing XML wrappers and such the ability to wrap meta operations that operate on the entire screen. This component should be permanently mounted and does not impact layouting or rendering.
Constructors
Functions
Walk over the direct children of this element. A gui element that composites other gui elements should override this method. By default, the initial element is returned without change.
Walk the scene tree of this gui element, including children of children. By default, the visitor is called with only this element.
Called by the parent renderer.
Called by the parent renderer.
Called after the gui has been closed, both by the component gui, or by other actors, such as a teleport packet.
Called just before a voluntary close. Return CloseAction.DENY_CLOSE to override the close. Make sure to update your state such that the user can close the gui afterward.
This method is called by the gui context when an element gains focus. This does only get called if this element specifically is being focused.
This method is called by the gui context when an element loses focus. This does only get called if this element specifically was focused.
Called by the parent renderer. The GL matrix stack is pre-transformed, so rendering can begin at (0, 0)
and should not render beyond what the context says is available.
Call this method to request focus in the current gui context.