Package | com.ghostwire.ui.containers |
Class | public class uiToggleFrame |
Inheritance | uiToggleFrame ![]() ![]() ![]() |
uiToggleFrame
is a uiFrame
whose content can be toggled enabled/disabled by
clicking on a check box title.
"title" Property
The title
property always references the embedded uiCheckBox
instance. You
cannot change this title, but you may reference this uiCheckBox
instance and change its
properties. For example, to place the check box in the center, you would set the alignX
property to ALIGN.CENTER
.
~ This class is available in Aspire UI Components Standard Edition ~
Method | Defined by | ||
---|---|---|---|
uiToggleFrame(text:String = null, image:String = null, textPosition:int = 0, labelPosition:int = 0)
Constructor - creates a new
uiToggleFrame container instance. | uiToggleFrame | ||
![]() |
invalidate(type:String):void
Invalidates this component's "size", "display", "layout" or "textstyle".
| uiComponent | |
![]() |
move(x:Number, y:Number, noEvent:Boolean = false):void
Moves the component to the specified position, disregarding its allocation.
| uiComponent | |
![]() |
removeAllChildren(all:Boolean = false):void
Removes all children from this component.
| uiComponent | |
![]() |
setFocus(flag:Boolean = true):void
Gives this component instance the focus; the component must be on the display list and has its
tabEnabled property set to true , otherwise this method will fail
silently. | uiComponent | |
![]() |
setSize(width:Number, height:Number, noEvent:Boolean = false):void
Sets this component's size to the specified
width and height . | uiComponent | |
![]() |
setVisible(value:Boolean, noEvent:Boolean = false):void
Sets the visibility of this component instance, dispatching a "show" or "hide" event accordingly.
| uiComponent | |
![]() |
validateNow():void
Validates and render the component instance, and any component instances with
depth higher than itself in the validation queue, immediately. | uiComponent |
uiToggleFrame | () | constructor |
public function uiToggleFrame(text:String = null, image:String = null, textPosition:int = 0, labelPosition:int = 0)
Constructor - creates a new uiToggleFrame
container instance.
text:String (default = null ) — Optional. A String indicating the text title to appear at the top of the frame.
|
|
image:String (default = null ) — Optional. A String indicating the source to an image icon to show in the title
of the frame.
|
|
textPosition:int (default = 0 ) — Optional. Indicates the position of the text vis-a-vis the icon. Qualified
values are Position.LEFT , Position.RIGHT , Position.TOP
and Position.BOTTOM .
|
|
labelPosition:int (default = 0 ) — Optional. Indicates the position of the title vis-a-vis the check box.
Qualified values are Position.LEFT , Position.RIGHT ,
Position.TOP and Position.BOTTOM .
|