Referência do ActionScript® 3.0 para Adobe® Flash® Platform
Início  |  Ocultar listas de Pacotes e Classes |  Pacotes  |  Classes  |  Novidades  |  Índice  |  Apêndices  |  Por que inglês?
Filtros: Recuperando dados do servidor...
Recuperando dados do servidor...
mx.core 

IButton  - AS3 Flex

Pacotemx.core
Interfacepublic interface IButton extends IUIComponent , IFlexDisplayObject , IBitmapDrawable , IEventDispatcher
Implementadores Button, Button

Versão da linguagem: ActionScript 3.0
Versão de produto: Flex 3
Versões de runtime: Flash Player 9, AIR 1.1

The IButton interface is a marker interface that indicates that a component acts as a button.



Propriedades públicas
 PropriedadeDefinido por
 InheritedaccessibilityProperties : AccessibilityProperties
As opções de acessibilidade atuais para este objeto de exibição.
IFlexDisplayObject
 Inheritedalpha : Number
Indica o valor de transparência alfa do objeto especificado.
IFlexDisplayObject
 InheritedbaselinePosition : Number
[somente leitura] The y-coordinate of the baseline of the first line of text of the component.
IUIComponent
 InheritedblendMode : String
Um valor a partir da classe BlendMode que especifica o modo de mesclagem a ser usado.
IFlexDisplayObject
 InheritedcacheAsBitmap : 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
 Inheriteddocument : Object
A reference to the document object associated with this component.
IUIComponent
  emphasized : Boolean
Draws a thick border around the Button control when the control is in its up state if emphasized is set to true.
IButton
 Inheritedenabled : Boolean
Whether the component can accept user interaction.
IUIComponent
 InheritedexplicitHeight : Number
The explicitly specified height for the component, in pixels, as the component's coordinates.
IUIComponent
 InheritedexplicitMaxHeight : Number
[somente leitura] Number that specifies the maximum height of the component, in pixels, as the component's coordinates.
IUIComponent
 InheritedexplicitMaxWidth : Number
[somente leitura] Number that specifies the maximum width of the component, in pixels, as the component's coordinates.
IUIComponent
 InheritedexplicitMinHeight : Number
[somente leitura] Number that specifies the minimum height of the component, in pixels, as the component's coordinates.
IUIComponent
 InheritedexplicitMinWidth : Number
[somente leitura] Number that specifies the minimum width of the component, in pixels, as the component's coordinates.
IUIComponent
 InheritedexplicitWidth : Number
The explicitly specified width for the component, in pixels, as the component's coordinates.
IUIComponent
 Inheritedfilters : Array
Uma matriz indexada que contém cada objeto de filtro atualmente associado ao objeto de exibição.
IFlexDisplayObject
 InheritedfocusPane : Sprite
A single Sprite object that is shared among components and used as an overlay for drawing the focus indicator.
IUIComponent
 Inheritedheight : Number
Indica a altura do objeto de exibição, em pixels.
IFlexDisplayObject
 InheritedincludeInLayout : Boolean
Specifies whether this component is included in the layout of the parent container.
IUIComponent
 InheritedisPopUp : Boolean
Set to true by the PopUpManager to indicate that component has been popped up.
IUIComponent
 InheritedloaderInfo : LoaderInfo
[somente leitura] Retorna um objeto LoaderInfo contendo informações sobre o carregamento do arquivo ao qual esse objeto de exibição pertence.
IFlexDisplayObject
 Inheritedmask : DisplayObject
O objeto de exibição de chamada é mascarado pelo objeto "mask" especificado.
IFlexDisplayObject
 InheritedmaxHeight : Number
[somente leitura] Number that specifies the maximum height of the component, in pixels, as the component's coordinates.
IUIComponent
 InheritedmaxWidth : Number
[somente leitura] Number that specifies the maximum width of the component, in pixels, as the component's coordinates.
IUIComponent
 InheritedmeasuredHeight : Number
[somente leitura] The measured height of this object.
IFlexDisplayObject
 InheritedmeasuredMinHeight : Number
The default minimum height of the component, in pixels.
IUIComponent
 InheritedmeasuredMinWidth : Number
The default minimum width of the component, in pixels.
IUIComponent
 InheritedmeasuredWidth : Number
[somente leitura] The measured width of this object.
IFlexDisplayObject
 InheritedminHeight : Number
[somente leitura] Number that specifies the minimum height of the component, in pixels, as the component's coordinates.
IUIComponent
 InheritedminWidth : Number
[somente leitura] Number that specifies the minimum width of the component, in pixels, as the component's coordinates.
IUIComponent
 InheritedmouseX : Number
[somente leitura] Indica a coordenada x da posição do dispositivo do mouse ou de entrada do usuário, em pixels.
IFlexDisplayObject
 InheritedmouseY : Number
[somente leitura] Indica a coordenada y da posição do dispositivo do mouse ou de entrada do usuário, em pixels.
IFlexDisplayObject
 Inheritedname : String
Indica o nome da ocorrência de DisplayObject.
IFlexDisplayObject
 InheritedopaqueBackground : Object
Especifica se o objeto de exibição é opaco com uma certa cor de plano de fundo.
IFlexDisplayObject
 Inheritedowner : DisplayObjectContainer
The owner of this IVisualElement object.
IUIComponent
 Inheritedparent : DisplayObjectContainer
[somente leitura] Indica o objeto DisplayObjectContainer que contém esse objeto de exibição.
IFlexDisplayObject
 InheritedpercentHeight : Number
