ActionScript® 3.0 Reference for the Adobe® Flash® Platform
Home  |  Show Packages and Classes List |  Packages  |  Classes  |  What's New  |  Index  |  Appendixes
com.adobe.solutions.rca.domain.common 

IGanttDataItem  - AS3 Review, Commenting, and Approval

Packagecom.adobe.solutions.rca.domain.common
Interfacepublic interface IGanttDataItem

Language Version: ActionScript 3.0
Product Version: Review, Commenting, and Approval Building Block 10.0
Runtime Versions: Flash Player 10.2, AIR (unsupported)

This interface defines the data item that can be displayed in a GanttChart.



Public Properties
 PropertyDefined By
  ganttItems : ArrayCollection
[read-only] A collection of the displayable children that are displayed in the Gantt chart if showChildren flag is set to True.
IGanttDataItem
  itemEndDate : Date
[read-only] End date of the item.
IGanttDataItem
  itemName : String
[read-only] Name of the item.
IGanttDataItem
  itemStartDate : Date
[read-only] Start date of the item.
IGanttDataItem
  itemState : String
[read-only] State of the item.
IGanttDataItem
  itemStatus : String
[read-only] Status of the item.
IGanttDataItem
  itemType : String
[read-only] Type of item.
IGanttDataItem
  operationList : ArrayCollection
[read-only] A collection of operations that are available to a user through the context menu in the Gantt chart.
IGanttDataItem
  showChildren : Boolean
A Boolean flag to determine if the children need to be displayed.
IGanttDataItem
  showParent : Boolean
A Boolean flag to determine if the parent needs to be displayed.
IGanttDataItem
Public Methods
 MethodDefined By
  
A Boolean function to determine if the item has displayable children.
IGanttDataItem
Property Detail

ganttItems

property
ganttItems:ArrayCollection  [read-only]

Language Version: ActionScript 3.0
Product Version: Review, Commenting, and Approval Building Block 10.0
Runtime Versions: Flash Player 10.2, AIR (unsupported)

A collection of the displayable children that are displayed in the Gantt chart if showChildren flag is set to True.

This property can be used as the source for data binding. When this property is modified, it dispatches the ganttItemsChanged event.



Implementation
    public function get ganttItems():ArrayCollection

Related API Elements

this.showChildren

itemEndDate

property 
itemEndDate:Date  [read-only]

Language Version: ActionScript 3.0
Product Version: Review, Commenting, and Approval Building Block 10.0
Runtime Versions: Flash Player 10.2, AIR (unsupported)

End date of the item.

This property can be used as the source for data binding. When this property is modified, it dispatches the ganttDataItemDurationChanged event.



Implementation
    public function get itemEndDate():Date

itemName

property 
itemName:String  [read-only]

Language Version: ActionScript 3.0
Product Version: Review, Commenting, and Approval Building Block 10.0
Runtime Versions: Flash Player 10.2, AIR (unsupported)

Name of the item.

This property can be used as the source for data binding. When this property is modified, it dispatches the ganttDataItemNameChanged event.



Implementation
    public function get itemName():String

itemStartDate

property 
itemStartDate:Date  [read-only]

Language Version: ActionScript 3.0
Product Version: Review, Commenting, and Approval Building Block 10.0
Runtime Versions: Flash Player 10.2, AIR (unsupported)

Start date of the item.

This property can be used as the source for data binding. When this property is modified, it dispatches the ganttDataItemDurationChanged event.



Implementation
    public function get itemStartDate():Date

itemState

property 
itemState:String  [read-only]

Language Version: ActionScript 3.0
Product Version: Review, Commenting, and Approval Building Block 10.0
Runtime Versions: Flash Player 10.2, AIR (unsupported)

State of the item.

This property can be used as the source for data binding. When this property is modified, it dispatches the ganttDataItemStateChanged event.



Implementation
    public function get itemState():String

itemStatus

property 
itemStatus:String  [read-only]

Language Version: ActionScript 3.0
Product Version: Review, Commenting, and Approval Building Block 10.0
Runtime Versions: Flash Player 10.2, AIR (unsupported)

Status of the item.

This property can be used as the source for data binding. When this property is modified, it dispatches the ganttDataItemStatusChanged event.



Implementation
    public function get itemStatus():String

itemType

property 
itemType:String  [read-only]

Language Version: ActionScript 3.0
Product Version: Review, Commenting, and Approval Building Block 10.0
Runtime Versions: Flash Player 10.2, AIR (unsupported)

Type of item.



Implementation
    public function get itemType():String

operationList

property 
operationList:ArrayCollection  [read-only]

Language Version: ActionScript 3.0
Product Version: Review, Commenting, and Approval Building Block 10.0
Runtime Versions: Flash Player 10.2, AIR (unsupported)

A collection of operations that are available to a user through the context menu in the Gantt chart.



Implementation
    public function get operationList():ArrayCollection

showChildren

property 
showChildren:Boolean

Language Version: ActionScript 3.0
Product Version: Review, Commenting, and Approval Building Block 10.0
Runtime Versions: Flash Player 10.2, AIR (unsupported)

A Boolean flag to determine if the children need to be displayed.



Implementation
    public function get showChildren():Boolean
    public function set showChildren(value:Boolean):void

showParent

property 
showParent:Boolean

Language Version: ActionScript 3.0
Product Version: Review, Commenting, and Approval Building Block 10.0
Runtime Versions: Flash Player 10.2, AIR (unsupported)

A Boolean flag to determine if the parent needs to be displayed.



Implementation
    public function get showParent():Boolean
    public function set showParent(value:Boolean):void
Method Detail

hasChildren

()method
public function hasChildren():Boolean

Language Version: ActionScript 3.0
Product Version: Review, Commenting, and Approval Building Block 10.0
Runtime Versions: Flash Player 10.2, AIR (unsupported)

A Boolean function to determine if the item has displayable children.

Returns
Boolean — It returns a True value if there are displayable children.