Guide de référence ActionScript® 3.0 pour la plate-forme Adobe® Flash®
Accueil  |  Masquer la liste des packages et des classes |  Packages  |  Classes  |  Nouveautés  |  Index  |  Annexes  |  Pourquoi existe-t-il du contenu en anglais ?
Filtres : Récupération des données du serveur...
Récupération des données du serveur...
lc.procmgmt.ui.attachments 

AttachmentHeaderModel  - AS3 ADEP Workspace

Packagelc.procmgmt.ui.attachments
Classepublic class AttachmentHeaderModel
HéritageAttachmentHeaderModel Inheritance PresentationModel Inheritance EventDispatcher Inheritance Object

Version du langage: ActionScript 3.0
Version du produit: Adobe Digital Enterprise Platform Document Services - Workspace 9
Versions du moteur d’exécution: AIR (unsupported), Flash Player 9, Flash Player 10

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

Eléments de l’API associés



Propriétés publiques
 PropriétéDéfini par
  allowNewAttachments : Boolean
[lecture seule] The indicator that adding Attachments is permitted.
AttachmentHeaderModel
  allowNewNotes : Boolean
[lecture seule] The indicator that adding Notes is permitted.
AttachmentHeaderModel
  attachmentPermissions : ArrayCollection
[lecture seule] An array of the possible combinations of the AttachmentPermissions object that can be associated with an AttachmentHeader component.
AttachmentHeaderModel
 Inheritedconstructor : Object
Référence à l’objet de classe ou à la fonction constructeur d’une occurrence donnée d’un objet.
Object
  errorString : String
[lecture seule] The error string.
AttachmentHeaderModel
  file : FileReference
[lecture seule] The FileReference object used to display the File Browse dialog box.
AttachmentHeaderModel
  fileName : String
[lecture seule] The name of the attachment being added.
AttachmentHeaderModel
  isIncludeAttachments : Boolean
[lecture seule] Indicator to include Attachments in the display.
AttachmentHeaderModel
  isIncludeNotes : Boolean
[lecture seule] Indicator to include Notes in the display.
AttachmentHeaderModel
  note : String
[lecture seule] The text contained in the note.
AttachmentHeaderModel
  permissionIndex : int
[lecture seule] 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
[lecture seule] The name of the state the current view is in.
PresentationModel
  task : lc.procmgmt.domain:Task
[lecture seule] The process management task that the attachments are associated with.
AttachmentHeaderModel
  taskACL : lc.procmgmt.domain:TaskACL
[lecture seule] The TaskACL object associated with the current task.
AttachmentHeaderModel
  title : String
[lecture seule] The text contained in the note title.
AttachmentHeaderModel
Méthodes publiques
 MéthodeDéfini par
  
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
Enregistre un objet écouteur d’événement auprès d’un objet EventDispatcher afin que l’écouteur soit averti d’un événement.
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
Distribue un événement dans le flux d’événements.
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
Vérifie si des écouteurs sont enregistrés auprès de l’objet EventDispatcher pour un type spécifique d’événement.
EventDispatcher
 Inherited
Indique si la propriété spécifiée d’un objet est définie.
Object
 Inherited
Initializes the presentation model after the view bindings are processed to prevent view bindings from overriding the initial model state.
PresentationModel
 Inherited
Indique si une occurrence de la classe Object figure dans la chaîne de prototype de l’objet spécifié en tant que paramètre.
Object
  
Dispatches when the taskACL property changes on the Task object.
AttachmentHeaderModel
 Inherited
Indique si la propriété spécifiée existe et est énumérable.
Object
 Inherited
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
Supprime un écouteur de l’objet 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
Définit la disponibilité d’une propriété dynamique pour les opérations en boucle.
Object
 Inherited
Renvoie la représentation de chaîne de cet objet, formatée selon les paramètres régionaux en vigueur.
Object
 Inherited
Renvoie la représentation sous forme de chaîne de l’objet spécifié.
Object
 Inherited
Renvoie la valeur primitive de l’objet spécifié.
Object
 Inherited
