Text Input
Constructors
Properties
internal storage for the palette.
If true, this component will not be drawn as it is considered to be clipped outside of the screen, either by being outside its parent or the screen entirely. This is controlled by clipChildren.
Returns true if this component had a position specified at creation time.
Returns `true if this component had a size specified at creation time.
The weight of the font.
The current input state of this component. Note that this value is not responsible for dispatching events such as Event.Mouse.Exited or Event.Mouse.Pressed. It is just here for tracking purposes and for your benefit.
Disabled flag for this component. Dispatches the Event.Lifetime.Disabled and Event.Lifetime.Enabled events.
true if this drawable has any operations.
Flags that store various states of this component regarding the org.polyfrost.polyui.layout.LayoutController and resizing. Currently, the following is stored here:
If true, this component will be ignored during the org.polyfrost.polyui.layout.LayoutController's routine of placing components. Use this if you want to specify it manually based on something else, for example.
Returns true if this component has been initialized to the point where it has been positioned, e.g. Event.Lifetime.Init has been dispatched, and Event.Lifetime.PostInit is about to be.
The visible size of this component. This is used for clipping and scrolling.
Functions
Add a ComponentOp to this component.
Bulk add method for all the builtin drawable operations in PolyUI.
Bulk add method for all the builtin drawable operations in PolyUI.
Use this function to calculate the size of this component. DO NOT include children in this calculation!
Clear all event handlers for this component.
Returns a count of this component's children, including children of children.
Override this function to add things to the debug display of this component.
This method is called every frame, and is used to update the component.
Supply extra information to the toString representation of this object. Keep it short.
Return the actual TextInput from a org.polyfrost.polyui.component.impl.BoxedNumericInput component.
Return the actual TextInput from a org.polyfrost.polyui.component.impl.BoxedTextInput component.
returns true if this component has any non-specific event handlers registered for it.
returns true if this component has any specific event handlers registered for it.
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.
Fully recalculate this component's size, and any of its children's positions.
Perform a refont operation on this component, changing its font from the old FontFamily to the new FontFamily, and all its children.
Remove an operation from this drawable.
reset the initial scroll position to the current position.