The UIComponent class is the base class for all visual components, both interactive and noninteractive.

Variables

read onlycontentHeight:Float

The height of the viewport's content.

read onlycontentWidth:Float

The width of the viewport's content.

enabled:Bool

Gets or sets a value that indicates whether the component can accept user input.

The default value is true

includeInLayout:Bool

Determines if the layout should use this object or ignore it.

The default value is true

isCreated:Bool

Determines if the component has been initialized and validated for the first time.

layout:Dynamic

Controls the way that the group's children are positioned and sized.

maxHeight:Float

The maximum recommended height of the component to be considered by the parent during layout.

maxWidth:Float

The maximum recommended width of the component to be considered by the parent during layout.

minHeight:Float

The minimum recommended height of the component to be considered by the parent during layout.

minWidth:Float

The minimum recommended width of the component to be considered by the parent during layout.

Methods

invalidateDisplayList ():Void

Marks a component so that its updateDisplayList() method gets called during a later screen update.

invalidateProperties ():Void

Marks a component so that its commitProperties() method gets called during a later screen update.

invalidateSize ():Void

Marks a component so that its measure() method gets called during a later screen update.

validate ():Void

Validate and update the properties and layout of this object and redraw it, if necessary.