Referencia de ActionScript® 3.0 para la plataforma de Adobe® Flash®
Inicio  |  Ocultar lista de paquetes y clases |  Paquetes  |  Clases  |  Novedades  |  Índice  |  Apéndices  |  ¿Por qué hay texto en inglés?
Filtros: Recuperando datos del servidor...
Recuperando datos del servidor...
com.adobe.solutions.rca.presentation.event 

TemplateEvent  - AS3 Review, Commenting, and Approval

Paquetecom.adobe.solutions.rca.presentation.event
Clasepublic class TemplateEvent
HerenciaTemplateEvent Inheritance Event Inheritance Object

Versión del lenguaje: ActionScript 3.0
Versión de producto: Bloque de construcción Review, Commenting, and Approval 10
Versiones de motor de ejecución: Flash Player 10.2, AIR (unsupported)

This event is dispatched when an operation on a template is performed.



Propiedades públicas
 PropiedadDefinido por
 Inheritedbubbles : Boolean
[solo lectura] Indica si un evento es un evento de propagación.
Event
 Inheritedcancelable : Boolean
[solo lectura] Indica si se puede evitar el comportamiento asociado al evento.
Event
 Inheritedconstructor : Object
Una referencia a la clase de objeto o función constructora para una instancia de objeto determinada.
Object
 InheritedcurrentTarget : Object
[solo lectura] Objeto que procesa de forma activa el objeto de evento con un detector de eventos.
Event
 InheritedeventPhase : uint
[solo lectura] La fase actual en el flujo del evento.
Event
  isModified : Boolean
A True value of this Boolean flag indicates that the template has been modified locally.
TemplateEvent
 Inheritedtarget : Object
[solo lectura] El destino del evento.
Event
  template : com.adobe.solutions.rca.domain:IReviewTemplate
This property refers to the template on which the operation is performed.
TemplateEvent
 Inheritedtype : String
[solo lectura] El tipo de evento.
Event
Métodos públicos
 MétodoDefinido por
  
TemplateEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false)
The constructor for TemplateEvent class.
TemplateEvent
  
[override] Duplicates an instance of an Event subclass.
TemplateEvent
 Inherited
formatToString(className:String, ... arguments):String
Una función de utilidad para implementar el método toString() en las clases Event personalizadas de ActionScript 3.0.
Event
 Inherited
Indica si un objeto tiene definida una propiedad especificada.
Object
 Inherited
Comprueba si se ha llamado a preventDefault() en el evento.
Event
 Inherited
Indica si hay una instancia de la clase Object en la cadena de prototipo del objeto especificado como parámetro.
Object
 Inherited
Cancela el comportamiento predeterminado de un evento si es posible cancelarlo.
Event
 Inherited
Indica si existe la propiedad especificada y si es enumerable.
Object
 Inherited
Establece la disponibilidad de una propiedad dinámica para operaciones de bucle.
Object
 Inherited
Impide el proceso de cualquier detector de eventos en el nodo actual y los nodos siguientes en el flujo del evento.
Event
 Inherited
Impide el proceso de cualquier detector de eventos en nodos siguientes al nodo actual.
Event
 Inherited
Devuelve la representación de cadena de este objeto, con formato según las convenciones específicas de configuración regional.
Object
 Inherited
Devuelve una cadena que contiene todas las propiedades del objeto de evento.
Event
 Inherited
Devuelve el valor simple del objeto especificado.
Object
Constantes públicas
 ConstanteDefinido por
  NEW_TEMPLATE_EVENT : String = "newTemplateEvent"
[estática] This value indicates that a new template has been created.
TemplateEvent
  TEMPLATE_SAVED_EVENT : String = "templateSavedEvent"
[estática] This value indicates that a template has been saved.
TemplateEvent
  TEMPLATE_SELECTED_EVENT : String = "templateSelectedEvent"
[estática] This value indicates that an existing template has been selected.
TemplateEvent
  TEMPLATE_WORKFLOW_CANCEL_EVENT : String = "templateWorkflowCancelEvent"
[estática] This value indicates that a template creation workflow has been canceled.
TemplateEvent
Información sobre propiedades

isModified

propiedad
isModified:Boolean

Versión del lenguaje: ActionScript 3.0
Versión de producto: Bloque de construcción Review, Commenting, and Approval 10
Versiones de motor de ejecución: Flash Player 10.2, AIR (unsupported)

A True value of this Boolean flag indicates that the template has been modified locally.



