Packagelc.task
Classpublic class ToDoModel

The ToDoModel class provides the model implementation for the the ToDo component.

See also

lc.task.ToDo


Public Properties
 PropertyDefined By
  defaultQueueSize : int = 0
The number of tasks that exist in the user's default queue.
ToDoModel
  iconSource : Class
The icon associated with the CSS style name ToDo.
ToDoModel
  listData : AggregatingCollection
A collection of QueueEntryData objects and a SearchTemplateDescriptors component.
ToDoModel
  queuesManager : QueuesManager
The collection of different queues, which is represented by a Queues object, that the user has access to.
ToDoModel
  selectedListItem : Object
The selected entry entry from the listData property.
ToDoModel
  session : SessionMap
[write-only] A SessionMap object that stores infomation relating to the server session.
ToDoModel
Public Methods
 MethodDefined By
  
Constructor.
ToDoModel
  
ToDoModel
  
Setting the selected task causes the QueueEntryData object that contains the selected task to have its details property set to true, and requests the QueueEntryData object to change to the selected task.
ToDoModel
Public Constants
 ConstantDefined By
  STATE_INITIAL : String = "initialState"
[static] The model is set into the initial state when it is first created.
ToDoModel
Property Detail
defaultQueueSizeproperty
public var defaultQueueSize:int = 0

The number of tasks that exist in the user's default queue.

iconSourceproperty 
public var iconSource:Class

The icon associated with the CSS style name ToDo.

listDataproperty 
public var listData:AggregatingCollection

A collection of QueueEntryData objects and a SearchTemplateDescriptors component.

The collection of QueueEntryData objects contain the default queues, user queues, and group queues that a user has access to.

queuesManagerproperty 
public var queuesManager:QueuesManager

The collection of different queues, which is represented by a Queues object, that the user has access to.

See also

selectedListItemproperty 
public var selectedListItem:Object

The selected entry entry from the listData property.

The default behavior for the model is when it is created to identify the user's default queue. The model also uses this property to select the correct queue if a Task object is accessed directly.

sessionproperty 
session:SessionMap  [write-only]

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


Implementation
    public function set session(value:SessionMap):void
Constructor Detail
ToDoModel()Constructor
public function ToDoModel()

Constructor.

Method Detail
initialize()method
public override function initialize():void

selectTask()method 
public function selectTask(task:Task):void

Setting the selected task causes the QueueEntryData object that contains the selected task to have its details property set to true, and requests the QueueEntryData object to change to the selected task.

Parameters

task:Task — Specifies the task to be selected.

Constant Detail
STATE_INITIALConstant
public static const STATE_INITIAL:String = "initialState"

The model is set into the initial state when it is first created.





 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/livecycle/es/sdkHelp/common/langref/lc/task/ToDoModel.html