Paket | com.adobe.solutions.rca.presentation.event |
Klass | public class TemplateEvent |
Arv | TemplateEvent Event Object |
Språkversion: | ActionScript 3.0 |
Produktversion: | Review, Commenting, and Approval Building Block 10 |
Körningsmiljöversioner: | Flash Player 10.2, AIR (unsupported) |
Egenskap | Definieras med | ||
---|---|---|---|
bubbles : Boolean [skrivskyddad]
indikerar om händelsen är en bubblande händelse. | Event | ||
cancelable : Boolean [skrivskyddad]
Indikerar om beteendet som är kopplat till händelsen kan förhindras. | Event | ||
constructor : Object
En referens till klassobjektet eller konstruktorfunktionen för en given objektinstans. | Object | ||
currentTarget : Object [skrivskyddad]
Det objekt som aktivt behandlar Event-objektet med en händelseavlyssnare. | Event | ||
eventPhase : uint [skrivskyddad]
Den nuvarande fasen i händelseflödet. | Event | ||
isModified : Boolean
A True value of this Boolean flag indicates that the template has been modified locally. | TemplateEvent | ||
target : Object [skrivskyddad]
Händelsens mål. | Event | ||
template : com.adobe.solutions.rca.domain:IReviewTemplate
This property refers to the template on which the operation is performed. | TemplateEvent | ||
type : String [skrivskyddad]
Händelsens typ. | Event |
Metod | Definieras med | ||
---|---|---|---|
The constructor for TemplateEvent class. | TemplateEvent | ||
[åsidosätt]
Duplicates an instance of an Event subclass. | TemplateEvent | ||
Ett verktyg som används för att implementera metoden toString() i de anpassade klasserna ActionScript 3.0. | Event | ||
Anger om det finns en egenskap angiven för ett objekt. | Object | ||
Kontrollerar om preventDefault()-metoden har anropats för händelsen. | Event | ||
Anger om en instans av klassen Object finns i prototypkedjan för objektet som anges som parameter. | Object | ||
Avbryter en händelses standardbeteende om det beteendet kan avbrytas. | Event | ||
Anger om den angivna egenskapen finns och är uppräkningsbar. | Object | ||
Anger tillgänglighet för en dynamisk egenskap för slingåtgärder. | Object | ||
Förhindrar behandling av händelsehanterare i den aktuella noden och alla noder som följer den aktuella noden i händelseflödet. | Event | ||
Förhindrar behandling av händelsehanterare i noder som följer den aktuella noden i händelseflödet. | Event | ||
Returnerar det här objektets strängrepresentation, formaterad i enlighet med språkspecifika konventioner. | Object | ||
Returnerar en sträng som innehåller alla egenskaper i Event-objektet. | Event | ||
Returnerar det angivna objektets primitiva värde. | Object |
Konstant | Definieras med | ||
---|---|---|---|
NEW_TEMPLATE_EVENT : String = "newTemplateEvent" [statisk]
This value indicates that a new template has been created. | TemplateEvent | ||
TEMPLATE_SAVED_EVENT : String = "templateSavedEvent" [statisk]
This value indicates that a template has been saved. | TemplateEvent | ||
TEMPLATE_SELECTED_EVENT : String = "templateSelectedEvent" [statisk]
This value indicates that an existing template has been selected. | TemplateEvent | ||
TEMPLATE_WORKFLOW_CANCEL_EVENT : String = "templateWorkflowCancelEvent" [statisk]
This value indicates that a template creation workflow has been canceled. | TemplateEvent |
isModified | egenskap |
isModified:Boolean
Språkversion: | ActionScript 3.0 |
Produktversion: | Review, Commenting, and Approval Building Block 10 |
Körningsmiljöversioner: | Flash Player 10.2, AIR (unsupported) |
A True
value of this Boolean flag indicates that the template has been modified locally.
Implementering
public function get isModified():Boolean
public function set isModified(value:Boolean):void
template | egenskap |
template:com.adobe.solutions.rca.domain:IReviewTemplate
Språkversion: | ActionScript 3.0 |
Produktversion: | Review, Commenting, and Approval Building Block 10 |
Körningsmiljöversioner: | Flash Player 10.2, AIR (unsupported) |
This property refers to the template on which the operation is performed.
Implementering
public function get template():com.adobe.solutions.rca.domain:IReviewTemplate
public function set template(value:com.adobe.solutions.rca.domain:IReviewTemplate):void
TemplateEvent | () | Konstruktor |
public function TemplateEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false)
Språkversion: | ActionScript 3.0 |
Produktversion: | Review, Commenting, and Approval Building Block 10.0 |
Körningsmiljöversioner: | Flash Player 10.2, AIR (unsupported) |
The constructor for TemplateEvent
class.
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.
|
clone | () | metod |
override public function clone():Event
Språkversion: | ActionScript 3.0 |
Produktversion: | Review, Commenting, and Approval Building Block 10 |
Körningsmiljöversioner: | 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); } }
Event — A new Event object that is identical to the original.
|
NEW_TEMPLATE_EVENT | Konstant |
public static const NEW_TEMPLATE_EVENT:String = "newTemplateEvent"
Språkversion: | ActionScript 3.0 |
Produktversion: | Review, Commenting, and Approval Building Block 10 |
Körningsmiljöversioner: | Flash Player 10.2, AIR (unsupported) |
This value indicates that a new template has been created.
TEMPLATE_SAVED_EVENT | Konstant |
public static const TEMPLATE_SAVED_EVENT:String = "templateSavedEvent"
Språkversion: | ActionScript 3.0 |
Produktversion: | Review, Commenting, and Approval Building Block 10 |
Körningsmiljöversioner: | Flash Player 10.2, AIR (unsupported) |
This value indicates that a template has been saved.
TEMPLATE_SELECTED_EVENT | Konstant |
public static const TEMPLATE_SELECTED_EVENT:String = "templateSelectedEvent"
Språkversion: | ActionScript 3.0 |
Produktversion: | Review, Commenting, and Approval Building Block 10 |
Körningsmiljöversioner: | Flash Player 10.2, AIR (unsupported) |
This value indicates that an existing template has been selected.
TEMPLATE_WORKFLOW_CANCEL_EVENT | Konstant |
public static const TEMPLATE_WORKFLOW_CANCEL_EVENT:String = "templateWorkflowCancelEvent"
Språkversion: | ActionScript 3.0 |
Produktversion: | Review, Commenting, and Approval Building Block 10 |
Körningsmiljöversioner: | Flash Player 10.2, AIR (unsupported) |
This value indicates that a template creation workflow has been canceled.
Tue Jun 12 2018, 01:40 PM Z