ActionScript® 3.0 — dokumentacja dla platformy Adobe® Flash®
Strona główna  |  Ukryj listę pakietów i klas |  Pakiety  |  Klasy  |  Nowości  |  Indeks  |  Dodatki  |  Dlaczego język angielski?
Filtry: Pobieranie danych z serwera...
Pobieranie danych z serwera...
com.adobe.solutions.rca.presentation.event 

TemplateEvent  - AS3 Recenzowanie, komentowanie i zatwierdzanie

Pakietcom.adobe.solutions.rca.presentation.event
Klasapublic class TemplateEvent
DziedziczenieTemplateEvent Inheritance Event Inheritance Object

Wersja języka: ActionScript 3.0
Wersja produktu: Review, Commenting, and Approval Building Block 10
Wersje środowiska wykonawczego: Flash Player 10.2, AIR (unsupported)

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



Właściwości publiczne
 WłaściwośćZdefiniowane przez
 Inheritedbubbles : Boolean
[tylko do odczytu] Określa, czy zdarzenie może przechodzić fazę propagacji.
Event
 Inheritedcancelable : Boolean
[tylko do odczytu] Wskazuje, czy można uniemożliwić operacje skojarzone ze zdarzeniem.
Event
 Inheritedconstructor : Object
Odwołanie do obiektu klasy lub funkcji konstruktora, dotyczące danej instancji obiektu.
Object
 InheritedcurrentTarget : Object
[tylko do odczytu] Obiekt przetwarzający aktywnie obiekt Event za pomocą detektora zdarzeń.
Event
 InheritedeventPhase : uint
[tylko do odczytu] Bieżąca faza przepływu zdarzeń.
Event
  isModified : Boolean
A True value of this Boolean flag indicates that the template has been modified locally.
TemplateEvent
 Inheritedtarget : Object
[tylko do odczytu] Miejsce docelowe zdarzenia.
Event
  template : com.adobe.solutions.rca.domain:IReviewTemplate
This property refers to the template on which the operation is performed.
TemplateEvent
 Inheritedtype : String
[tylko do odczytu] Typ zdarzenia.
Event
Metody publiczne
 MetodaZdefiniowane przez
  
TemplateEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false)
The constructor for TemplateEvent class.
TemplateEvent
  
[przesłanianie] Duplicates an instance of an Event subclass.
TemplateEvent
 Inherited
formatToString(className:String, ... arguments):String
Funkcja narzędziowa umożliwiająca implementację metody toString() w niestandardowych klasach Event w języku ActionScript 3.0.
Event
 Inherited
Wskazuje, czy dla obiektu zdefiniowano określoną właściwość.
Object
 Inherited
Sprawdza, czy w odniesieniu do tego zdarzenia wywołano metodę preventDefault().
Event
 Inherited
Wskazuje, czy instancja klasy Object należy do łańcucha prototypów obiektu określonego jako parametr.
Object
 Inherited
Anuluje domyślne ustawienia zdarzenia, o ile zachowanie to może być anulowane.
Event
 Inherited
Wskazuje, czy określona właściwość istnieje i jest przeliczalna.
Object
 Inherited
Ustawia dostępność właściwości dynamicznej używanej w pętlach.
Object
 Inherited
Zapobiega przetwarzaniu wszelkich detektorów zdarzeń w węźle bieżącym i węzłach następujących po nim.
Event
 Inherited
Zapobiega przetwarzaniu wszelkich detektorów zdarzeń w węzłach następujących po węźle bieżącym w przepływie zdarzeń.
Event
 Inherited
Zwraca ciąg reprezentujący obiekt — sformatowany zgodnie z konwencjami właściwymi dla ustawień regionalnych.
Object
 Inherited
Zwraca ciąg znaków, który zawiera wszystkie właściwości obiektu Event.
Event
 Inherited
Zwraca pierwotną wartość dla określonego obiektu.
Object
Stałe publiczne
 StałaZdefiniowane przez
  NEW_TEMPLATE_EVENT : String = "newTemplateEvent"
