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.icc.services.user 

UserEvent  - AS3 Układacz zasobów

Pakietcom.adobe.icc.services.user
Klasapublic class UserEvent
DziedziczenieUserEvent Inheritance Event Inheritance Object

Wersja języka: ActionScript 3.0
Wersja produktu: Asset Composer Building Block 9.5
Wersje środowiska wykonawczego: AIR (unsupported), Flash Player 9, Flash Player 10

Event representing information around the sso or authentication related interaction of the client with server



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
 Inheritedtarget : Object
[tylko do odczytu] Miejsce docelowe zdarzenia.
Event
 Inheritedtype : String
[tylko do odczytu] Typ zdarzenia.
Event
Metody publiczne
 MetodaZdefiniowane przez
  
Constructor.
UserEvent
  
[przesłanianie] Duplicates an instance of an Event subclass.
UserEvent
 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
  AUTHENTICATION_FAILED : String = "authenticationFailed"
[statyczny] This type of event would be dispatched when authentication fails using the username, password.
UserEvent
  AUTHENTICATION_REQUIRED : String = "authenticationRequired"
[statyczny] This type of event would be dispatched when authentication using SSO is not achieved.
UserEvent
  AUTHENTICATION_SUCCESS : String = "authenticationSuccess"
[statyczny] This type of event would be dispatched when the Authentication process is successful.
UserEvent
  LOAD_USER_COMPLETE : String = "loadUserComplete"
[statyczny] This type of event would be dispatched when load User is complete.
UserEvent
  LOGOUT_COMPLETE : String = "logoutComplete"
[statyczny] This type of event would be dispatched when logout is complete.
UserEvent
  RENEW_SESSION_COMPLETE : String = "renewSessionComplete"
[statyczny] This type of event would be dispatched when renew Session is complete.
UserEvent
Konstruktor Szczegół

UserEvent

()Konstruktor
public function UserEvent(type:String)

Wersja języka: ActionScript 3.0
Wersja produktu: Asset Composer Building Block 9.5
Wersje środowiska wykonawczego: AIR (unsupported), Flash Player 9, Flash Player 10

Constructor. Accepts an event type and instantiates the corresponding UserEvent.

Parametry
type:String — One of the event type constants.
Szczegół metody

clone

()metoda
override public function clone():Event

Wersja języka: ActionScript 3.0
Wersja produktu: Asset Composer Building Block 10
Wersje środowiska wykonawczego: AIR (unsupported), Flash Player 10.2

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

AUTHENTICATION_FAILED

Stała
public static const AUTHENTICATION_FAILED:String = "authenticationFailed"

Wersja języka: ActionScript 3.0
Wersja produktu: Asset Composer Building Block 9.5
Wersje środowiska wykonawczego: AIR (unsupported), Flash Player 9, Flash Player 10

This type of event would be dispatched when authentication fails using the username, password. As a response to this type of event an application can show an error message to the user. This event would only happen when authentication is done using username and password and NOT in SSO case.

AUTHENTICATION_REQUIRED

Stała 
public static const AUTHENTICATION_REQUIRED:String = "authenticationRequired"

Wersja języka: ActionScript 3.0
Wersja produktu: Asset Composer Building Block 9.5
Wersje środowiska wykonawczego: AIR (unsupported), Flash Player 9, Flash Player 10

This type of event would be dispatched when authentication using SSO is not achieved. And due to that we require the user's username and password for authentication. As a response to this event the application can show the login page to the user.

AUTHENTICATION_SUCCESS

Stała 
public static const AUTHENTICATION_SUCCESS:String = "authenticationSuccess"

Wersja języka: ActionScript 3.0
Wersja produktu: Asset Composer Building Block 9.5
Wersje środowiska wykonawczego: AIR (unsupported), Flash Player 9, Flash Player 10

This type of event would be dispatched when the Authentication process is successful. Authentication might have been done with SSO or username and password. As a response to this event the application can show the welcome page to the user The application may want to perform specific check for permission/role so as to verify the user is allowed. So as a response to this event the application would do those checks and then only show the welcome page

LOAD_USER_COMPLETE

Stała 
public static const LOAD_USER_COMPLETE:String = "loadUserComplete"

Wersja języka: ActionScript 3.0
Wersja produktu: Asset Composer Building Block 9.5
Wersje środowiska wykonawczego: AIR (unsupported), Flash Player 9, Flash Player 10

This type of event would be dispatched when load User is complete.

LOGOUT_COMPLETE

Stała 
public static const LOGOUT_COMPLETE:String = "logoutComplete"

Wersja języka: ActionScript 3.0
Wersja produktu: Asset Composer Building Block 9.5
Wersje środowiska wykonawczego: AIR (unsupported), Flash Player 9, Flash Player 10

This type of event would be dispatched when logout is complete. As a response to this event the application may show a logout page informing the user that he has been logged out. Or the application can take the user back to login page

RENEW_SESSION_COMPLETE

Stała 
public static const RENEW_SESSION_COMPLETE:String = "renewSessionComplete"

Wersja języka: ActionScript 3.0
Wersja produktu: Asset Composer Building Block 9.5
Wersje środowiska wykonawczego: AIR (unsupported), Flash Player 9, Flash Player 10

This type of event would be dispatched when renew Session is complete.





[ 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.