Vérifie si un écouteur d’événement est enregistré auprès de cet objet EventDispatcher ou de ses ancêtres pour le type d’événement spécifié.
EventDispatcher
Méthodes protégées
 MéthodeDéfini par
 Inherited
setState(newState:String):void
Sets the state property to a new value and causes a PropertyChangeEvent event.
PresentationModel
Evénements
 Evénement Synthèse Défini par
 Inherited[Evénement de diffusion] Distribué lorsque l’application Flash Player obtient le focus du système d’exploitation et devient active.EventDispatcher
 Inherited[Evénement de diffusion] Distribué lorsque l’application Flash Player ou AIR perd le focus du système d’exploitation et devient inactive.EventDispatcher
Constantes publiques
 ConstanteDéfini par
  NOTE_TITLE_MAXSIZE : int = 255
[statique] A special value that indicates the maximum number of characters for a title in a note.
AttachmentHeaderModel
  STATE_ADD_ATTACHMENT : String = "addAttachmentState"
[statique] A special value that indicates that it is possible to add notes and attachments.
AttachmentHeaderModel
  STATE_ADD_ATTACHMENT_ONLY : String = "addAttachmentOnlyState"
[statique] A special value that indicates that it is possible to add only attachments.
AttachmentHeaderModel
  STATE_ADD_NOTE : String = "addNoteState"
[statique] 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"
[statique] A special value that indicates that it is possible to add a note.
AttachmentHeaderModel
Détails de la propriété

allowNewAttachments

propriété
allowNewAttachments:Boolean  [lecture seule]

Version du langage: ActionScript 3.0
Version du produit: Adobe Digital Enterprise Platform Document Services - Workspace 9.0.0.1
Versions du moteur d’exécution: AIR (unsupported), Flash Player 9, Flash Player 10

The indicator that adding Attachments is permitted.

Cette propriété peut être utilisée comme source de la liaison de données. Lorsque cette propriété est modifiée, elle distribue l’événement propertyChange .



Implémentation
    public function get allowNewAttachments():Boolean

allowNewNotes

propriété 
allowNewNotes:Boolean  [lecture seule]

Version du langage: ActionScript 3.0
Version du produit: Adobe Digital Enterprise Platform Document Services - Workspace 9.0.0.1
Versions du moteur d’exécution: AIR (unsupported), Flash Player 9, Flash Player 10

The indicator that adding Notes is permitted.

Cette propriété peut être utilisée comme source de la liaison de données. Lorsque cette propriété est modifiée, elle distribue l’événement propertyChange .



Implémentation
    public function get allowNewNotes():Boolean

attachmentPermissions

propriété 
attachmentPermissions:ArrayCollection  [lecture seule]

Version du langage: ActionScript 3.0
Version du produit: Adobe Digital Enterprise Platform Document Services - Workspace 9
Versions du moteur d’exécution: 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.

Cette propriété peut être utilisée comme source de la liaison de données. Lorsque cette propriété est modifiée, elle distribue l’événement propertyChange .



Implémentation
    public function get attachmentPermissions():ArrayCollection

errorString

propriété 
errorString:String  [lecture seule]

Version du langage: ActionScript 3.0
Version du produit: Adobe Digital Enterprise Platform Document Services - Workspace 9
Versions du moteur d’exécution: AIR (unsupported), Flash Player 9, Flash Player 10

The error string.

Cette propriété peut être utilisée comme source de la liaison de données. Lorsque cette propriété est modifiée, elle distribue l’événement propertyChange .



Implémentation
    public function get errorString():String

file

propriété 
file:FileReference  [lecture seule]

Version du langage: ActionScript 3.0
Version du produit: Adobe Digital Enterprise Platform Document Services - Workspace 9
Versions du moteur d’exécution: AIR (unsupported), Flash Player 9, Flash Player 10

The FileReference object used to display the File Browse dialog box.

Cette propriété peut être utilisée comme source de la liaison de données. Lorsque cette propriété est modifiée, elle distribue l’événement propertyChange .



Implémentation
    public function get file():FileReference

fileName

propriété 
fileName:String  [lecture seule]

Version du langage: ActionScript 3.0
Version du produit: Adobe Digital Enterprise Platform Document Services - Workspace 9
Versions du moteur d’exécution: AIR (unsupported), Flash Player 9, Flash Player 10

