| Pacote | mx.events |
| Classe | public class DateChooserEvent |
| Herança | DateChooserEvent Event Object |
| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
scroll event for
the DateChooser and DateField controls.
Elementos da API relacionados
Propriedades públicas
| Propriedade | Definido por | ||
|---|---|---|---|
![]() | bubbles : Boolean [somente leitura]
Indica se um evento é do tipo bubbling. | Event | |
![]() | cancelable : Boolean [somente leitura]
Indica se o comportamento associado ao evento pode ser impedido. | Event | |
![]() | constructor : Object
Uma referência ao objeto de classe ou à função de construtor de uma determinada ocorrência de objeto. | Object | |
![]() | currentTarget : Object [somente leitura]
O objeto que está processando ativamente o objeto Event com um ouvinte de evento. | Event | |
| detail : String
Indicates the direction of scrolling. | DateChooserEvent | ||
![]() | eventPhase : uint [somente leitura]
A fase atual no fluxo de eventos. | Event | |
![]() | target : Object [somente leitura]
O destino de evento. | Event | |
| triggerEvent : Event
The event that triggered this change;
usually a scroll. | DateChooserEvent | ||
![]() | type : String [somente leitura]
O tipo de evento. | Event | |
Métodos públicos
| Método | Definido por | ||
|---|---|---|---|
DateChooserEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, detail:String = null, triggerEvent:Event = null)
Constructor. | DateChooserEvent | ||
![]() |
Duplica uma ocorrência de uma subclasse Event. | Event | |
![]() |
Uma função de utilitário para implementar o método toString() em classes ActionScript 3.0 Event personalizadas. | Event | |
![]() |
Indica se um objeto tem uma propriedade especificada definida. | Object | |
![]() |
Verifica se o método preventDefault() foi chamado no evento. | Event | |
![]() |
Indica se uma ocorrência da classe Object está na cadeia de protótipos do objeto especificado como o parâmetro. | Object | |
![]() |
Cancela um comportamento padrão de evento se esse comportamento puder ser cancelado. | Event | |
![]() |
Indica se a propriedade especificada existe e é enumerável. | Object | |
![]() |
Define a disponibilidade de uma propriedade dinâmica para operações de repetição. | Object | |
![]() |
Impede o processamento de qualquer ouvinte de evento no nó atual e qualquer nó subsequente no fluxo de eventos. | Event | |
![]() |
Impede o processamento de algum ouvinte de evento em nós subsequentes ao nó atual no fluxo de eventos. | Event | |
![]() |
Retorna a representação da string deste objeto, formatado segundo as convenções específicas para a localidade. | Object | |
![]() |
Retorna uma string que contém todas as propriedades do objeto Event. | Event | |
![]() |
Retorna o valor primitivo do objeto especificado. | Object | |
Constantes públicas
| Constante | Definido por | ||
|---|---|---|---|
| SCROLL : String = "scroll" [estático]
The DateChooserEvent.SCROLL constant defines the value of the
type property of the event object for a scrollevent. | DateChooserEvent | ||
Detalhes da propriedade
detail | propriedade |
public var detail:String| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
Indicates the direction of scrolling. The values are defined by
the DateChooserEventDetail class.
The possible values are
DateChooserEventDetail.NEXT_MONTH,
DateChooserEventDetail.NEXT_YEAR,
DateChooserEventDetail.PREVIOUS_MONTH, or
DateChooserEventDetail.PREVIOUS_YEAR.
Elementos da API relacionados
triggerEvent | propriedade |
public var triggerEvent:Event| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
The event that triggered this change;
usually a scroll.
Detalhes do construtor
DateChooserEvent | () | Construtor |
public function DateChooserEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, detail:String = null, triggerEvent:Event = null)| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
Constructor. Normally called by the DateChooser object and not used in application code.
Parâmetrostype:String — The event type; indicates the action that triggered the event.
| |
bubbles:Boolean (default = false) — Specifies whether the event can bubble up the display list hierarchy.
| |
cancelable:Boolean (default = false) — Specifies whether the behavior associated with the event can be prevented.
| |
detail:String (default = null) — Indicates the unit and direction of scrolling.
The possible values are
DateChooserEventDetail.NEXT_MONTH,
DateChooserEventDetail.NEXT_YEAR,
DateChooserEventDetail.PREVIOUS_MONTH, or
DateChooserEventDetail.PREVIOUS_YEAR.
| |
triggerEvent:Event (default = null) — The event that triggered this change event;
usually a scroll.
|
Detalhes da constante
SCROLL | Constante |
public static const SCROLL:String = "scroll"| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
The DateChooserEvent.SCROLL constant defines the value of the
type property of the event object for a scrollevent.
The properties of the event object have the following values:
| Property | Value |
|---|---|
bubbles | false |
cancelable | false |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
myButton.addEventListener() to register an event listener,
myButton is the value of the currentTarget. |
detail | The scroll direction. |
target | The Object that dispatched the event;
it is not always the Object listening for the event.
Use the currentTarget property to always access the
Object listening for the event. |
triggerEvent | The event that triggered this change event;
usually a scroll. |
Wed Jun 13 2018, 11:10 AM Z
Ocultar propriedades públicas herdadas
Mostrar propriedades públicas herdadas