Apache Flex (FlexJS) 0.7.0 API Reference | All Packages | All Classes | Index | Frames No Frames |
IUIBase

Package | org.apache.flex.core
Interface | public interface IUIBase extends IStrand, IEventDispatcher, flash.events.IEventDispatcher
Implementors | Button, TextFieldItemRenderer, ToggleTextButton, UIButtonBase

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

The IUIBase interface is the basic interface for user interface components.

Public Properties

| Property | Defined By
--- | --- | ---
|  | alpha : Number The alpha or opacity in the range of 0 to 1. | IUIBase
|  | element : IFlexJSElement [read-only] Each IUIBase has an element that is actually added to the platform's display list DOM. | IUIBase
|  | height : Number The height of the bounding box. | IUIBase
|  | topMostEventDispatcher : IEventDispatcher [read-only] The top most event dispatcher. | IUIBase
|  | visible : Boolean Whether the component is visible. | IUIBase
|  | width : Number The width of the bounding box. | IUIBase
|  | x : Number The x co-ordinate or left side position of the bounding box. | IUIBase
|  | y : Number The y co-ordinate or top position of the bounding box. | IUIBase

Public Methods
Hide Inherited Public Methods
Show Inherited Public Methods

| Method | Defined By
--- | --- | ---
|  | addBead(bead:IBead):void Add a bead to the strand. | IStrand
|  | addedToParent():void Called by parent components when the component is added via a call to addElement or addElementAt. | IUIBase
|  | getBeadByType(classOrInterface:Class):IBead Find a bead on the strand. | IStrand
|  | removeBead(bead:IBead):IBead Remove a bead from the strand. | IStrand

Property Detail

alpha | property

`alpha:Number`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

The alpha or opacity in the range of 0 to 1.

Implementation
`public function get alpha():Number`
`public function set alpha(value:Number):void`

element | property |

`element:IFlexJSElement` [read-only]

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

Each IUIBase has an element that is actually added to the platform's display list DOM. It may not be the actual component itself.

Implementation
`public function get element():IFlexJSElement`

height | property |

`height:Number`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

The height of the bounding box.

Implementation
`public function get height():Number`
`public function set height(value:Number):void`

topMostEventDispatcher | property |

`topMostEventDispatcher:IEventDispatcher` [read-only]

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

The top most event dispatcher. Good for trying to capture all input events.

Implementation
`public function get topMostEventDispatcher():IEventDispatcher`

visible | property |

`visible:Boolean`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

Whether the component is visible.

Implementation
`public function get visible():Boolean`
`public function set visible(value:Boolean):void`

width | property |

`width:Number`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

The width of the bounding box.

Implementation
`public function get width():Number`
`public function set width(value:Number):void`

x | property |

`x:Number`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

The x co-ordinate or left side position of the bounding box.

Implementation
`public function get x():Number`
`public function set x(value:Number):void`

y | property |

`y:Number`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

The y co-ordinate or top position of the bounding box.

Implementation
`public function get y():Number`
`public function set y(value:Number):void`
Method Detail

addedToParent | () | method

`public function addedToParent():void`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

Called by parent components when the component is added via a call to addElement or addElementAt.

Mon Sep 5 2016, 07:19 AM -07:00