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

AttachmentHeaderModel  - AS3 ADEP - Area di lavoro

Pacchettolc.procmgmt.ui.attachments
Classepublic class AttachmentHeaderModel
EreditarietàAttachmentHeaderModel Inheritance PresentationModel Inheritance EventDispatcher Inheritance 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

The AttachmentsHeaderModel class acts as the model for the AttachmentsHeader component.

Elementi API correlati



Proprietà pubbliche
 ProprietàDefinito da
  allowNewAttachments : Boolean
[sola lettura] The indicator that adding Attachments is permitted.
AttachmentHeaderModel
  allowNewNotes : Boolean
[sola lettura] The indicator that adding Notes is permitted.
AttachmentHeaderModel
  attachmentPermissions : ArrayCollection
[sola lettura] An array of the possible combinations of the AttachmentPermissions object that can be associated with an AttachmentHeader component.
AttachmentHeaderModel
 Inheritedconstructor : Object
Un riferimento all'oggetto classe o alla funzione di costruzione per una determinata istanza di oggetto.
Object
  errorString : String
[sola lettura] The error string.
AttachmentHeaderModel
  file : FileReference
[sola lettura] The FileReference object used to display the File Browse dialog box.
AttachmentHeaderModel
  fileName : String
[sola lettura] The name of the attachment being added.
AttachmentHeaderModel
  isIncludeAttachments : Boolean
[sola lettura] Indicator to include Attachments in the display.
AttachmentHeaderModel
  isIncludeNotes : Boolean
[sola lettura] Indicator to include Notes in the display.
AttachmentHeaderModel
  note : String
[sola lettura] The text contained in the note.
AttachmentHeaderModel
  permissionIndex : int
[sola lettura] The index of the AttachmentPermissions object associated with the current Task object in the model's attachmentPermissions array.
AttachmentHeaderModel
 Inheritedsession : SessionMap
A SessionMap object that stores information relating to the server session.
PresentationModel
 Inheritedstate : String
[sola lettura] The name of the state the current view is in.
PresentationModel
  task : lc.procmgmt.domain:Task
[sola lettura] The process management task that the attachments are associated with.
AttachmentHeaderModel
  taskACL : lc.procmgmt.domain:TaskACL
[sola lettura] The TaskACL object associated with the current task.
AttachmentHeaderModel
  title : String
[sola lettura] The text contained in the note title.
AttachmentHeaderModel
Metodi pubblici
 MetodoDefinito da
  
Constructor.
AttachmentHeaderModel
  
Adds the file property to the current Task object, with the specified AttachmentPermissions object set.
AttachmentHeaderModel
 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
  
Adds the title and note properties to the current Task object, with the specified AttachmentPermissions object set.
AttachmentHeaderModel
 Inherited
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
  
Reinitializes the model's properties.
AttachmentHeaderModel
 Inherited
Invia un evento nel flusso di eventi.
EventDispatcher
  
Deprecated Since LiveCycle ES Update 1 (8.2): getAttachmentFile() is no longer used.
AttachmentHeaderModel
 Inherited
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
 Inherited
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
  
Dispatches when the taskACL property changes on the Task object.
AttachmentHeaderModel
 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
  
Retrieves the label associated with the AttachmentPermissions object that was passed in.
AttachmentHeaderModel
  
Changes the state of this component to the AttachmentHeaderModel.STATE_ADD_ATTACHMENT state.
AttachmentHeaderModel
  
Changes the state of this component to the AttachmentHeaderModel.STATE_ADD_NOTE state.
AttachmentHeaderModel
 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
 Inherited
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
Costanti pubbliche
 CostanteDefinito da
  NOTE_TITLE_MAXSIZE : int = 255
[statico] A special value that indicates the maximum number of characters for a title in a note.
AttachmentHeaderModel
  STATE_ADD_ATTACHMENT : String = "addAttachmentState"
[statico] A special value that indicates that it is possible to add notes and attachments.
AttachmentHeaderModel
  STATE_ADD_ATTACHMENT_ONLY : String = "addAttachmentOnlyState"
[statico] A special value that indicates that it is possible to add only attachments.
AttachmentHeaderModel
  STATE_ADD_NOTE : String = "addNoteState"
[statico] A special value that indicates that the STATE_ADD_ATTACHMENT state set set; however, the user tried add a note.
AttachmentHeaderModel
  STATE_ADD_NOTE_ONLY : String = "addNoteOnlyState"
[statico] A special value that indicates that it is possible to add a note.
AttachmentHeaderModel
Descrizione delle proprietà

allowNewAttachments

proprietà
allowNewAttachments:Boolean  [sola lettura]

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

The indicator that adding Attachments is permitted.

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 allowNewAttachments():Boolean

allowNewNotes

proprietà 
allowNewNotes:Boolean  [sola lettura]

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

The indicator that adding Notes is permitted.

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 allowNewNotes():Boolean

attachmentPermissions

