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...
lc.procmgmt.ui.presentationmodel 

PresentationModel  - AS3 ADEP - Area di lavoro

Pacchettolc.procmgmt.ui.presentationmodel
Classepublic class PresentationModel
EreditarietàPresentationModel Inheritance EventDispatcher Inheritance Object
Implementa IPresentationModel, IMXMLObject
Sottoclassi AttachmentHeaderModel, AttachmentListModel, AttachmentsModel, HeaderPaneModel, ProcessInstanceDataGridModel, ProcessInstanceInfoModel, SearchSelectorModel, StartpointDetailsModel, StartpointGridSelectorModel, TaskDetailsModel, TaskDirectiveModel, TaskImageModel, TaskInfoModel, TitledCardRendererModel

Versione linguaggio: ActionScript 3.0
Versione prodotto: Adobe Digital Enterprise Platform Document Services - Area di lavoro 9
Versioni runtime: AIR (unsupported), Flash Player 9, Flash Player 10

The PresentationModel class is a superclass for all the presentation models. The class holds the common functionality and convenience methods that are needed to implement a presentation model, which is designed to support a specific view. A presentation model separates the behavior of a screen from the user interface controls and events. This separation simplifies the view and allows the view to make data bindings to properties in the presentation model and make simple method calls to the presentation model.

For information on using this component to customize Workspace, see Customizing the Adobe Digital Enterprise Platform Document Services - Workspace 10.0 User Interface .



Proprietà pubbliche
 ProprietàDefinito da
 Inheritedconstructor : Object
Un riferimento all'oggetto classe o alla funzione di costruzione per una determinata istanza di oggetto.
Object
  session : SessionMap
A SessionMap object that stores information relating to the server session.
PresentationModel
  state : String
[sola lettura] The name of the state the current view is in.
PresentationModel
Metodi pubblici
 MetodoDefinito da
 Inherited
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registra un oggetto listener di eventi con un oggetto EventDispatcher, in modo che il listener riceva la notifica di un evento.
EventDispatcher
  
bindProperty(destination:Object, destinationProperty:String, source:Object, sourceChain:Object, commitOnly:Boolean = false):ChangeWatcher
Binds a public property on the destination object from a property or property chain on the source object.
PresentationModel
 Inherited
Invia un evento nel flusso di eventi.
EventDispatcher
  
getCSSStyle(declaration:String, styleProperty:String, defaultValue:Object = null):Object
Returns the corresponding cascading style sheet (CSS) property to use based on the specified parameters.
PresentationModel
 Inherited
Verifica se per l'oggetto EventDispatcher sono presenti listener registrati per un tipo specifico di evento.
EventDispatcher
 Inherited
Indica se per un oggetto è definita una proprietà specifica.
Object
  
Initializes the presentation model after the view bindings are processed to prevent view bindings from overriding the initial model state.
PresentationModel
 Inherited
Indica se un'istanza della classe Object si trova nella catena di prototipi dell'oggetto specificato come parametro.
Object
 Inherited
Indica se la proprietà specificata esiste ed è enumerabile.
Object
 Inherited
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
Rimuove un listener dall'oggetto EventDispatcher.
EventDispatcher
 Inherited
Imposta la disponibilità di una proprietà dinamica per le operazioni cicliche.
Object
 Inherited
Restituisce la rappresentazione in formato stringa di questo oggetto, formattato in base alle convenzioni specifiche per le versioni localizzate.
Object
 Inherited
Restituisce la rappresentazione in formato stringa dell'oggetto specificato.
Object
 Inherited
Restituisce il valore di base dell'oggetto specificato.
Object
 Inherited
Verifica se un listener di eventi è registrato con questo oggetto EventDispatcher o qualsiasi suo antenato per il tipo di evento specificato.
EventDispatcher
Metodi protetti
 MetodoDefinito da
  
setState(newState:String):void
Sets the state property to a new value and causes a PropertyChangeEvent event.
PresentationModel
Eventi
 Evento Riepilogo Definito da
 Inherited[evento di trasmissione] Inviato quando Flash Player o l'applicazione AIR ottiene lo stato di attivazione del sistema operativo ed entra nello stato attivo.EventDispatcher
 Inherited[evento di trasmissione] Inviato quando Flash Player o l'applicazione AIR perde l'attivazione del sistema operativo e sta entrando nello stato inattivo.EventDispatcher
