GanttChartItemBehaviorSet
public class GanttChartItemBehaviorSet : GanttChartItemBehavior
Allows grouping multiple behaviors providing different types of constraints to the items in the managed collection.
-
Undocumented
Declaration
Swift
public init(_ behaviors: [GanttChartItemBehavior] = [])
-
Undocumented
Declaration
Swift
public var behaviors: [GanttChartItemBehavior]
-
Undocumented
Declaration
Swift
public func itemWasAdded(_ item: GanttChartItem, items: [GanttChartItem], dependencies: [GanttChartDependency], schedule: ScheduleDefinition) -> [GanttChartItemUpdateAction]
-
Undocumented
Declaration
Swift
public func itemWasRemoved(_ item: GanttChartItem, items: [GanttChartItem], dependencies: [GanttChartDependency], schedule: ScheduleDefinition) -> [GanttChartItemUpdateAction]
-
Undocumented
Declaration
Swift
public func dependencyWasAdded(_ dependency: GanttChartDependency, items: [GanttChartItem], dependencies: [GanttChartDependency], schedule: ScheduleDefinition) -> [GanttChartItemUpdateAction]
-
Undocumented
Declaration
Swift
public func dependencyWasRemoved(_ dependency: GanttChartDependency, items: [GanttChartItem], dependencies: [GanttChartDependency], schedule: ScheduleDefinition) -> [GanttChartItemUpdateAction]
-
Undocumented
Declaration
Swift
public func timeDidChange(for item: GanttChartItem, from originalValue: TimeRange, up: Bool, down: Bool, items: [GanttChartItem], dependencies: [GanttChartDependency], schedule: ScheduleDefinition) -> [GanttChartItemUpdateAction]
-
Undocumented
Declaration
Swift
public func completionDidChange(for item: GanttChartItem, from originalValue: Double, up: Bool, down: Bool, items: [GanttChartItem], dependencies: [GanttChartDependency], schedule: ScheduleDefinition) -> [GanttChartItemUpdateAction]
-
Undocumented
Declaration
Swift
public func rowDidChange(for item: GanttChartItem, from originalValue: Row, items: [GanttChartItem], dependencies: [GanttChartDependency], schedule: ScheduleDefinition) -> [GanttChartItemUpdateAction]
-
Undocumented
Declaration
Swift
public func expansionDidChange(for item: GanttChartItem, items: [GanttChartItem]) -> [GanttChartItemUpdateAction]
-
classic(hierarchyProvider:aggregatingTime:autoSchedulingApplyingToUpdatingItems:autoSchedulingAggregatingSources:autoSchedulingLagProvider:constraintProvider:preservingDurations:)
Standard Gantt Chart behavior group providing: column enforcement (ensuring single item per row), hierarchical management (with a provider object), auto scheduling features (with an optional lag provider object), and time limiting constraints (with a provider object).
Declaration
Swift
public static func classic( hierarchyProvider: GanttChartItemHierarchyProvider, aggregatingTime: Bool? = nil, autoSchedulingApplyingToUpdatingItems: Bool? = nil, autoSchedulingAggregatingSources: Bool? = nil, autoSchedulingLagProvider: GanttChartDependencyLagProvider? = nil, constraintProvider: GanttChartItemConstraintProvider, preservingDurations: Bool? = nil) -> GanttChartItemBehaviorSet
-
classic(hierarchicalRelations:aggregatingTime:autoSchedulingApplyingToUpdatingItems:autoSchedulingAggregatingSources:autoSchedulingLags:constraints:preservingDurations:)
Standard Gantt Chart behavior group providing: column enforcement (ensuring single item per row), hierarchical management (by setting a predefined relation array), auto scheduling features (by setting an optional predefined lag definition array), and time limiting constraints (by setting a predefined constraint definition array).
Declaration
Swift
public static func classic( hierarchicalRelations: [GanttChartItemHierarchicalRelation] = [], aggregatingTime: Bool? = nil, autoSchedulingApplyingToUpdatingItems: Bool? = nil, autoSchedulingAggregatingSources: Bool? = nil, autoSchedulingLags: [GanttChartDependencyLagDefinition] = [], constraints: [GanttChartItemConstraintDefinition] = [], preservingDurations: Bool? = nil) -> GanttChartItemBehaviorSet
-
Standard Gantt Chart behavior group providing: column enforcement (ensuring single item per row), hierarchical management, auto scheduling features, and time limiting constraints.
Declaration
Swift
public static var classic: GanttChartItemBehaviorSet { get }