Accessors for class IliDbGantt

Properties

Methods

Description

The IliDbGantt class defines a Gantt chart connected to six data sources. The data sources are as follows.
The scales start from 0 to n where n is an integer. You can use the functions about scales to change the unit and type of scale.
With the inspector, you can define rules to specify the inactive periods for all resources. However, you can also use the IsActivePeriod callback to indicate if a period is inactive. This callback is called when the scales are built.
The identifiers of all objects (resources, activities, ...) must be unique.

TypeNameDescriptionNotes
CallbackactDataSourceNameContains the activities data source. The default value is null.
CallbackactEndMaxColumnNameContains the activity column name for end max. The default value is null.
CallbackactEndMinColumnNameContains the activity column name for end min. The default value is null.
CallbackactIdentifierColumnNameContains the activity column name for identifier. The default value is null.
CallbackactivePeriodColorContains the active period color. The default value is white.
CallbackactLabelColumnNameContains the activity column name for label. The default value is null.
CallbackactStartMaxColumnNameContains the activity column name for start max. The default value is null.
CallbackactStartMinColumnNameContains the activity column name for start min. The default value is null.
CallbackbreakColorContains the break color. The default value is green.
CallbackbrkDataSourceNameContains the breaks data source. The default value is null.
CallbackbrkFromColumnNameContains the break column name for source. The default value is null.
CallbackbrkIdentifierColumnNameContains the break column name for identifier. The default value is null.
CallbackbrkResIdentifierColumnNameContains the break column name for resource identifier. The default value is null.
CallbackbrkToColumnNameContains the break column name for destination. The default value is null.
CallbackcntActIdentifierColumnNameContains the constraint column name for activity identifier. The default value is null.
CallbackcntBackgroundColumnNameContains the constraint column name for background. The default value is null.
CallbackcntCapacityColumnNameContains the constraint column name for capacity. The default value is null.
CallbackcntDataSourceNameContains the constraints data source. The default value is null.
CallbackcntForegroundColumnNameContains the constraint column name for foreground. The default value is null.
CallbackcntIdentifierColumnNameContains the constraint column name for identifier. The default value is null.
CallbackcntResIdentifierColumnNameContains the constraint column name for resource identifier. The default value is null.
CallbackdelimiterColorContains the color of the activity delimiter. The default value is red.
CallbackinactivePeriodColorContains the inactive period color. The default value is gray.
CallbackinteractionDataSourceToGanttContains true if interaction between the data source and the Gantt chart is enabled. The default value is true.
CallbackloaCapacityColumnNameContains the work load curve item column name for capacity. The default value is null.
CallbackloaDataSourceNameContains the work load curve items data source. The default value is null.
CallbackloadColorContains the work load curve color. The default value is red.
CallbackloaFromColumnNameContains the work load curve item column name for source. The default value is null.
CallbackloaResIdentifierColumnNameContains the work load curve item column name for resource identifier. The default value is null.
CallbackloaToColumnNameContains the work load curve item column name for destination. The default value is null.
CallbackobjectNameDoubleClickedContains the object name that has been double-clicked. The default value is null.
CallbackperiodInfoDayContains the day of the month for the current period. This information is valid if the scale type displays the day of the month (the value is between 1 and 31). Otherwise, the value is -1.
CallbackperiodInfoHourContains the hours for the current period. This information is valid if the scale type displays the hours (the value is between 0 and 23). Otherwise, the value is -1.
CallbackperiodInfoMinuteContains the minutes for the current period. This information is valid if the scale type displays the minutes (the value is between 0 and 59). Otherwise, the value is -1.
CallbackperiodInfoMonthContains the month for the current period. This information is valid if the scale type displays the month (the value is between 1 and 12). Otherwise, the value is -1.
CallbackperiodInfoNumericContains the minutes for the current period. The value is valid between 0 and n (where n is greater than 0). This information is valid when the scale type is IliDbGanttScaleTypeNumeric. Otherwise, the value is -1.
CallbackperiodInfoSecondContains the seconds of the current period. This information is valid if the scale type displays the seconds (the value is between 0 and 59). Otherwise, the value is -1.
CallbackperiodInfoWeekDayContains the day of the week for the current period. This information is valid if the scale type displays the day of the week (the value is between 1 and 7 where 1 is Sunday and 7 is Saturday). Otherwise, the value is -1.
CallbackperiodInfoYearContains the year for the current period. This information is valid if the scale type displays the year (the value starts at 0). Otherwise, the value is -1.
CallbackprecedenceColorContains the precedence color. The default value is dark green.
CallbackpreColorColumnNameContains the precedence column name for color. The default value is null.
CallbackpreDataSourceNameContains the precedences data source. The default value is null.
CallbackpreDelayColumnNameContains the precedence column name for delay. The default value is null.
CallbackpreFromColumnNameContains the precedence column name for source. The default value is null.
CallbackpreToColumnNameContains the precedence column name for destination. The default value is null.
CallbackpreTypeColumnNameContains the precedence column name for type. The default value is null.
CallbackpropagateDeletionEventContains true if the deletion events are propagated. The default value is true.
CallbackpropagateUpdateEventContains true if the update events are propagated. The default value is true.
CallbackreadOnlyContains true if the Gantt chart is read-only. The default value is false.
CallbackreferenceMonthContains the reference month for scale. The default value is 1.
CallbackreferenceYearContains the reference year for scale. The default value is 1998.
CallbackresDataSourceNameContains the resources data source. The default value is null.
CallbackresHeightColumnNameContains the resource column name for maximum height or capacity. The default value is null.
CallbackresIdentifierColumnNameContains the resource column name for identifier. The default value is null.
CallbackscaleDisplayFullNameContains true if the name of the month (or the day of the week) is fully displayed on the scale. The default value is true.
CallbackscaleNumericValueContains the numeric value for the current step of the scale. This value can be used to define the step label.
CallbackscaleTypeContains the scale type. The default value is IliDbGanttScaleTypeDate. You must call the refreshAll function to display the new scale.
CallbackscaleUnitContains the scale unit. The default value is IliDbGanttScaleUnitDay.
voidaddDisplayColumnName(String name)Adds a column name to list of the display columns for resources.
IntgetDisplayColumnCount()Returns the displayed column count for resources.
stringgetDisplayColumnName(Int colno)Returns a displayed column name. The default value is an empty string.
voidrefreshAll()Refreshes all.
voidremoveAllDisplayColumns()Removes all displayed columns for resources. If you do not call the addDisplayColumnName function before the next refresh, the displayed columns are not refreshed because the Gantt chart needs at least one displayed column for resources.
voidsetInactivePeriod()Indicates that the current period is inactive. You need to use this function when you define a callback for the isActivePeriod symbol (see dbStudio callbacks from Tools menu).
voidsetScaleNumericLabel(String label)Used to define the current step label. To use this function, you add a callback for the ScaleNumericLabel. This callback is called to define the labels of the scale when the scale type is IliDbGanttScaleTypeNumeric.