The Button component represents a commonly used rectangular button. Button components display a text label.
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
true
includeInLayout:Bool
Determines if the layout should use this object or ignore it.
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.
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.