[statyczny] This value indicates that a new template has been created.
TemplateEvent
  TEMPLATE_SAVED_EVENT : String = "templateSavedEvent"
[statyczny] This value indicates that a template has been saved.
TemplateEvent
  TEMPLATE_SELECTED_EVENT : String = "templateSelectedEvent"
[statyczny] This value indicates that an existing template has been selected.
TemplateEvent
  TEMPLATE_WORKFLOW_CANCEL_EVENT : String = "templateWorkflowCancelEvent"
[statyczny] This value indicates that a template creation workflow has been canceled.
TemplateEvent
Szczegół właściwości

isModified

właściwość
isModified:Boolean

Wersja języka: ActionScript 3.0
Wersja produktu: Review, Commenting, and Approval Building Block 10
Wersje środowiska wykonawczego: Flash Player 10.2, AIR (unsupported)

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



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

template

właściwość 
template:com.adobe.solutions.rca.domain:IReviewTemplate

Wersja języka: ActionScript 3.0
Wersja produktu: Review, Commenting, and Approval Building Block 10
Wersje środowiska wykonawczego: Flash Player 10.2, AIR (unsupported)

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



Implementacja
    public function get template():com.adobe.solutions.rca.domain:IReviewTemplate
    public function set template(value:com.adobe.solutions.rca.domain:IReviewTemplate):void
Konstruktor Szczegół

TemplateEvent

()Konstruktor
public function TemplateEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false)

Wersja języka: ActionScript 3.0
Wersja produktu: Review, Commenting, and Approval Building Block 10.0
Wersje środowiska wykonawczego: Flash Player 10.2, AIR (unsupported)

The constructor for TemplateEvent class.

Parametry
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.
Szczegół metody

clone

()metoda
override public function clone():Event

Wersja języka: ActionScript 3.0
Wersja produktu: Review, Commenting, and Approval Building Block 10
Wersje środowiska wykonawczego: 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);
        }
     }
     

Zwraca
Event — A new Event object that is identical to the original.
Szczegół stałej

NEW_TEMPLATE_EVENT

Stała
public static const NEW_TEMPLATE_EVENT:String = "newTemplateEvent"

Wersja języka: ActionScript 3.0
Wersja produktu: Review, Commenting, and Approval Building Block 10
Wersje środowiska wykonawczego: Flash Player 10.2, AIR (unsupported)

This value indicates that a new template has been created.

TEMPLATE_SAVED_EVENT

Stała 
public static const TEMPLATE_SAVED_EVENT:String = "templateSavedEvent"

Wersja języka: ActionScript 3.0
Wersja produktu: Review, Commenting, and Approval Building Block 10
Wersje środowiska wykonawczego: Flash Player 10.2, AIR (unsupported)

This value indicates that a template has been saved.

TEMPLATE_SELECTED_EVENT

Stała 
public static const TEMPLATE_SELECTED_EVENT:String = "templateSelectedEvent"

Wersja języka: ActionScript 3.0
Wersja produktu: Review, Commenting, and Approval Building Block 10
Wersje środowiska wykonawczego: Flash Player 10.2, AIR (unsupported)

This value indicates that an existing template has been selected.

TEMPLATE_WORKFLOW_CANCEL_EVENT

Stała 
public static const TEMPLATE_WORKFLOW_CANCEL_EVENT:String = "templateWorkflowCancelEvent"

Wersja języka: ActionScript 3.0
Wersja produktu: Review, Commenting, and Approval Building Block 10
Wersje środowiska wykonawczego: Flash Player 10.2, AIR (unsupported)

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





[ X ]Dlaczego język angielski?
Treść dokumentacji języka ActionScript 3.0 wyświetlana w języku angielskim

Niektóre części dokumentacji języka ActionScript 3.0 nie są przetłumaczone na poszczególne języki. Gdy element nie jest przetłumaczony na dany język, jest wyświetlany tekst angielski. Na przykład opis klasy ga.controls.HelpBox nie jest przetłumaczony na żaden dodatkowy język. Z tego powodu polska wersja dokumentacji zawiera opis klasy ga.controls.HelpBox w języku angielskim.