Pakket | mx.core |
Interface | public interface IUIComponent extends IFlexDisplayObject , IBitmapDrawable , IEventDispatcher |
Geïmplementeerd door | PostScaleAdapter, UIComponent |
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
Eigenschap | Gedefinieerd door | ||
---|---|---|---|
accessibilityProperties : AccessibilityProperties
De huidige toegankelijkheidsopties voor dit weergaveobject. | IFlexDisplayObject | ||
alpha : Number
Geeft de alpha-transparantiewaarde van het opgegeven object aan. | IFlexDisplayObject | ||
baselinePosition : Number [alleen-lezen]
The y-coordinate of the baseline
of the first line of text of the component. | IUIComponent | ||
blendMode : String
Een waarde uit de klasse BlendMode die opgeeft welke overvloeimodus moet worden gebruikt. | IFlexDisplayObject | ||
cacheAsBitmap : Boolean
Indien ingesteld op true, plaatsen Flash-runtimes een interne bitmaprepresentatie van het weergaveobject in cache. | IFlexDisplayObject | ||
document : Object
A reference to the document object associated with this component. | IUIComponent | ||
enabled : Boolean
Whether the component can accept user interaction. | IUIComponent | ||
explicitHeight : Number
The explicitly specified height for the component,
in pixels, as the component's coordinates. | IUIComponent | ||
explicitMaxHeight : Number [alleen-lezen]
Number that specifies the maximum height of the component,
in pixels, as the component's coordinates. | IUIComponent | ||
explicitMaxWidth : Number [alleen-lezen]
Number that specifies the maximum width of the component,
in pixels, as the component's coordinates. | IUIComponent | ||
explicitMinHeight : Number [alleen-lezen]
Number that specifies the minimum height of the component,
in pixels, as the component's coordinates. | IUIComponent | ||
explicitMinWidth : Number [alleen-lezen]
Number that specifies the minimum width of the component,
in pixels, as the component's coordinates. | IUIComponent | ||
explicitWidth : Number
The explicitly specified width for the component,
in pixels, as the component's coordinates. | IUIComponent | ||
filters : Array
Een geïndexeerde array die elk filterobject bevat dat momenteel is gekoppeld aan het weergaveobject. | IFlexDisplayObject | ||
focusPane : Sprite
A single Sprite object that is shared among components
and used as an overlay for drawing the focus indicator. | IUIComponent | ||
height : Number
Geeft de hoogte van het weergaveobject aan, in pixels. | IFlexDisplayObject | ||
includeInLayout : Boolean
Specifies whether this component is included in the layout of the
parent container. | IUIComponent | ||
isPopUp : Boolean
Set to true by the PopUpManager to indicate
that component has been popped up. | IUIComponent | ||
loaderInfo : LoaderInfo [alleen-lezen]
Retourneert een object LoaderInfo dat informatie bevat over het laden van het bestand waartoe dit weergaveobject behoort. | IFlexDisplayObject | ||
mask : DisplayObject
Het aanroepende weergaveobject wordt gemaskeerd door het opgegeven object mask. | IFlexDisplayObject | ||
maxHeight : Number [alleen-lezen]
Number that specifies the maximum height of the component,
in pixels, as the component's coordinates. | IUIComponent | ||
maxWidth : Number [alleen-lezen]
Number that specifies the maximum width of the component,
in pixels, as the component's coordinates. | IUIComponent | ||
measuredHeight : Number [alleen-lezen]
The measured height of this object. | IFlexDisplayObject | ||
measuredMinHeight : Number
The default minimum height of the component, in pixels. | IUIComponent | ||
measuredMinWidth : Number
The default minimum width of the component, in pixels. | IUIComponent | ||
measuredWidth : Number [alleen-lezen]
The measured width of this object. | IFlexDisplayObject | ||
minHeight : Number [alleen-lezen]
Number that specifies the minimum height of the component,
in pixels, as the component's coordinates. | IUIComponent | ||
minWidth : Number [alleen-lezen]
Number that specifies the minimum width of the component,
in pixels, as the component's coordinates. | IUIComponent | ||
mouseX : Number [alleen-lezen]
Geeft de x-coördinaat van de apparaatpositie van de muis of de gebruikersinvoer aan in pixels. | IFlexDisplayObject | ||
mouseY : Number [alleen-lezen]
Geeft de y-coördinaat van de apparaatpositie van de muis of de gebruikersinvoer aan in pixels. | IFlexDisplayObject | ||
name : String
Geeft de instantienaam van het DisplayObject aan. | IFlexDisplayObject | ||
opaqueBackground : Object
Geeft op of het weergaveobject dekkend is met een bepaalde achtergrondkleur. | IFlexDisplayObject | ||
owner : DisplayObjectContainer
The owner of this IVisualElement object. | IUIComponent | ||
parent : DisplayObjectContainer [alleen-lezen]
Geeft het object DisplayObjectContainer aan dat dit weergaveobject bevat. | IFlexDisplayObject | ||
percentHeight : Number
Number that specifies the height of a component as a
percentage of its parent's size. | IUIComponent | ||
percentWidth : Number
Number that specifies the width of a component as a
percentage of its parent's size. | IUIComponent | ||
root : DisplayObject [alleen-lezen]
Voor een weergaveobject in een geladen SWF-bestand is de eigenschap root het bovenste weergaveobject in het gedeelte van de boomstructuur van het weergaveoverzicht dat wordt vertegenwoordigd door dat SWF-bestand. | IFlexDisplayObject | ||
rotation : Number
Geeft de rotatie van de instantie DisplayObject vanaf de oorspronkelijke oriëntatie (in graden) aan. | IFlexDisplayObject | ||
scale9Grid : Rectangle
Het huidige schaalraster dat wordt gebruikt. | IFlexDisplayObject | ||
scaleX : Number
Bepaalt de horizontale schaal (percentage) van het object zoals deze wordt toegepast vanuit het registratiepunt. | IFlexDisplayObject | ||
scaleY : Number
Bepaalt de verticale schaal (percentage) van een object zoals deze wordt toegepast vanuit het registratiepunt van het object. | IFlexDisplayObject | ||
scrollRect : Rectangle
De verschuivende rechthoekgrenzen van het weergaveobject. | IFlexDisplayObject | ||
stage : Stage [alleen-lezen]
Het werkgebied van het weergaveobject. | IFlexDisplayObject | ||
systemManager : ISystemManager
A reference to the SystemManager object for this component. | IUIComponent | ||
transform : flash.geom:Transform
Een object met eigenschappen die betrekking hebben op de matrix van een weergaveobject, de kleurtransformatie en de pixelbeperkingen. | IFlexDisplayObject | ||
tweeningProperties : Array
Used by EffectManager. | IUIComponent | ||
visible : Boolean
Bepaalt of het weergaveobject zichtbaar is. | IFlexDisplayObject | ||
width : Number
Geeft de breedte van het weergaveobject aan, in pixels. | IFlexDisplayObject | ||
x : Number
Bepaalt de x-coördinaat van de instantie DisplayObject ten opzichte van de lokale coördinaten van de bovenliggende DisplayObjectContainer. | IFlexDisplayObject | ||
y : Number
Bepaalt de y-coördinaat van de instantie DisplayObject ten opzichte van de lokale coördinaten van de bovenliggende DisplayObjectContainer. | IFlexDisplayObject |
Methode | Gedefinieerd door | ||
---|---|---|---|
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registreert een gebeurtenislistenerobject bij een object EventDispatcher, zodat de listener een melding van een gebeurtenis ontvangt. | IEventDispatcher | ||
Verzendt een gebeurtenis naar de gebeurtenisstroom. | IEventDispatcher | ||
Retourneert een rechthoek die het gebied van het weergaveobject aangeeft ten opzichte van het coördinatensysteem van het object targetCoordinateSpace. | IFlexDisplayObject | ||
A convenience method for determining whether to use the
explicit or measured height
| IUIComponent | ||
A convenience method for determining whether to use the
explicit or measured width
| IUIComponent | ||
Retourneert een rechthoek die de grens van het weergaveobject aangeeft op basis van het coördinatensysteem dat wordt gedefinieerd door de paramater targetCoordinateSpace, minus enige streken op vormen. | IFlexDisplayObject | ||
Hiermee worden de (algemene) werkgebiedcoördinaten van het object point omgezet in (lokale) objectcoördinaten. | IFlexDisplayObject | ||
Controleert of het object EventDispatcher listeners heeft geregistreerd voor een specifiek type gebeurtenis. | IEventDispatcher | ||
Evalueert het selectiekader van het weergaveobject om te zien of dit het selectiekader van het weergaveobject obj overlapt of snijdt. | IFlexDisplayObject | ||
Hiermee wordt het weergaveobject geëvalueerd om te zien of deze een punt dat is opgegeven door de parameters x en y, overlapt of doorsnijdt. | IFlexDisplayObject | ||
Initialize the object. | IUIComponent | ||
Hiermee worden de (lokale) weergaveobjectcoördinaten van het object point omgezet in (algemene) werkgebiedcoördinaten. | IFlexDisplayObject | ||
Moves this object to the specified x and y coordinates. | IFlexDisplayObject | ||
Returns true if the chain of owner properties
points from child to this UIComponent. | IUIComponent | ||
Called by Flex when a UIComponent object is added to or removed from a parent. | IUIComponent | ||
Verwijdert een listener uit het object EventDispatcher. | IEventDispatcher | ||
Sets the actual size of this object. | IFlexDisplayObject | ||
Called when the visible property changes. | IUIComponent | ||
Controleert of een gebeurtenislistener is geregistreerd bij dit object EventDispatcher of een van de voorouders voor het opgegeven type gebeurtenis. | IEventDispatcher |
baselinePosition | eigenschap |
baselinePosition:Number
[alleen-lezen] Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
The y-coordinate of the baseline of the first line of text of the component.
This property is used to implement
the baseline
constraint style.
It is also used to align the label of a FormItem
with the controls in the FormItem.
Implementatie
public function get baselinePosition():Number
document | eigenschap |
document:Object
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
A reference to the document object associated with this component. A document object is an Object at the top of the hierarchy of a Flex application, MXML component, or ActionScript component.
Implementatie
public function get document():Object
public function set document(value:Object):void
enabled | eigenschap |
enabled:Boolean
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
Whether the component can accept user interaction. After setting the enabled
property to false
, some components still respond to mouse interactions such
as mouseOver. As a result, to fully disable UIComponents,
you should also set the value of the mouseEnabled
property to false
.
If you set the enabled
property to false
for a container, Flex dims the color of the container and of all
of its children, and blocks user input to the container
and to all of its children.
Implementatie
public function get enabled():Boolean
public function set enabled(value:Boolean):void
explicitHeight | eigenschap |
explicitHeight:Number
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
The explicitly specified height for the component,
in pixels, as the component's coordinates.
If no height is explicitly specified, the value is NaN
.
Implementatie
public function get explicitHeight():Number
public function set explicitHeight(value:Number):void
Verwante API-elementen
explicitMaxHeight | eigenschap |
explicitMaxHeight:Number
[alleen-lezen] Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
Number that specifies the maximum height of the component, in pixels, as the component's coordinates.
Implementatie
public function get explicitMaxHeight():Number
Verwante API-elementen
explicitMaxWidth | eigenschap |
explicitMaxWidth:Number
[alleen-lezen] Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
Number that specifies the maximum width of the component, in pixels, as the component's coordinates.
Implementatie
public function get explicitMaxWidth():Number
Verwante API-elementen
explicitMinHeight | eigenschap |
explicitMinHeight:Number
[alleen-lezen] Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
Number that specifies the minimum height of the component, in pixels, as the component's coordinates.
Implementatie
public function get explicitMinHeight():Number
Verwante API-elementen
explicitMinWidth | eigenschap |
explicitMinWidth:Number
[alleen-lezen] Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
Number that specifies the minimum width of the component, in pixels, as the component's coordinates.
Implementatie
public function get explicitMinWidth():Number
Verwante API-elementen
explicitWidth | eigenschap |
explicitWidth:Number
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
The explicitly specified width for the component,
in pixels, as the component's coordinates.
If no width is explicitly specified, the value is NaN
.
Implementatie
public function get explicitWidth():Number
public function set explicitWidth(value:Number):void
Verwante API-elementen
focusPane | eigenschap |
focusPane:Sprite
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
A single Sprite object that is shared among components and used as an overlay for drawing the focus indicator. Components share this object if their parent is a focused component, not if the component implements the IFocusManagerComponent interface.
Implementatie
public function get focusPane():Sprite
public function set focusPane(value:Sprite):void
Verwante API-elementen
includeInLayout | eigenschap |
includeInLayout:Boolean
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
Specifies whether this component is included in the layout of the
parent container.
If true
, the object is included in its parent container's
layout and is sized and positioned by its parent container as per its layout rules.
If false
, the object size and position are not affected by its parent container's
layout.
Implementatie
public function get includeInLayout():Boolean
public function set includeInLayout(value:Boolean):void
isPopUp | eigenschap |
maxHeight | eigenschap |
maxWidth | eigenschap |
measuredMinHeight | eigenschap |
measuredMinHeight:Number
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
The default minimum height of the component, in pixels.
This value is set by the measure()
method.
Implementatie
public function get measuredMinHeight():Number
public function set measuredMinHeight(value:Number):void
measuredMinWidth | eigenschap |
measuredMinWidth:Number
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
The default minimum width of the component, in pixels.
This value is set by the measure()
method.
Implementatie
public function get measuredMinWidth():Number
public function set measuredMinWidth(value:Number):void
minHeight | eigenschap |
minWidth | eigenschap |
owner | eigenschap |
owner:DisplayObjectContainer
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
The owner of this IVisualElement object. By default, it is the parent of this IVisualElement object. However, if this IVisualElement object is a child component that is popped up by its parent, such as the drop-down list of a ComboBox control, the owner is the component that popped up this IVisualElement object.
This property is not managed by Flex, but by each component.
Therefore, if you use the PopUpManger.createPopUp()
or
PopUpManger.addPopUp()
method to pop up a child component,
you should set the owner
property of the child component
to the component that popped it up.
The default value is the value of the parent
property.
Implementatie
public function get owner():DisplayObjectContainer
public function set owner(value:DisplayObjectContainer):void
percentHeight | eigenschap |
percentHeight:Number
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
Number that specifies the height of a component as a percentage of its parent's size. Allowed values are 0 to 100.
Implementatie
public function get percentHeight():Number
public function set percentHeight(value:Number):void
percentWidth | eigenschap |
percentWidth:Number
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
Number that specifies the width of a component as a percentage of its parent's size. Allowed values are 0 to 100.
Implementatie
public function get percentWidth():Number
public function set percentWidth(value:Number):void
systemManager | eigenschap |
systemManager:ISystemManager
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
A reference to the SystemManager object for this component.
Implementatie
public function get systemManager():ISystemManager
public function set systemManager(value:ISystemManager):void
tweeningProperties | eigenschap |
tweeningProperties:Array
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
Used by EffectManager. Returns non-null if a component is not using the EffectManager to execute a Tween.
Implementatie
public function get tweeningProperties():Array
public function set tweeningProperties(value:Array):void
getExplicitOrMeasuredHeight | () | methode |
public function getExplicitOrMeasuredHeight():Number
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
A convenience method for determining whether to use the explicit or measured height
Geretourneerde waardeNumber — A Number which is explicitHeight if defined
or measuredHeight if not.
|
getExplicitOrMeasuredWidth | () | methode |
public function getExplicitOrMeasuredWidth():Number
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
A convenience method for determining whether to use the explicit or measured width
Geretourneerde waardeNumber — A Number which is explicitWidth if defined
or measuredWidth if not.
|
initialize | () | methode |
public function initialize():void
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
Initialize the object.
Verwante API-elementen
owns | () | methode |
public function owns(displayObject:DisplayObject):Boolean
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
Returns true
if the chain of owner
properties
points from child
to this UIComponent.
Parameters
displayObject:DisplayObject — A UIComponent.
|
Boolean — true if the child is parented or owned by this UIComponent.
|
parentChanged | () | methode |
public function parentChanged(p:DisplayObjectContainer):void
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
Called by Flex when a UIComponent object is added to or removed from a parent. Developers typically never need to call this method.
Parameters
p:DisplayObjectContainer — The parent of this UIComponent object.
|
setVisible | () | methode |
public function setVisible(value:Boolean, noEvent:Boolean = false):void
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
Called when the visible
property changes.
Set the visible
property to show or hide
a component instead of calling this method directly.
Parameters
value:Boolean — The new value of the visible property.
Specify true to show the component, and false to hide it.
| |
noEvent:Boolean (default = false ) — If true , do not dispatch an event.
If false , dispatch a show event when
the component becomes visible, and a hide event when
the component becomes invisible.
|
Wed Jun 13 2018, 11:42 AM Z