The name of the attachment being added.

Cette propriété peut être utilisée comme source de la liaison de données. Lorsque cette propriété est modifiée, elle distribue l’événement propertyChange .



Implémentation
    public function get fileName():String

isIncludeAttachments

propriété 
isIncludeAttachments:Boolean  [lecture seule]

Version du langage: ActionScript 3.0
Version du produit: Adobe Digital Enterprise Platform Document Services - Workspace 9
Versions du moteur d’exécution: AIR (unsupported), Flash Player 9, Flash Player 10

Indicator to include Attachments in the display.

Cette propriété peut être utilisée comme source de la liaison de données. Lorsque cette propriété est modifiée, elle distribue l’événement propertyChange .



Implémentation
    public function get isIncludeAttachments():Boolean

isIncludeNotes

propriété 
isIncludeNotes:Boolean  [lecture seule]

Version du langage: ActionScript 3.0
Version du produit: Adobe Digital Enterprise Platform Document Services - Workspace 9
Versions du moteur d’exécution: AIR (unsupported), Flash Player 9, Flash Player 10

Indicator to include Notes in the display.

Cette propriété peut être utilisée comme source de la liaison de données. Lorsque cette propriété est modifiée, elle distribue l’événement propertyChange .



Implémentation
    public function get isIncludeNotes():Boolean

note

propriété 
note:String  [lecture seule]

Version du langage: ActionScript 3.0
Version du produit: Adobe Digital Enterprise Platform Document Services - Workspace 9
Versions du moteur d’exécution: AIR (unsupported), Flash Player 9, Flash Player 10

The text contained in the note.

Cette propriété peut être utilisée comme source de la liaison de données. Lorsque cette propriété est modifiée, elle distribue l’événement propertyChange .



Implémentation
    public function get note():String

permissionIndex

propriété 
permissionIndex:int  [lecture seule]

Version du langage: ActionScript 3.0
Version du produit: Adobe Digital Enterprise Platform Document Services - Workspace 9
Versions du moteur d’exécution: 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.

Cette propriété peut être utilisée comme source de la liaison de données. Lorsque cette propriété est modifiée, elle distribue l’événement propertyChange .



Implémentation
    public function get permissionIndex():int

task

propriété 
task:lc.procmgmt.domain:Task  [lecture seule]

Version du langage: ActionScript 3.0
Version du produit: Adobe Digital Enterprise Platform Document Services - Workspace 9
Versions du moteur d’exécution: AIR (unsupported), Flash Player 9, Flash Player 10

The process management task that the attachments are associated with.

Cette propriété peut être utilisée comme source de la liaison de données. Lorsque cette propriété est modifiée, elle distribue l’événement propertyChange .



Implémentation
    public function get task():lc.procmgmt.domain:Task

taskACL

propriété 
taskACL:lc.procmgmt.domain:TaskACL  [lecture seule]

Version du langage: ActionScript 3.0
Version du produit: Adobe Digital Enterprise Platform Document Services - Workspace 9
Versions du moteur d’exécution: 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.

Cette propriété peut être utilisée comme source de la liaison de données. Lorsque cette propriété est modifiée, elle distribue l’événement propertyChange .



Implémentation
    public function get taskACL():lc.procmgmt.domain:TaskACL

Eléments de l’API associés

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

title

propriété 
title:String  [lecture seule]

Version du langage: ActionScript 3.0
Version du produit: Adobe Digital Enterprise Platform Document Services - Workspace 9
Versions du moteur d’exécution: AIR (unsupported), Flash Player 9, Flash Player 10

The text contained in the note title.

Cette propriété peut être utilisée comme source de la liaison de données. Lorsque cette propriété est modifiée, elle distribue l’événement propertyChange .



Implémentation
    public function get title():String
Détails du constructeur

AttachmentHeaderModel

()Constructeur
public function AttachmentHeaderModel()

Version du langage: ActionScript 3.0
Version du produit: Adobe Digital Enterprise Platform Document Services - Workspace 9
Versions du moteur d’exécution: AIR (unsupported), Flash Player 9, Flash Player 10

