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...
mx.data 

IItemReference  - AS3 ADEP Data Services

Pakietmx.data
Interfejspublic interface IItemReference extends IEventDispatcher
Implementory ItemReference

Wersja języka: ActionScript 3.0
Wersja produktu: Adobe Digital Enterprise Platform Data Services for Java EE 4.5
Wersje środowiska wykonawczego: Flash Player 10.1, AIR 2.0

The IItemReference interface provides the contract for a ItemReference. An instance of ItemReference is returned from the DataService.getItem() and DataService.createItem() methods to provide a way to manage a reference to the remote object.



Właściwości publiczne
 WłaściwośćZdefiniowane przez
  valid : Boolean
Set to false if the ItemReference becomes invalid either because the server faulted when trying to retrieve the item or if the retrieved item was itself null.
IItemReference
Metody publiczne
 MetodaZdefiniowane przez
 Inherited
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Rejestruje obiekt detektora zdarzeń w obiekcie EventDispatcher, dzięki czemu detektor będzie otrzymywał powiadomienia o zdarzeniu.
IEventDispatcher
 Inherited
Wywołuje zdarzenie, tj. kieruje je do przepływu zdarzeń.
IEventDispatcher
 Inherited
Sprawdza, czy obiekt EventDispatcher zawiera jakiekolwiek detektory zarejestrowane dla konkretnego typu zdarzeń.
IEventDispatcher
  
releaseItem(copyStillManagedItems:Boolean = true, enableStillManagedCheck:Boolean = true):void
Releases the managed item reference retrieved with the getItem() or createItem() method call that returned this ItemReference.
IItemReference
 Inherited
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
Usuwa detektor z obiektu EventDispatcher.
IEventDispatcher
 Inherited
Sprawdza, czy detektor zdarzeń określonego typu jest zarejestrowany w tym obiekcie EventDispatcher lub jego elementach macierzystych.
IEventDispatcher
Szczegół właściwości

valid

właściwość
valid:Boolean

Wersja języka: ActionScript 3.0
Wersja produktu: Adobe Digital Enterprise Platform Data Services for Java EE 4.5
Wersje środowiska wykonawczego: Flash Player 10.1, AIR 2.0

Set to false if the ItemReference becomes invalid either because the server faulted when trying to retrieve the item or if the retrieved item was itself null. This property can be used to bind to your user interface controls to display status information for this item without having to listen for explicit fault events.

Ta właściwość może być używana jako źródło dla tworzenia powiązań danych. Jeśli ta właściwość zostanie zmodyfikowana, zostanie wywołane zdarzenie propertyChange .



Implementacja
    public function get valid():Boolean
    public function set valid(value:Boolean):void
Szczegół metody

releaseItem

()metoda
public function releaseItem(copyStillManagedItems:Boolean = true, enableStillManagedCheck:Boolean = true):void

Wersja języka: ActionScript 3.0
Wersja produktu: Adobe Digital Enterprise Platform Data Services for Java EE 4.5
Wersje środowiska wykonawczego: Flash Player 10.1, AIR 2.0

Releases the managed item reference retrieved with the getItem() or createItem() method call that returned this ItemReference. It is possible to have more than one ItemReference that points to the same item on the same client. Use this method to release the proper reference.

Parametry

copyStillManagedItems:Boolean (default = true) — Boolean indicating that a copy of this item should be placed in this ItemReference should the current item still be referenced. This can occur if more than one call to DataService.getItem() for this same item is made, or if this item is referenced by a collection returned from a call to DataService.fill().
 
enableStillManagedCheck:Boolean (default = true) — Boolean indicating if the item should be checked for additional references.





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