| Pacote | mx.core |
| Interface | public interface IUIComponent extends IFlexDisplayObject , IBitmapDrawable , IEventDispatcher |
| Implementadores | PostScaleAdapter, UIComponent |
| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
| Propriedade | Definido por | ||
|---|---|---|---|
![]() | accessibilityProperties : AccessibilityProperties
As opções de acessibilidade atuais para este objeto de exibição. | IFlexDisplayObject | |
![]() | alpha : Number
Indica o valor de transparência alfa do objeto especificado. | IFlexDisplayObject | |
| baselinePosition : Number [somente leitura]
The y-coordinate of the baseline
of the first line of text of the component. | IUIComponent | ||
![]() | blendMode : String
Um valor a partir da classe BlendMode que especifica o modo de mesclagem a ser usado. | IFlexDisplayObject | |
![]() | cacheAsBitmap : Boolean
Se definido como true, tempo de execução do Flash armazenará em cachê uma representação interna em bitmap do objeto de exibição. | 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 [somente leitura]
Number that specifies the maximum height of the component,
in pixels, as the component's coordinates. | IUIComponent | ||
| explicitMaxWidth : Number [somente leitura]
Number that specifies the maximum width of the component,
in pixels, as the component's coordinates. | IUIComponent | ||
| explicitMinHeight : Number [somente leitura]
Number that specifies the minimum height of the component,
in pixels, as the component's coordinates. | IUIComponent | ||
| explicitMinWidth : Number [somente leitura]
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
Uma matriz indexada que contém cada objeto de filtro atualmente associado ao objeto de exibição. | 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
Indica a altura do objeto de exibição, em 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 [somente leitura]
Retorna um objeto LoaderInfo contendo informações sobre o carregamento do arquivo ao qual esse objeto de exibição pertence. | IFlexDisplayObject | |
![]() | mask : DisplayObject
O objeto de exibição de chamada é mascarado pelo objeto "mask" especificado. | IFlexDisplayObject | |
| maxHeight : Number [somente leitura]
Number that specifies the maximum height of the component,
in pixels, as the component's coordinates. | IUIComponent | ||
| maxWidth : Number [somente leitura]
Number that specifies the maximum width of the component,
in pixels, as the component's coordinates. | IUIComponent | ||
![]() | measuredHeight : Number [somente leitura]
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 [somente leitura]
The measured width of this object. | IFlexDisplayObject | |
| minHeight : Number [somente leitura]
Number that specifies the minimum height of the component,
in pixels, as the component's coordinates. | IUIComponent | ||
| minWidth : Number [somente leitura]
Number that specifies the minimum width of the component,
in pixels, as the component's coordinates. | IUIComponent | ||
![]() | mouseX : Number [somente leitura]
Indica a coordenada x da posição do dispositivo do mouse ou de entrada do usuário, em pixels. | IFlexDisplayObject | |
![]() | mouseY : Number [somente leitura]
Indica a coordenada y da posição do dispositivo do mouse ou de entrada do usuário, em pixels. | IFlexDisplayObject | |
![]() | name : String
Indica o nome da ocorrência de DisplayObject. | IFlexDisplayObject | |
![]() | opaqueBackground : Object
Especifica se o objeto de exibição é opaco com uma certa cor de plano de fundo. | IFlexDisplayObject | |
| owner : DisplayObjectContainer
The owner of this IVisualElement object. | IUIComponent | ||
![]() | parent : DisplayObjectContainer [somente leitura]
Indica o objeto DisplayObjectContainer que contém esse objeto de exibição. | 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 [somente leitura]
Para um objeto de exibição em um arquivo SWF carregado, a propriedade "root" é o objeto de exibição na extremidade superior, na parte da estrutura em árvore da lista de exibição representada por esse arquivo SWF. | IFlexDisplayObject | |
![]() | rotation : Number
Indica o giro da ocorrência de DisplayObject, em graus, a partir da sua orientação original. | IFlexDisplayObject | |
![]() | scale9Grid : Rectangle
A grade de dimensionamento atual que está em vigor. | IFlexDisplayObject | |
![]() | scaleX : Number
Indica a escala horizontal (porcentagem) do objeto aplicada a partir do ponto de registro. | IFlexDisplayObject | |
![]() | scaleY : Number
Indica a escala vertical (porcentagem) de um objeto aplicada a partir do ponto de registro desse objeto. | IFlexDisplayObject | |
![]() | scrollRect : Rectangle
Os limites do retângulo de rolagem do objeto de exibição. | IFlexDisplayObject | |
![]() | stage : Stage [somente leitura]
O Palco do objeto de exibição. | IFlexDisplayObject | |
| systemManager : ISystemManager
A reference to the SystemManager object for this component. | IUIComponent | ||
![]() | transform : flash.geom:Transform
Um objeto com propriedades relacionadas aos limites de pixels, matriz e transformação de cores de um objeto de exibição. | IFlexDisplayObject | |
| tweeningProperties : Array
Used by EffectManager. | IUIComponent | ||
![]() | visible : Boolean
Se o objeto de exibição está ou não visível. | IFlexDisplayObject | |
![]() | width : Number
Indica a largura do objeto de exibição, em pixels. | IFlexDisplayObject | |
![]() | x : Number
Indica a coordenada x da ocorrência de DisplayObject com relação às coordenadas locais do DisplayObjectContainer-pai. | IFlexDisplayObject | |
![]() | y : Number
Indica a coordenada y da ocorrência de DisplayObject com relação às coordenadas locais do DisplayObjectContainer-pai. | IFlexDisplayObject | |
| Método | Definido por | ||
|---|---|---|---|
![]() | addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registra um objeto de ouvinte de evento em um objeto EventDispatcher, de forma que o ouvinte receba a notificação de um evento. | IEventDispatcher | |
![]() |
Envia um evento para o fluxo de eventos. | IEventDispatcher | |
![]() |
Retorna um retângulo que define a área do objeto de exibição com relação ao sistema de coordenadas do objeto 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 | ||
![]() |
Retorna um retângulo que define o limite do objeto de exibição, com base no sistema de coordenadas definido pelo parâmetro espaçoCoordenadasDestino, excluindo quaisquer traçados em formas. | IFlexDisplayObject | |
![]() |
Converte o objeto de ponto a partir de coordenadas de Palco (globais) em coordenadas do objeto de exibição (locais). | IFlexDisplayObject | |
![]() |
Verifica se o objeto EventDispatcher tem ouvintes registrados para um tipo específico de evento. | IEventDispatcher | |
![]() |
Avalia a caixa delimitadora do objeto de exibição para ver se ela sobrepõe ou faz interseção com a caixa delimitadora do objeto de exibição obj. | IFlexDisplayObject | |
![]() |
Avalia o objeto de exibição para ver se ele sobrepõe ou faz interseção com o ponto especificado pelos parâmetros x e y. | IFlexDisplayObject | |
Initialize the object. | IUIComponent | ||
![]() |
Converte o objeto de ponto a partir das coordenadas do objeto de exibição (locais) em coordenadas do Palco (globais). | 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 | ||
![]() |
Remove um ouvinte do objeto EventDispatcher. | IEventDispatcher | |
![]() |
Sets the actual size of this object. | IFlexDisplayObject | |
Called when the visible property changes. | IUIComponent | ||
![]() |
Verifica se um ouvinte de evento está registrado nesse objeto EventDispatcher ou em qualquer um de seus ancestrais para o tipo de evento especificado. | IEventDispatcher | |
baselinePosition | propriedade |
baselinePosition:Number [somente leitura] | Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | 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.
Implementação
public function get baselinePosition():Numberdocument | propriedade |
document:Object| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | 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.
Implementação
public function get document():Object public function set document(value:Object):voidenabled | propriedade |
enabled:Boolean| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | 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.
Implementação
public function get enabled():Boolean public function set enabled(value:Boolean):voidexplicitHeight | propriedade |
explicitHeight:Number| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | 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.
Implementação
public function get explicitHeight():Number public function set explicitHeight(value:Number):voidElementos da API relacionados
explicitMaxHeight | propriedade |
explicitMaxHeight:Number [somente leitura] | Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
Number that specifies the maximum height of the component, in pixels, as the component's coordinates.
Implementação
public function get explicitMaxHeight():NumberElementos da API relacionados
explicitMaxWidth | propriedade |
explicitMaxWidth:Number [somente leitura] | Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
Number that specifies the maximum width of the component, in pixels, as the component's coordinates.
Implementação
public function get explicitMaxWidth():NumberElementos da API relacionados
explicitMinHeight | propriedade |
explicitMinHeight:Number [somente leitura] | Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
Number that specifies the minimum height of the component, in pixels, as the component's coordinates.
Implementação
public function get explicitMinHeight():NumberElementos da API relacionados
explicitMinWidth | propriedade |
explicitMinWidth:Number [somente leitura] | Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
Number that specifies the minimum width of the component, in pixels, as the component's coordinates.
Implementação
public function get explicitMinWidth():NumberElementos da API relacionados
explicitWidth | propriedade |
explicitWidth:Number| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | 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.
Implementação
public function get explicitWidth():Number public function set explicitWidth(value:Number):voidElementos da API relacionados
focusPane | propriedade |
focusPane:Sprite| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | 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.
Implementação
public function get focusPane():Sprite public function set focusPane(value:Sprite):voidElementos da API relacionados
includeInLayout | propriedade |
includeInLayout:Boolean| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | 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.
Implementação
public function get includeInLayout():Boolean public function set includeInLayout(value:Boolean):voidisPopUp | propriedade |
maxHeight | propriedade |
maxHeight:Number [somente leitura] | Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
Number that specifies the maximum height of the component, in pixels, as the component's coordinates.
Implementação
public function get maxHeight():NumberElementos da API relacionados
maxWidth | propriedade |
maxWidth:Number [somente leitura] | Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
Number that specifies the maximum width of the component, in pixels, as the component's coordinates.
Implementação
public function get maxWidth():NumberElementos da API relacionados
measuredMinHeight | propriedade |
measuredMinHeight:Number| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
The default minimum height of the component, in pixels.
This value is set by the measure() method.
Implementação
public function get measuredMinHeight():Number public function set measuredMinHeight(value:Number):voidmeasuredMinWidth | propriedade |
measuredMinWidth:Number| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
The default minimum width of the component, in pixels.
This value is set by the measure() method.
Implementação
public function get measuredMinWidth():Number public function set measuredMinWidth(value:Number):voidminHeight | propriedade |
minHeight:Number [somente leitura] | Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
Number that specifies the minimum height of the component, in pixels, as the component's coordinates.
Implementação
public function get minHeight():NumberElementos da API relacionados
minWidth | propriedade |
minWidth:Number [somente leitura] | Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
Number that specifies the minimum width of the component, in pixels, as the component's coordinates.
Implementação
public function get minWidth():NumberElementos da API relacionados
owner | propriedade |
owner:DisplayObjectContainer| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | 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.
Implementação
public function get owner():DisplayObjectContainer public function set owner(value:DisplayObjectContainer):voidpercentHeight | propriedade |
percentHeight:Number| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | 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.
Implementação
public function get percentHeight():Number public function set percentHeight(value:Number):voidpercentWidth | propriedade |
percentWidth:Number| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | 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.
Implementação
public function get percentWidth():Number public function set percentWidth(value:Number):voidsystemManager | propriedade |
systemManager:ISystemManager| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
A reference to the SystemManager object for this component.
Implementação
public function get systemManager():ISystemManager public function set systemManager(value:ISystemManager):voidtweeningProperties | propriedade |
tweeningProperties:Array| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
Used by EffectManager. Returns non-null if a component is not using the EffectManager to execute a Tween.
Implementação
public function get tweeningProperties():Array public function set tweeningProperties(value:Array):voidgetExplicitOrMeasuredHeight | () | método |
public function getExplicitOrMeasuredHeight():Number| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
A convenience method for determining whether to use the explicit or measured height
RetornaNumber — A Number which is explicitHeight if defined
or measuredHeight if not.
|
getExplicitOrMeasuredWidth | () | método |
public function getExplicitOrMeasuredWidth():Number| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
A convenience method for determining whether to use the explicit or measured width
RetornaNumber — A Number which is explicitWidth if defined
or measuredWidth if not.
|
initialize | () | método |
public function initialize():void| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
Initialize the object.
Elementos da API relacionados
owns | () | método |
public function owns(displayObject:DisplayObject):Boolean| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
Returns true if the chain of owner properties
points from child to this UIComponent.
Parâmetros
displayObject:DisplayObject — A UIComponent.
|
Boolean — true if the child is parented or owned by this UIComponent.
|
parentChanged | () | método |
public function parentChanged(p:DisplayObjectContainer):void| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | 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.
Parâmetros
p:DisplayObjectContainer — The parent of this UIComponent object.
|
setVisible | () | método |
public function setVisible(value:Boolean, noEvent:Boolean = false):void| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | 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.
Parâmetros
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:10 AM Z
Ocultar propriedades públicas herdadas
Mostrar propriedades públicas herdadas