new DefSchedulePDM()
The DefSchedulePDM type defines the options to call the Items.SchedulePDM() method.
Members
(static) callHasCycle :boolean
The callHasCycle(exPDMCallHasCycle) field indicates whether the control shows the entire cycle, so the layout can not be completed. The cycleShape(exPDMCycleColor) field specifies shape to apply on cycling-bars (set the callHasCycle field on true, so the chart displays the entire cycle, not just the node that fails to be arranged in the layout).
Type:
- boolean
Example
false {boolean}, no cycle is displayed
true {boolean} or null {null}, the entire cycle is shown with a different shape, as specified by cycleShape field
callHasCycle
(static) criticalPathBarShape :any
The criticalPathBarShape(exPDMCriticalPathBarColor) field specifies shape to apply on critical-path bars (highlights the bars that are part of the critical-path).
The criticalPathBarShape field can be any of the following:
- the shape's name within the exontrol.Shape.Tree or exontrol.Shape namespace
- a CSS color
- a JSON string-representation of an object of exontrol.Def.Shape type, for the column itself
- an object of {normal,hover,click,disabled} type. The normal, hover, click and disabled are objects of exontrol.Def.Shape type
Type:
- any
Example
"" {string} or null {null}, no shape is applied
"red" {string}, fills the object's background in red (CSS color)
'{"fillColor": "red"}' or '{"normal":{"fillColor": "red"}}' {string}, fills the object's background in red (JSON-representation of an object of exontrol.Def.Shape type)
{fillColor: "red"} {object}, fills the object's background in red
{frameColor: "rgb(0,255,0)", frameSize: 2, opacity: 0.5} {object}, shows the object as semi-transparent and displays a green and ticker-frame arround it
"xxx" {string}, indicates that exontrol.Shapes.Tree.xxx or exontrol.Shapes.xxx is applied on the object's background. If the xxx field is missing, no custom shape is applied (no default object's shape is be applied)
exontrol.Shapes.Button {object}, applies the "Button" shape on the object as defined into exontrol.Shapes namespace
criticalPathBarShape
(static) criticalPathLenMethod :number
The criticalPathLenMethod(exPDMCriticalPathLenMethod) field defines the way how the length of the critical path is computed (internal use only).
Type:
- number
(static) criticalPathLinkApp :DisplayLinkType
The criticalPathLinkApp(exPDMCriticalPathLinkColor) field specifies the appearance (color, width, ...) to apply on links of the critical path (highlights the links that are part of the critical-path).
Specifies the CSS color to show links of the critical path, or an object of {type, dir, width, color, arrow, style, startPos, endPos} type as explained below:
- type {exontrol.LinkTypeEnum}, specifies the type of the link as 0 (rectangular), 1 (direct), 2(straight) or 3(round)
- dir {number}, specifies whether the link's direction is shown or hidden as 0 (hidden), 1(shows the direction/arrow where the link begins), 2(shows the direction where the link ends, default) or 3 shows the arrows in both sides
- width {number}, specifies the link's width or size (1 by default)
- color {string}, indicates the link's color (partial-black by default)
- arrow {string}, indicates the arrow's color. If it is missing or not specified the arrow is shown using the link's color (gray by default)
- arrowSize {number}, indicates the arrow's size. If it is missing or not specified the arrow's size is defined by link's width (1 by default) (since 2.2)
- arrowShape {object}, defines an object of exontrol.Def.Shape type to customize the shape of the link's arrow (for instance shows the link's arrow as a circle instead of a triangle) (since 2.2)
- style {array}, specifies the link's dash pattern to show the lines (solid by default)
- startPos {any}, indicates the list of corners of in-element, the link can start from
- endPos {any}, indicates the list of corners of out-element, the link can end to
Type:
Example
"red" {string}, shows the link in red
"#ff0000" {string}, shows the link in red
"rgba(255,0,0,0.5)" {string}, shows the link in partial-red
"rgba(0,0,0,0)", hides the link (transparent-color)
{color: "green", width: 2} {object}, shows the off-link ticker in green
criticalPathLinkApp
(static) criticalPathOffBarShape :any
The criticalPathOffBarShape(exPDMCriticalPathOffBarColor) field specifies shape to apply on non critical-path bars (highlights the bars that are not part of the critical-path).
The criticalPathOffBarShape field can be any of the following:
- the shape's name within the exontrol.Shape.Tree or exontrol.Shape namespace
- a CSS color
- a JSON string-representation of an object of exontrol.Def.Shape type, for the column itself
- an object of {normal,hover,click,disabled} type. The normal, hover, click and disabled are objects of exontrol.Def.Shape type
Type:
- any
Example
"" {string} or null {null}, no shape is applied
"red" {string}, fills the object's background in red (CSS color)
'{"fillColor": "red"}' or '{"normal":{"fillColor": "red"}}' {string}, fills the object's background in red (JSON-representation of an object of exontrol.Def.Shape type)
{fillColor: "red"} {object}, fills the object's background in red
{frameColor: "rgb(0,255,0)", frameSize: 2, opacity: 0.5} {object}, shows the object as semi-transparent and displays a green and ticker-frame arround it
"xxx" {string}, indicates that exontrol.Shapes.Tree.xxx or exontrol.Shapes.xxx is applied on the object's background. If the xxx field is missing, no custom shape is applied (no default object's shape is be applied)
exontrol.Shapes.Button {object}, applies the "Button" shape on the object as defined into exontrol.Shapes namespace
criticalPathOffBarShape
(static) criticalPathOffLinkApp :DisplayLinkType
The criticalPathOffLinkApp(exPDMCriticalPathOffLinkColor) field specifies the appearance (color, width, ...) to apply on links that are not part of the critical path (highlights the links that are part of the critical-path).
Specifies the CSS color to show links that are not part of the critical path, or an object of {type, dir, width, color, arrow, style, startPos, endPos} type as explained below:
- type {exontrol.LinkTypeEnum}, specifies the type of the link as 0 (rectangular), 1 (direct), 2(straight) or 3(round)
- dir {number}, specifies whether the link's direction is shown or hidden as 0 (hidden), 1(shows the direction/arrow where the link begins), 2(shows the direction where the link ends, default) or 3 shows the arrows in both sides
- width {number}, specifies the link's width or size (1 by default)
- color {string}, indicates the link's color (partial-black by default)
- arrow {string}, indicates the arrow's color. If it is missing or not specified the arrow is shown using the link's color (gray by default)
- arrowSize {number}, indicates the arrow's size. If it is missing or not specified the arrow's size is defined by link's width (1 by default) (since 2.2)
- arrowShape {object}, defines an object of exontrol.Def.Shape type to customize the shape of the link's arrow (for instance shows the link's arrow as a circle instead of a triangle) (since 2.2)
- style {array}, specifies the link's dash pattern to show the lines (solid by default)
- startPos {any}, indicates the list of corners of in-element, the link can start from
- endPos {any}, indicates the list of corners of out-element, the link can end to
Type:
Example
"gray" {string}, shows the off-link in gray
"#bebebe" {string}, shows the off-link in gray
"rgba(0,0,0,0.5)" {string}, shows the off-link in partial-black
"rgba(0,0,0,0)", hides the off-link (transparent-color)
{color: "rgb(190,190,190)", style: 2} {object}, shows the off-link dotted in light-gray
criticalPathOffLinkApp
(static) cycleShape :any
The cycleShape(exPDMCycleColor) field specifies shape to apply on cycling-bars (set the callHasCycle field on true, so the chart displays the entire cycle, not just the node that fails to be arranged in the layout).
The cycleShape field can be any of the following:
- the shape's name within the exontrol.Shape.Tree or exontrol.Shape namespace
- a CSS color
- a JSON string-representation of an object of exontrol.Def.Shape type, for the column itself
- an object of {normal,hover,click,disabled} type. The normal, hover, click and disabled are objects of exontrol.Def.Shape type
Type:
- any
Example
"" {string}, null {null}, no shape is applied
"red" {string}, fills the object's background in red (CSS color)
'{"fillColor": "red"}' or '{"normal":{"fillColor": "red"}}' {string}, fills the object's background in red (JSON-representation of an object of exontrol.Def.Shape type)
"xxx" {string}, indicates that exontrol.Shapes.Tree.xxx or exontrol.Shapes.xxx is applied on the object's background. If the xxx field is missing, no custom shape is applied (no default object's shape is be applied)
exontrol.Shapes.Button {object}, applies the "Button" shape on the object as defined into exontrol.Shapes namespace
cycleShape
(static) errorShape :any
The errorShape(exPDMErrorColor) field specifies shape to apply on error-bars (highlights the bars that makes the layout impossible to complete).
The errorShape field can be any of the following:
- the shape's name within the exontrol.Shape.Tree or exontrol.Shape namespace
- a CSS color
- a JSON string-representation of an object of exontrol.Def.Shape type, for the column itself
- an object of {normal,hover,click,disabled} type. The normal, hover, click and disabled are objects of exontrol.Def.Shape type
Type:
- any
Example
"" {string}, null {null}, no shape is applied
"red" {string}, fills the object's background in red (CSS color)
'{"fillColor": "red"}' or '{"normal":{"fillColor": "red"}}' {string}, fills the object's background in red (JSON-representation of an object of exontrol.Def.Shape type)
"xxx" {string}, indicates that exontrol.Shapes.Tree.xxx or exontrol.Shapes.xxx is applied on the object's background. If the xxx field is missing, no custom shape is applied (no default object's shape is be applied)
exontrol.Shapes.Button {object}, applies the "Button" shape on the object as defined into exontrol.Shapes namespace
errorShape
(static) scheduleDate :any
The scheduleDate(exPDMScheduleDate) field specifies the date to start or end the project (valid only if the scheduleType field is 1 or 2).
The type the scheduleDate field supports are:
- scheduleDate {string}, defines the date in string-format as "#MM/DD/YYYY[ HH:mm:ss]#"
- scheduleDate {Date}, indicates a JavaScript date to be copied
- scheduleDate {number} integer value representing the year of the date to be created sch
- eduleDate {null}, indicates the current date and time (equivalent of Now)
Type:
- any
Example
null {null}, the project starts or ends today (depending on scheduleType field)
"#12/1/2020#" {string}, the project starts or ends on Dec 1st, 2020 (depending on scheduleType field)
scheduleDate
(static) scheduleType :number
The scheduleType(exPDMScheduleType) field indicates the type the next SchedulePDM call executes.
Specifies the type the next SchedulePDM call executes, as explained:
- 0 {number}, no effect. The start and end of the project is not fixed, so once a bar is moved the starting or ending point of the project may be variable
- 1 {number}, fixes the start of the project to date indicated by the scheduleDate field (the scheduleDate indicates the start of the project)
- 2 {number}, fixes the end of the project to date indicated by the scheduleDate field (the scheduleDate indicates the end of the project)
Type:
- number
Example
null {null}, defaults to 0, no effect
1 {number}, the scheduleDate indicates the start of the project
scheduleType