Package-level declarations
Functions
Add some text that is shown when the mouse is left still over this drawable for 1 second or more.
Use this method on your component if you plan on it being removed from the component tree and re-added later, to guard against the theming system not updating the component's palette as it was not referenced when the colors were changed.
Add an event handler to this drawable's parent, and (optionally) it's parent's parent (depth).
Bulk add method for all the builtin drawable operations in PolyUI.
Bulk add method for all the builtin drawable operations in PolyUI.
Returns a count of this component's children, including children of children.
Instruct this component to refuse scrolling even if it is deemed necessary.
Return the actual TextInput from a org.polyfrost.polyui.component.impl.BoxedNumericInput component.
Return the position that this component is currently moving to, or its current position if it is not moving.
Return the size that this component is currently resizing to, or its current size if it is not resizing.
Return the actual TextInput from a org.polyfrost.polyui.component.impl.BoxedTextInput component.
Turn this component into a 'rearrangeable grid', meaning that the children in it can be dragged around and rearranged in any order by the user. It will automatically adapt and insert the children in the correct order.
Specify a minimum size for this component. Note that this will also disable scrolling due to optimizations.
Perform a function on all matching components (itself and its children) of the given type.
Perform a function on all matching components (itself and its children) of the given class.
Add a listener for changes to the given Boolean-type property.
Add a listener for changes to the given Float-type property.
Add a listener for changes to the given Int-type property.
Add a listener for changes to the given String-type property.
Use this to add a simple listener for the Event.Change.State event.
Prioritize this component, meaning it will, in relation to its siblings:
Perform a refont operation on this component, changing its font from the old FontFamily to the new FontFamily, and all its children.
Set the color palette of this drawable during initialization, using the PolyUI colors instance.
Set the currently selected entry of this radiobutton to index (input is coerced into the range of the radiobutton).