| Paket | mx.core |
| Gränssnitt | public interface IUIComponent extends IFlexDisplayObject , IBitmapDrawable , IEventDispatcher |
| Implementorer | PostScaleAdapter, UIComponent |
| Språkversion: | ActionScript 3.0 |
| Produktversion: | Flex 3 |
| Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
| Egenskap | Definieras med | ||
|---|---|---|---|
![]() | accessibilityProperties : AccessibilityProperties
De nuvarande hjälpmedelsalternativen för det här visningsobjektet. | IFlexDisplayObject | |
![]() | alpha : Number
Anger det angivna objektets alfagenomskinlighetsvärde. | IFlexDisplayObject | |
| baselinePosition : Number [skrivskyddad]
The y-coordinate of the baseline
of the first line of text of the component. | IUIComponent | ||
![]() | blendMode : String
Ett värde från klassen BlendMode som anger vilket blandningsläge som ska användas. | IFlexDisplayObject | |
![]() | cacheAsBitmap : Boolean
Om det är true, sparar Flash-miljöerna en intern bitmappsrepresentation av visningsobjektet i cache-minnet. | 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 [skrivskyddad]
Number that specifies the maximum height of the component,
in pixels, as the component's coordinates. | IUIComponent | ||
| explicitMaxWidth : Number [skrivskyddad]
Number that specifies the maximum width of the component,
in pixels, as the component's coordinates. | IUIComponent | ||
| explicitMinHeight : Number [skrivskyddad]
Number that specifies the minimum height of the component,
in pixels, as the component's coordinates. | IUIComponent | ||
| explicitMinWidth : Number [skrivskyddad]
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
En indexerad array som innehåller varje filterobjekt som är associerat med visningsobjektet. | 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
Anger visningsobjektets höjd i pixlar. | 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 [skrivskyddad]
Returnerar ett LoaderInfo-objekt som innehåller information om hur filen som visningsobjektet tillhör ska läsas in. | IFlexDisplayObject | |
![]() | mask : DisplayObject
Det anropande visningsobjektet maskeras av det angivna visningsobjektet. | IFlexDisplayObject | |
| maxHeight : Number [skrivskyddad]
Number that specifies the maximum height of the component,
in pixels, as the component's coordinates. | IUIComponent | ||
| maxWidth : Number [skrivskyddad]
Number that specifies the maximum width of the component,
in pixels, as the component's coordinates. | IUIComponent | ||
![]() | measuredHeight : Number [skrivskyddad]
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 [skrivskyddad]
The measured width of this object. | IFlexDisplayObject | |
| minHeight : Number [skrivskyddad]
Number that specifies the minimum height of the component,
in pixels, as the component's coordinates. | IUIComponent | ||
| minWidth : Number [skrivskyddad]
Number that specifies the minimum width of the component,
in pixels, as the component's coordinates. | IUIComponent | ||
![]() | mouseX : Number [skrivskyddad]
Anger x-koordinaten för musens eller användarens indataenhets position i pixlar. | IFlexDisplayObject | |
![]() | mouseY : Number [skrivskyddad]
Anger y-koordinaten för musens eller användarens indataenhets position i pixlar. | IFlexDisplayObject | |
![]() | name : String
Anger instansnamnet för DisplayObject. | IFlexDisplayObject | |
![]() | opaqueBackground : Object
Anger om visningsobjektet är ogenomskinligt med en viss bakgrundsfärg. | IFlexDisplayObject | |
| owner : DisplayObjectContainer
The owner of this IVisualElement object. | IUIComponent | ||
![]() | parent : DisplayObjectContainer [skrivskyddad]
Anger DisplayObjectContainer-objektet som innehåller visningsobjektet. | 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 [skrivskyddad]
För ett visningsobjekt i en inläst SWF-fil är rotegenskapen det översta visningsobjektet i den del av visningslistans trädstruktur som representeras av den SWF-filen. | IFlexDisplayObject | |
![]() | rotation : Number
Anger DisplayObject-instansens rotation i grader från den ursprungliga orienteringen. | IFlexDisplayObject | |
![]() | scale9Grid : Rectangle
Det skalningsrutnät som används för närvarande. | IFlexDisplayObject | |
![]() | scaleX : Number
Anger vågrät skala (i procent) för objektet utifrån dess registreringspunkt. | IFlexDisplayObject | |
![]() | scaleY : Number
Anger lodrät skala (i procent) för objektet utifrån dess registreringspunkt. | IFlexDisplayObject | |
![]() | scrollRect : Rectangle
Visningsobjektets gränser för rullningsrektangeln. | IFlexDisplayObject | |
![]() | stage : Stage [skrivskyddad]
Visningsobjektets scen. | IFlexDisplayObject | |
| systemManager : ISystemManager
A reference to the SystemManager object for this component. | IUIComponent | ||
![]() | transform : flash.geom:Transform
Ett objekt med egenskaper som gäller ett visningsobjekts matris, färgomformning och pixelgränser. | IFlexDisplayObject | |
| tweeningProperties : Array
Used by EffectManager. | IUIComponent | ||
![]() | visible : Boolean
Om visingsobjektet är synligt eller inte. | IFlexDisplayObject | |
![]() | width : Number
Anger visningsobjektets bredd i pixlar. | IFlexDisplayObject | |
![]() | x : Number
Anger x-koordinaten för DisplayObject-instansen i förhållande till de lokala koordinaterna för den överordnade DisplayObjectContainer. | IFlexDisplayObject | |
![]() | y : Number
Anger y-koordinaten för DisplayObject-instansen i förhållande till de lokala koordinaterna för den överordnade DisplayObjectContainer. | IFlexDisplayObject | |
| Metod | Definieras med | ||
|---|---|---|---|
![]() | addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registrerar ett händelseavlyssnarobjekt för ett EventDispatcher-objekt så att avlyssnaren får meddelanden om händelser. | IEventDispatcher | |
![]() |
Skickar en händelse till händelseflödet. | IEventDispatcher | |
![]() |
Returnerar en rektangel som definierar visningsområdets område i relation till targetCoordinateSpace-objektets koordinatsystem. | 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 | ||
![]() |
Returnerar en rektangel som definierar visningsområdets gräns, baserat på koordinatsystemet som definieras av targetCoordinateSpace-parametern, exklusive eventuella linjer i former. | IFlexDisplayObject | |
![]() |
Konverterar punktobjektet från scenens (globala) koordinater till visningsobjektets (lokala) koordinater. | IFlexDisplayObject | |
![]() |
Kontrollerar om EventDispatcher-objektet har några avlyssnare registrerade för en viss typ av händelse. | IEventDispatcher | |
![]() |
Utvärderar begränsningsramen för visningsobjektet för att kontrollera om den överlappar eller korsar begränsningsramen för obj-visningsobjektet. | IFlexDisplayObject | |
![]() |
Utvärderar visningsobjektet för att avgöra om det överlappar eller korsar den punkt som anges av x- och y-parametrarna. | IFlexDisplayObject | |
Initialize the object. | IUIComponent | ||
![]() |
Konverterar punktobjektet från visningsobjektets (lokala) koordinater till scenens (globala) koordinater. | 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 | ||
![]() |
Tar bort en avlyssnare från EventDispatcher-objektet. | IEventDispatcher | |
![]() |
Sets the actual size of this object. | IFlexDisplayObject | |
Called when the visible property changes. | IUIComponent | ||
![]() |
Kontrollerar om en händelseavlyssnare är registrerad för det här EventDispatcher-objektet eller något av dess överordnade objekt för den angivna händelsetypen. | IEventDispatcher | |
baselinePosition | egenskap |
baselinePosition:Number [skrivskyddad] | Språkversion: | ActionScript 3.0 |
| Produktversion: | Flex 3 |
| Körningsmiljöversioner: | 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.
Implementering
public function get baselinePosition():Numberdocument | egenskap |
document:Object| Språkversion: | ActionScript 3.0 |
| Produktversion: | Flex 3 |
| Körningsmiljöversioner: | 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.
Implementering
public function get document():Object public function set document(value:Object):voidenabled | egenskap |
enabled:Boolean| Språkversion: | ActionScript 3.0 |
| Produktversion: | Flex 3 |
| Körningsmiljöversioner: | 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.
Implementering
public function get enabled():Boolean public function set enabled(value:Boolean):voidexplicitHeight | egenskap |
explicitHeight:Number| Språkversion: | ActionScript 3.0 |
| Produktversion: | Flex 3 |
| Körningsmiljöversioner: | 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.
Implementering
public function get explicitHeight():Number public function set explicitHeight(value:Number):voidRelaterade API-element
explicitMaxHeight | egenskap |
explicitMaxHeight:Number [skrivskyddad] | Språkversion: | ActionScript 3.0 |
| Produktversion: | Flex 3 |
| Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Number that specifies the maximum height of the component, in pixels, as the component's coordinates.
Implementering
public function get explicitMaxHeight():NumberRelaterade API-element
explicitMaxWidth | egenskap |
explicitMaxWidth:Number [skrivskyddad] | Språkversion: | ActionScript 3.0 |
| Produktversion: | Flex 3 |
| Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Number that specifies the maximum width of the component, in pixels, as the component's coordinates.
Implementering
public function get explicitMaxWidth():NumberRelaterade API-element
explicitMinHeight | egenskap |
explicitMinHeight:Number [skrivskyddad] | Språkversion: | ActionScript 3.0 |
| Produktversion: | Flex 3 |
| Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Number that specifies the minimum height of the component, in pixels, as the component's coordinates.
Implementering
public function get explicitMinHeight():NumberRelaterade API-element
explicitMinWidth | egenskap |
explicitMinWidth:Number [skrivskyddad] | Språkversion: | ActionScript 3.0 |
| Produktversion: | Flex 3 |
| Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Number that specifies the minimum width of the component, in pixels, as the component's coordinates.
Implementering
public function get explicitMinWidth():NumberRelaterade API-element
explicitWidth | egenskap |
explicitWidth:Number| Språkversion: | ActionScript 3.0 |
| Produktversion: | Flex 3 |
| Körningsmiljöversioner: | 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.
Implementering
public function get explicitWidth():Number public function set explicitWidth(value:Number):voidRelaterade API-element
focusPane | egenskap |
focusPane:Sprite| Språkversion: | ActionScript 3.0 |
| Produktversion: | Flex 3 |
| Körningsmiljöversioner: | 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.
Implementering
public function get focusPane():Sprite public function set focusPane(value:Sprite):voidRelaterade API-element
includeInLayout | egenskap |
includeInLayout:Boolean| Språkversion: | ActionScript 3.0 |
| Produktversion: | Flex 3 |
| Körningsmiljöversioner: | 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.
Implementering
public function get includeInLayout():Boolean public function set includeInLayout(value:Boolean):voidisPopUp | egenskap |
maxHeight | egenskap |
maxHeight:Number [skrivskyddad] | Språkversion: | ActionScript 3.0 |
| Produktversion: | Flex 3 |
| Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Number that specifies the maximum height of the component, in pixels, as the component's coordinates.
Implementering
public function get maxHeight():NumberRelaterade API-element
maxWidth | egenskap |
maxWidth:Number [skrivskyddad] | Språkversion: | ActionScript 3.0 |
| Produktversion: | Flex 3 |
| Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Number that specifies the maximum width of the component, in pixels, as the component's coordinates.
Implementering
public function get maxWidth():NumberRelaterade API-element
measuredMinHeight | egenskap |
measuredMinHeight:Number| Språkversion: | ActionScript 3.0 |
| Produktversion: | Flex 3 |
| Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
The default minimum height of the component, in pixels.
This value is set by the measure() method.
Implementering
public function get measuredMinHeight():Number public function set measuredMinHeight(value:Number):voidmeasuredMinWidth | egenskap |
measuredMinWidth:Number| Språkversion: | ActionScript 3.0 |
| Produktversion: | Flex 3 |
| Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
The default minimum width of the component, in pixels.
This value is set by the measure() method.
Implementering
public function get measuredMinWidth():Number public function set measuredMinWidth(value:Number):voidminHeight | egenskap |
minHeight:Number [skrivskyddad] | Språkversion: | ActionScript 3.0 |
| Produktversion: | Flex 3 |
| Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Number that specifies the minimum height of the component, in pixels, as the component's coordinates.
Implementering
public function get minHeight():NumberRelaterade API-element
minWidth | egenskap |
minWidth:Number [skrivskyddad] | Språkversion: | ActionScript 3.0 |
| Produktversion: | Flex 3 |
| Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Number that specifies the minimum width of the component, in pixels, as the component's coordinates.
Implementering
public function get minWidth():NumberRelaterade API-element
owner | egenskap |
owner:DisplayObjectContainer| Språkversion: | ActionScript 3.0 |
| Produktversion: | Flex 3 |
| Körningsmiljöversioner: | 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.
Implementering
public function get owner():DisplayObjectContainer public function set owner(value:DisplayObjectContainer):voidpercentHeight | egenskap |
percentHeight:Number| Språkversion: | ActionScript 3.0 |
| Produktversion: | Flex 3 |
| Körningsmiljöversioner: | 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.
Implementering
public function get percentHeight():Number public function set percentHeight(value:Number):voidpercentWidth | egenskap |
percentWidth:Number| Språkversion: | ActionScript 3.0 |
| Produktversion: | Flex 3 |
| Körningsmiljöversioner: | 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.
Implementering
public function get percentWidth():Number public function set percentWidth(value:Number):voidsystemManager | egenskap |
systemManager:ISystemManager| Språkversion: | ActionScript 3.0 |
| Produktversion: | Flex 3 |
| Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
A reference to the SystemManager object for this component.
Implementering
public function get systemManager():ISystemManager public function set systemManager(value:ISystemManager):voidtweeningProperties | egenskap |
tweeningProperties:Array| Språkversion: | ActionScript 3.0 |
| Produktversion: | Flex 3 |
| Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Used by EffectManager. Returns non-null if a component is not using the EffectManager to execute a Tween.
Implementering
public function get tweeningProperties():Array public function set tweeningProperties(value:Array):voidgetExplicitOrMeasuredHeight | () | metod |
public function getExplicitOrMeasuredHeight():Number| Språkversion: | ActionScript 3.0 |
| Produktversion: | Flex 3 |
| Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
A convenience method for determining whether to use the explicit or measured height
ReturnerarNumber — A Number which is explicitHeight if defined
or measuredHeight if not.
|
getExplicitOrMeasuredWidth | () | metod |
public function getExplicitOrMeasuredWidth():Number| Språkversion: | ActionScript 3.0 |
| Produktversion: | Flex 3 |
| Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
A convenience method for determining whether to use the explicit or measured width
ReturnerarNumber — A Number which is explicitWidth if defined
or measuredWidth if not.
|
initialize | () | metod |
public function initialize():void| Språkversion: | ActionScript 3.0 |
| Produktversion: | Flex 3 |
| Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Initialize the object.
Relaterade API-element
owns | () | metod |
public function owns(displayObject:DisplayObject):Boolean| Språkversion: | ActionScript 3.0 |
| Produktversion: | Flex 3 |
| Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Returns true if the chain of owner properties
points from child to this UIComponent.
Parametrar
displayObject:DisplayObject — A UIComponent.
|
Boolean — true if the child is parented or owned by this UIComponent.
|
parentChanged | () | metod |
public function parentChanged(p:DisplayObjectContainer):void| Språkversion: | ActionScript 3.0 |
| Produktversion: | Flex 3 |
| Körningsmiljöversioner: | 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.
Parametrar
p:DisplayObjectContainer — The parent of this UIComponent object.
|
setVisible | () | metod |
public function setVisible(value:Boolean, noEvent:Boolean = false):void| Språkversion: | ActionScript 3.0 |
| Produktversion: | Flex 3 |
| Körningsmiljöversioner: | 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.
Parametrar
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.
|
Tue Jun 12 2018, 01:40 PM Z
Dölj ärvda publika egenskaper
Visa ärvda publika egenskaper