Constructor.

Détails de la méthode

addAttachment

()méthode
public function addAttachment():void

Version du langage: ActionScript 3.0
Version du produit: Adobe Digital Enterprise Platform Document Services - Workspace 9
Versions du moteur d’exécution: 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

()méthode 
public function addNote():void

Version du langage: ActionScript 3.0
Version du produit: Adobe Digital Enterprise Platform Document Services - Workspace 9
Versions du moteur d’exécution: 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

()méthode 
public function clearFields():void

Version du langage: ActionScript 3.0
Version du produit: Adobe Digital Enterprise Platform Document Services - Workspace 9
Versions du moteur d’exécution: 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

()méthode 
public function getAttachmentFile():void

Version du langage: ActionScript 3.0
Version du produit: Adobe Digital Enterprise Platform Document Services - Workspace 9
Versions du moteur d’exécution: 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

()méthode 
public function onTaskChangeHandler(taskACL:lc.procmgmt.domain:TaskACL):void

Version du langage: ActionScript 3.0
Version du produit: Adobe Digital Enterprise Platform Document Services - Workspace 9
Versions du moteur d’exécution: 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.

Paramètres

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

selectLabel

()méthode 
public function selectLabel(item:Object):String

Version du langage: ActionScript 3.0
Version du produit: Adobe Digital Enterprise Platform Document Services - Workspace 9
Versions du moteur d’exécution: AIR (unsupported), Flash Player 9, Flash Player 10

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

Paramètres

item:Object — The permissions of an attachment.

Valeur renvoyée
String — The associated label of an item.

setAddAttachmentState

()méthode 
public function setAddAttachmentState():void

Version du langage: ActionScript 3.0
Version du produit: Adobe Digital Enterprise Platform Document Services - Workspace 9
Versions du moteur d’exécution: 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

()méthode 
public function setAddNoteState():void

Version du langage: ActionScript 3.0
Version du produit: Adobe Digital Enterprise Platform Document Services - Workspace 9
Versions du moteur d’exécution: 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.

Détails de la constante

NOTE_TITLE_MAXSIZE

Constante
public static const NOTE_TITLE_MAXSIZE:int = 255

Version du langage: ActionScript 3.0
Version du produit: Adobe Digital Enterprise Platform Document Services - Workspace 9
Versions du moteur d’exécution: 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

Constante 
public static const STATE_ADD_ATTACHMENT:String = "addAttachmentState"

Version du langage: ActionScript 3.0
Version du produit: Adobe Digital Enterprise Platform Document Services - Workspace 9
Versions du moteur d’exécution: 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

Constante 
public static const STATE_ADD_ATTACHMENT_ONLY:String = "addAttachmentOnlyState"

Version du langage: ActionScript 3.0
Version du produit: Adobe Digital Enterprise Platform Document Services - Workspace 9
Versions du moteur d’exécution: AIR (unsupported), Flash Player 9, Flash Player 10

A special value that indicates that it is possible to add only attachments.

STATE_ADD_NOTE

Constante 
public static const STATE_ADD_NOTE:String = "addNoteState"

Version du langage: ActionScript 3.0
Version du produit: Adobe Digital Enterprise Platform Document Services - Workspace 9
Versions du moteur d’exécution: 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

Constante 
public static const STATE_ADD_NOTE_ONLY:String = "addNoteOnlyState"

Version du langage: ActionScript 3.0
Version du produit: Adobe Digital Enterprise Platform Document Services - Workspace 9
Versions du moteur d’exécution: AIR (unsupported), Flash Player 9, Flash Player 10

A special value that indicates that it is possible to add a note.





[ X ]Pourquoi existe-t-il du contenu en anglais ?
Certaines parties du Guide de référence ActionScript 3.0 sont en anglais

Tout le contenu du Guide de référence ActionScript 3.0 n’a pas été traduit dans toutes les langues. Si un élément de langage n’est pas traduit, il s’affiche en anglais. Par exemple, la classe ga.controls.HelpBox n’est traduite dans aucune langue. Ainsi, dans la version française du guide de référence, la classe ga.controls.HelpBox apparaît en anglais.