Descrizione delle proprietà

session

proprietà
session:SessionMap

Versione linguaggio: ActionScript 3.0
Versione prodotto: Adobe Digital Enterprise Platform Document Services - Area di lavoro 9
Versioni runtime: AIR (unsupported), Flash Player 9, Flash Player 10

A SessionMap object that stores information relating to the server session.

Questa proprietà può essere utilizzata come origine per l’associazione di dati. Quando questa proprietà viene modificata, invia l’evento propertyChange .



Implementazione
    public function get session():SessionMap
    public function set session(value:SessionMap):void

state

proprietà 
state:String  [sola lettura]

Versione linguaggio: ActionScript 3.0
Versione prodotto: Adobe Digital Enterprise Platform Document Services - Area di lavoro 9
Versioni runtime: AIR (unsupported), Flash Player 9, Flash Player 10

The name of the state the current view is in. The state is typically bound to the currentState property of a control.

Questa proprietà può essere utilizzata come origine per l’associazione di dati. Quando questa proprietà viene modificata, invia l’evento propertyChange .



Implementazione
    public function get state():String
Descrizione dei metodi

bindProperty

()metodo
public function bindProperty(destination:Object, destinationProperty:String, source:Object, sourceChain:Object, commitOnly:Boolean = false):ChangeWatcher

Versione linguaggio: ActionScript 3.0
Versione prodotto: Adobe Digital Enterprise Platform Document Services - Area di lavoro 9
Versioni runtime: AIR (unsupported), Flash Player 9, Flash Player 10

Binds a public property on the destination object from a property or property chain on the source object. This method simplifies the use of the standard BindingUtils.bindProperty method.

Parametri

destination:Object — Specifies the object defining the property to be bound to the value of sourceChain.
 
destinationProperty:String — Specifies the name of the public property defined by the value of the destination parameter that is to be bound.
 
source:Object — Specifies the object that hosts the property or property chain to be watched.
 
sourceChain:Object — Specifies the property or property chain to be watched.
 
commitOnly:Boolean (default = false) — A flag that specifies whether the handler is called for committing and noncommitting change events. A value of true specifies that the handler is called only on committing change events. A value of false specifies that the handler is called on both committing and noncommitting change events.

Restituisce
ChangeWatcher — The property or property chain to be watched. At least one property name must specified in the sourceChain argument, otherwise, a null value is returned.

Elementi API correlati

getCSSStyle

()metodo 
public function getCSSStyle(declaration:String, styleProperty:String, defaultValue:Object = null):Object

Versione linguaggio: ActionScript 3.0
Versione prodotto: Adobe Digital Enterprise Platform Document Services - Area di lavoro 9
Versioni runtime: AIR (unsupported), Flash Player 9, Flash Player 10

Returns the corresponding cascading style sheet (CSS) property to use based on the specified parameters.

Parametri

declaration:String — Specifies the name of the CSS selector.
 
styleProperty:String — Specifies the name of the CSS property.
 
defaultValue:Object (default = null) — Specifies the CSS property that is used if the CSS property specified by the the styleProperty parameter is not found.

Restituisce
Object — The CSS style.

initialize

()metodo 
public function initialize():void

Versione linguaggio: ActionScript 3.0
Versione prodotto: Adobe Digital Enterprise Platform Document Services - Area di lavoro 9
Versioni runtime: AIR (unsupported), Flash Player 9, Flash Player 10

Initializes the presentation model after the view bindings are processed to prevent view bindings from overriding the initial model state. Subclasses can override this method, which

setState

()metodo 
protected function setState(newState:String):void

Versione linguaggio: ActionScript 3.0
Versione prodotto: Adobe Digital Enterprise Platform Document Services - Area di lavoro 9
Versioni runtime: AIR (unsupported), Flash Player 9, Flash Player 10

Sets the state property to a new value and causes a PropertyChangeEvent event.

Parametri

newState:String — Specifies the new state name.





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