Guida di riferimento di ActionScript® 3.0 per la piattaforma Adobe® Flash®
Home  |  Nascondi elenco pacchetti e classi |  Pacchetti  |  Classi  |  Novità  |  Indice  |  Appendici  |  Perché in inglese?
Filtri: Recupero dati dal server...
Recupero dati dal server...
com.adobe.solutions.rca.presentation.event 

TemplateEvent  - AS3 Review, Commenting, and Approval

Pacchettocom.adobe.solutions.rca.presentation.event
Classepublic class TemplateEvent
EreditarietàTemplateEvent Inheritance Event Inheritance Object

Versione linguaggio: ActionScript 3.0
Versione prodotto: Blocco costitutivo Review, Commenting, and Approval 10
Versioni runtime: Flash Player 10.2, AIR (unsupported)

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



Proprietà pubbliche
 ProprietàDefinito da
 Inheritedbubbles : Boolean
[sola lettura] Indica se un evento è un evento di bubbling.
Event
 Inheritedcancelable : Boolean
[sola lettura] Indica se il comportamento associato all'evento può essere impedito.
Event
 Inheritedconstructor : Object
Un riferimento all'oggetto classe o alla funzione di costruzione per una determinata istanza di oggetto.
Object
 InheritedcurrentTarget : Object
[sola lettura] L'oggetto che elabora attivamente l'oggetto Event con un listener di eventi.
Event
 InheritedeventPhase : uint
[sola lettura] La fase attuale del flusso di eventi.
Event
  isModified : Boolean
A True value of this Boolean flag indicates that the template has been modified locally.
TemplateEvent
 Inheritedtarget : Object
[sola lettura] Il target dell'evento.
Event
  template : com.adobe.solutions.rca.domain:IReviewTemplate
This property refers to the template on which the operation is performed.
TemplateEvent
 Inheritedtype : String
[sola lettura] Il tipo di evento.
Event
Metodi pubblici
 MetodoDefinito da
  
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 funzione dell'utilità per l'implementazione del metodo toString() in classi Event ActionScript 3.0 personalizzate.
Event
 Inherited
Indica se per un oggetto è definita una proprietà specifica.
Object
 Inherited
Verifica se sull'evento è stato chiamato il metodo preventDefault().
Event
 Inherited
Indica se un'istanza della classe Object si trova nella catena di prototipi dell'oggetto specificato come parametro.
Object
 Inherited
Annulla il comportamento predefinito di un evento se tale comportamento può essere annullato.
Event
 Inherited
Indica se la proprietà specificata esiste ed è enumerabile.
Object
 Inherited
Imposta la disponibilità di una proprietà dinamica per le operazioni cicliche.
Object
 Inherited
Impedisce l'elaborazione di tutti i listener di eventi nel nodo corrente e in tutti i nodi successivi del flusso di eventi.
Event
 Inherited
Impedisce l'elaborazione di tutti i listener di eventi nei nodi del flusso di eventi successivi a quello corrente.
Event
 Inherited
Restituisce la rappresentazione in formato stringa di questo oggetto, formattato in base alle convenzioni specifiche per le versioni localizzate.
Object
 Inherited
Restituisce una stringa che contiene tutte le proprietà dell'oggetto Event.
Event
 Inherited
Restituisce il valore di base dell'oggetto specificato.
Object
Costanti pubbliche
 CostanteDefinito da
  NEW_TEMPLATE_EVENT : String = "newTemplateEvent"
[statico] This value indicates that a new template has been created.
TemplateEvent
  TEMPLATE_SAVED_EVENT : String = "templateSavedEvent"
[statico] This value indicates that a template has been saved.
TemplateEvent
  TEMPLATE_SELECTED_EVENT : String = "templateSelectedEvent"
[statico] This value indicates that an existing template has been selected.
TemplateEvent
  TEMPLATE_WORKFLOW_CANCEL_EVENT : String = "templateWorkflowCancelEvent"
[statico] This value indicates that a template creation workflow has been canceled.
TemplateEvent
Descrizione delle proprietà

isModified

proprietà
isModified:Boolean

Versione linguaggio: ActionScript 3.0
Versione prodotto: Blocco costitutivo Review, Commenting, and Approval 10
Versioni runtime: Flash Player 10.2, AIR (unsupported)

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



Implementazione
    public function get isModified():Boolean
    public function set isModified(value:Boolean):void

template

proprietà 
template:com.adobe.solutions.rca.domain:IReviewTemplate

Versione linguaggio: ActionScript 3.0
Versione prodotto: Blocco costitutivo Review, Commenting, and Approval 10
Versioni runtime: Flash Player 10.2, AIR (unsupported)

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



Implementazione
    public function get template():com.adobe.solutions.rca.domain:IReviewTemplate
    public function set template(value:com.adobe.solutions.rca.domain:IReviewTemplate):void
Descrizione della funzione di costruzione

TemplateEvent

()Funzione di costruzione
public function TemplateEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false)

Versione linguaggio: ActionScript 3.0
Versione prodotto: Blocco costitutivo Review, Commenting, and Approval 10.0
Versioni runtime: Flash Player 10.2, AIR (unsupported)

The constructor for TemplateEvent class.

Parametri
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.
Descrizione dei metodi

clone

()metodo
override public function clone():Event

Versione linguaggio: ActionScript 3.0
Versione prodotto: Blocco costitutivo Review, Commenting, and Approval 10
Versioni runtime: 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);
        }
     }
     

Restituisce
Event — A new Event object that is identical to the original.
Descrizione delle costanti

NEW_TEMPLATE_EVENT

Costante
public static const NEW_TEMPLATE_EVENT:String = "newTemplateEvent"

Versione linguaggio: ActionScript 3.0
Versione prodotto: Blocco costitutivo Review, Commenting, and Approval 10
Versioni runtime: Flash Player 10.2, AIR (unsupported)

This value indicates that a new template has been created.

TEMPLATE_SAVED_EVENT

Costante 
public static const TEMPLATE_SAVED_EVENT:String = "templateSavedEvent"

Versione linguaggio: ActionScript 3.0
Versione prodotto: Blocco costitutivo Review, Commenting, and Approval 10
Versioni runtime: Flash Player 10.2, AIR (unsupported)

This value indicates that a template has been saved.

TEMPLATE_SELECTED_EVENT

Costante 
public static const TEMPLATE_SELECTED_EVENT:String = "templateSelectedEvent"

Versione linguaggio: ActionScript 3.0
Versione prodotto: Blocco costitutivo Review, Commenting, and Approval 10
Versioni runtime: Flash Player 10.2, AIR (unsupported)

This value indicates that an existing template has been selected.

TEMPLATE_WORKFLOW_CANCEL_EVENT

Costante 
public static const TEMPLATE_WORKFLOW_CANCEL_EVENT:String = "templateWorkflowCancelEvent"

Versione linguaggio: ActionScript 3.0
Versione prodotto: Blocco costitutivo Review, Commenting, and Approval 10
Versioni runtime: Flash Player 10.2, AIR (unsupported)

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





[ X ]Perché in inglese?
Il contenuto della Guida di riferimento di ActionScript 3.0 appare in inglese

Non tutte le parti della Guida di riferimento di ActionScript 3.0 sono tradotte in tutte le lingue. Quando un elemento del linguaggio non è tradotto, viene riportato in inglese. Ad esempio, la classe ga.controls.HelpBox non è tradotta in nessuna lingua. Pertanto, nella versione italiana della guida di riferimento, la descrizione della classe ga.controls.HelpBox è riportata in inglese.