proprietà 
attachmentPermissions:ArrayCollection  [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

An array of the possible combinations of the AttachmentPermissions object that can be associated with an AttachmentHeader component.

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 attachmentPermissions():ArrayCollection

errorString

proprietà 
errorString: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 error string.

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 errorString():String

file

proprietà 
file:FileReference  [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 FileReference object used to display the File Browse dialog box.

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 file():FileReference

fileName

proprietà 
fileName: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 attachment being added.

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 fileName():String

isIncludeAttachments

proprietà 
isIncludeAttachments:Boolean  [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

Indicator to include Attachments in the display.

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 isIncludeAttachments():Boolean

isIncludeNotes

proprietà 
isIncludeNotes:Boolean  [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

Indicator to include Notes in the display.

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 isIncludeNotes():Boolean

note

proprietà 
note: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 text contained in the note.

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 note():String

permissionIndex

proprietà 
permissionIndex:int  [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 index of the AttachmentPermissions object associated with the current Task object in the model's attachmentPermissions array.

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 permissionIndex():int

task

proprietà 
task:lc.procmgmt.domain:Task  [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 process management task that the attachments are associated with.

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 task():lc.procmgmt.domain:Task

taskACL

proprietà 
taskACL:lc.procmgmt.domain:TaskACL  [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 TaskACL object associated with the current task. The TaskACL object contains the settings from an AttachmentPermissions object associated with the current task and controls the state in which this component is viewed.

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 taskACL():lc.procmgmt.domain:TaskACL

Elementi API correlati

lc.procmgmt.domain.TaskACL
llc.procmgmt.domain.AttachmentPermissions

title

proprietà 
title: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 text contained in the note title.

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 title():String
Descrizione della funzione di costruzione

AttachmentHeaderModel

()Funzione di costruzione
public function AttachmentHeaderModel()

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

Constructor.

Descrizione dei metodi

addAttachment

()metodo
public function addAttachment():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

Adds the file property to the current Task object, with the specified AttachmentPermissions object set.

Views typically call this method when the user clicks the OK button to add an attachment.

addNote

()metodo 
public function addNote():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

Adds the title and note properties to the current Task object, with the specified AttachmentPermissions object set.

Views typically call this method when the user clicks the OK button to add a note.

clearFields

()metodo 
public function clearFields():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

Reinitializes the model's properties. The following properties are reinitialized:

  • The file property is set to a value of null.
  • The note, title, fileName, and errorString properties are set to an empty string.
  • The permissionIndex property is set to a value of zero.

getAttachmentFile

()metodo 
public function getAttachmentFile():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

Deprecated Since LiveCycle ES Update 1 (8.2): getAttachmentFile() is no longer used.

This method is no longer available. It remains exposed so that you can compile applications using earlier versions of the API. In earlier releases of Workspace, this method displayed a File Browse dialog box from which a user can select the attachment file to add.

onTaskChangeHandler

()metodo 
public function onTaskChangeHandler(taskACL:lc.procmgmt.domain:TaskACL):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

Dispatches when the taskACL property changes on the Task object. It is used to properly set the state of the AttachmentHeader component based on the value of the taskACL object.

Parametri

taskACL:lc.procmgmt.domain:TaskACL — The ACL (access control list) associated with the current task.

selectLabel

()metodo 
public function selectLabel(item:Object):String

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

Retrieves the label associated with the AttachmentPermissions object that was passed in.

Parametri

item:Object — The permissions of an attachment.

Restituisce
String — The associated label of an item.

setAddAttachmentState

()metodo 
public function setAddAttachmentState():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

Changes the state of this component to the AttachmentHeaderModel.STATE_ADD_ATTACHMENT state.

This state allows the user to add an attachment through this component.

setAddNoteState

()metodo 
public function setAddNoteState():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

Changes the state of this component to the AttachmentHeaderModel.STATE_ADD_NOTE state.

This state allows the user to add a note through the AttachmentHeader component.

Descrizione delle costanti

NOTE_TITLE_MAXSIZE

Costante
public static const NOTE_TITLE_MAXSIZE:int = 255

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 special value that indicates the maximum number of characters for a title in a note.

STATE_ADD_ATTACHMENT

Costante 
public static const STATE_ADD_ATTACHMENT:String = "addAttachmentState"

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 special value that indicates that it is possible to add notes and attachments.

STATE_ADD_ATTACHMENT_ONLY

Costante 
public static const STATE_ADD_ATTACHMENT_ONLY:String = "addAttachmentOnlyState"

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 special value that indicates that it is possible to add only attachments.

STATE_ADD_NOTE

Costante 
public static const STATE_ADD_NOTE:String = "addNoteState"

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 special value that indicates that the STATE_ADD_ATTACHMENT state set set; however, the user tried add a note.

STATE_ADD_NOTE_ONLY

Costante 
public static const STATE_ADD_NOTE_ONLY:String = "addNoteOnlyState"

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 special value that indicates that it is possible to add a note.





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