Group
Constructors
Properties
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 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.
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.
Reposition all the children of this component.
Fully recalculate this component's size, and any of its children's positions.
Remove an operation from this drawable.
reset the initial scroll position to the current position.