Implementación
    public function get isModified():Boolean
    public function set isModified(value:Boolean):void

template

propiedad 
template:com.adobe.solutions.rca.domain:IReviewTemplate

Versión del lenguaje: ActionScript 3.0
Versión de producto: Bloque de construcción Review, Commenting, and Approval 10
Versiones de motor de ejecución: Flash Player 10.2, AIR (unsupported)

This property refers to the template on which the operation is performed.



Implementación
    public function get template():com.adobe.solutions.rca.domain:IReviewTemplate
    public function set template(value:com.adobe.solutions.rca.domain:IReviewTemplate):void
Información sobre constructores

TemplateEvent

()Información sobre
public function TemplateEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false)

Versión del lenguaje: ActionScript 3.0
Versión de producto: Bloque de construcción Review, Commenting, and Approval 10.0
Versiones de motor de ejecución: Flash Player 10.2, AIR (unsupported)

The constructor for TemplateEvent class.

Parámetros
type:String — The type of the event, accessible as Event.type.
 
bubbles:Boolean (default = false) — Determines whether the Event object participates in the bubbling stage of the event flow. The default value is false.
 
cancelable:Boolean (default = false) — Determines whether the Event object can be canceled. The default values is false.
Información sobre métodos

clone

()método
override public function clone():Event

Versión del lenguaje: ActionScript 3.0
Versión de producto: Bloque de construcción Review, Commenting, and Approval 10
Versiones de motor de ejecución: Flash Player 10.2, AIR (unsupported)

Duplicates an instance of an Event subclass.

Returns a new Event object that is a copy of the original instance of the Event object. You do not normally call clone(); the EventDispatcher class calls it automatically when you redispatch an event—that is, when you call dispatchEvent(event) from a handler that is handling event.

The new Event object includes all the properties of the original.

When creating your own custom Event class, you must override the inherited Event.clone() method in order for it to duplicate the properties of your custom class. If you do not set all the properties that you add in your event subclass, those properties will not have the correct values when listeners handle the redispatched event.

In this example, PingEvent is a subclass of Event and therefore implements its own version of clone().

     class PingEvent extends Event {
         var URL:String;
         
     public override function clone():Event {
              return new PingEvent(type, bubbles, cancelable, URL);
        }
     }
     

Valor devuelto
Event — A new Event object that is identical to the original.
Información sobre constantes

NEW_TEMPLATE_EVENT

Constante
public static const NEW_TEMPLATE_EVENT:String = "newTemplateEvent"

Versión del lenguaje: ActionScript 3.0
Versión de producto: Bloque de construcción Review, Commenting, and Approval 10
Versiones de motor de ejecución: Flash Player 10.2, AIR (unsupported)

This value indicates that a new template has been created.

TEMPLATE_SAVED_EVENT

Constante 
public static const TEMPLATE_SAVED_EVENT:String = "templateSavedEvent"

Versión del lenguaje: ActionScript 3.0
Versión de producto: Bloque de construcción Review, Commenting, and Approval 10
Versiones de motor de ejecución: Flash Player 10.2, AIR (unsupported)

This value indicates that a template has been saved.

TEMPLATE_SELECTED_EVENT

Constante 
public static const TEMPLATE_SELECTED_EVENT:String = "templateSelectedEvent"

Versión del lenguaje: ActionScript 3.0
Versión de producto: Bloque de construcción Review, Commenting, and Approval 10
Versiones de motor de ejecución: Flash Player 10.2, AIR (unsupported)

This value indicates that an existing template has been selected.

TEMPLATE_WORKFLOW_CANCEL_EVENT

Constante 
public static const TEMPLATE_WORKFLOW_CANCEL_EVENT:String = "templateWorkflowCancelEvent"

Versión del lenguaje: ActionScript 3.0
Versión de producto: Bloque de construcción Review, Commenting, and Approval 10
Versiones de motor de ejecución: Flash Player 10.2, AIR (unsupported)

This value indicates that a template creation workflow has been canceled.





[ X ]¿Por qué hay texto en inglés?
Cierto contenido de la Referencia de ActionScript 3.0 se muestra en inglés

No todo el contenido de la Referencia de ActionScript 3.0 se traduce a todos los idiomas. Si un elemento del lenguaje no se traduce, aparecerá en inglés. Por ejemplo, la clase ga.controls.HelpBox no está traducida en ningún idioma. Por lo tanto, en la versión en español de la referencia, la clase ga.controls.HelpBox aparecerá en inglés.