Number that specifies the height of a component as a percentage of its parent's size.
IUIComponent
 InheritedpercentWidth : Number
Number that specifies the width of a component as a percentage of its parent's size.
IUIComponent
 Inheritedroot : 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
 Inheritedrotation : Number
Indica o giro da ocorrência de DisplayObject, em graus, a partir da sua orientação original.
IFlexDisplayObject
 Inheritedscale9Grid : Rectangle
A grade de dimensionamento atual que está em vigor.
IFlexDisplayObject
 InheritedscaleX : Number
Indica a escala horizontal (porcentagem) do objeto aplicada a partir do ponto de registro.
IFlexDisplayObject
 InheritedscaleY : Number
Indica a escala vertical (porcentagem) de um objeto aplicada a partir do ponto de registro desse objeto.
IFlexDisplayObject
 InheritedscrollRect : Rectangle
Os limites do retângulo de rolagem do objeto de exibição.
IFlexDisplayObject
 Inheritedstage : Stage
[somente leitura] O Palco do objeto de exibição.
IFlexDisplayObject
 InheritedsystemManager : ISystemManager
A reference to the SystemManager object for this component.
IUIComponent
 Inheritedtransform : 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
 InheritedtweeningProperties : Array
Used by EffectManager.
IUIComponent
 Inheritedvisible : Boolean
Se o objeto de exibição está ou não visível.
IFlexDisplayObject
 Inheritedwidth : Number
Indica a largura do objeto de exibição, em pixels.
IFlexDisplayObject
 Inheritedx : Number
Indica a coordenada x da ocorrência de DisplayObject com relação às coordenadas locais do DisplayObjectContainer-pai.
IFlexDisplayObject
 Inheritedy : Number
Indica a coordenada y da ocorrência de DisplayObject com relação às coordenadas locais do DisplayObjectContainer-pai.
IFlexDisplayObject
Métodos públicos
 MétodoDefinido por
 Inherited
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
  
callLater(method:Function, args:Array = null):void
Queues a function to be called later.
IButton
 Inherited
Envia um evento para o fluxo de eventos.
IEventDispatcher
 Inherited
getBounds(targetCoordinateSpace:DisplayObject):Rectangle
Retorna um retângulo que define a área do objeto de exibição com relação ao sistema de coordenadas do objeto targetCoordinateSpace.
IFlexDisplayObject
 Inherited
A convenience method for determining whether to use the explicit or measured height
IUIComponent
 Inherited
A convenience method for determining whether to use the explicit or measured width
IUIComponent
 Inherited
getRect(targetCoordinateSpace:DisplayObject):Rectangle
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
 Inherited
Converte o objeto de ponto a partir de coordenadas de Palco (globais) em coordenadas do objeto de exibição (locais).
IFlexDisplayObject
 Inherited
Verifica se o objeto EventDispatcher tem ouvintes registrados para um tipo específico de evento.
IEventDispatcher
 Inherited
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
 Inherited
hitTestPoint(x:Number, y:Number, shapeFlag:Boolean = false):Boolean
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
 Inherited
Initialize the object.
IUIComponent
 Inherited
Converte o objeto de ponto a partir das coordenadas do objeto de exibição (locais) em coordenadas do Palco (globais).
IFlexDisplayObject
 Inherited
Moves this object to the specified x and y coordinates.
IFlexDisplayObject
 Inherited
owns(displayObject:DisplayObject):Boolean
Returns true if the chain of owner properties points from child to this UIComponent.
IUIComponent
 Inherited
Called by Flex when a UIComponent object is added to or removed from a parent.
IUIComponent
 Inherited
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
Remove um ouvinte do objeto EventDispatcher.
IEventDispatcher
 Inherited
setActualSize(newWidth:Number, newHeight:Number):void
Sets the actual size of this object.
IFlexDisplayObject
 Inherited
setVisible(value:Boolean, noEvent:Boolean = false):void
Called when the visible property changes.
IUIComponent
 Inherited
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
Detalhes da propriedade

emphasized

propriedade
emphasized:Boolean

Versão da linguagem: ActionScript 3.0
Versão de produto: Flex 3
Versões de runtime: Flash Player 9, AIR 1.1

Draws a thick border around the Button control when the control is in its up state if emphasized is set to true.



Implementação
    public function get emphasized():Boolean
    public function set emphasized(value:Boolean):void
Detalhes do método

callLater

()método
public function callLater(method:Function, args:Array = null):void

Versão da linguagem: ActionScript 3.0
Versão de produto: Flex 3
Versões de runtime: Flash Player 9, AIR 1.1

Queues a function to be called later.

Before each update of the screen, Flash Player or AIR calls the set of functions that are scheduled for the update. Sometimes, a function should be called in the next update to allow the rest of the code scheduled for the current update to be executed. Some features, like effects, can cause queued functions to be delayed until the feature completes.

Parâmetros

method:Function — Reference to a method to be executed later.
 
args:Array (default = null) — Array of Objects that represent the arguments to pass to the method.





[ X ]Por que inglês?
O conteúdo na Referência do ActionScript 3.0 aparece em inglês

Nem todas as partes da Referência do ActionScript 3.0 estão traduzidas em todos os idiomas. Quando um elemento de um idioma não está traduzido, ele é exibido em inglês. Por exemplo, a classe ga.controls.HelpBox não está traduzida em nenhum idioma. Por isso, na versão da referência em português do Brasil, a classe ga.controls.HelpBox é exibida em inglês.