ProjectView

Inheritance: java.lang.Object

public class ProjectView

Project’s view class

Constructors

ConstructorDescription
ProjectView(Iterable<ViewColumn> columns)Initializes a new instance of the ProjectView class.

Methods

MethodDescription
getColumns()Gets the project view columns.
getDefaultAssignmentView()Includes Uid, task name, resource name, work and duration assignment columns.
getDefaultGanttChartView()Includes id, indicators, name, duration, start and finish task columns.
getDefaultResourceSheetView()Includes Uid, resource name, type, material label, initials, group, max units, standard rate, overtime rate, cost per use, accrue at, base calendar and code resource columns.
getDefaultResourceUsageView()Includes Uid, name, start, finish and work resource columns.
getDefaultTaskSheetView()Includes id, indicators, name, duration, start, finish, predecessors and resource names task columns.

ProjectView(Iterable<ViewColumn> columns)

public ProjectView(Iterable<ViewColumn> columns)

Initializes a new instance of the ProjectView class.

Parameters:

ParameterTypeDescription
columnsjava.lang.Iterable<com.aspose.tasks.ViewColumn>A list of the view columns.

getColumns()

public final List<ViewColumn> getColumns()

Gets the project view columns.

Returns: java.util.List<com.aspose.tasks.ViewColumn> - the project view columns.

getDefaultAssignmentView()

public static ProjectView getDefaultAssignmentView()

Includes Uid, task name, resource name, work and duration assignment columns.

Returns: ProjectView - a view which contains a list of AssignmentViewColumn.

getDefaultGanttChartView()

public static ProjectView getDefaultGanttChartView()

Includes id, indicators, name, duration, start and finish task columns.

Returns: ProjectView - a view which contains a list of GanttChartColumn.

getDefaultResourceSheetView()

public static ProjectView getDefaultResourceSheetView()

Includes Uid, resource name, type, material label, initials, group, max units, standard rate, overtime rate, cost per use, accrue at, base calendar and code resource columns.

Returns: ProjectView - a view which contains a list of ResourceViewColumn.

getDefaultResourceUsageView()

public static ProjectView getDefaultResourceUsageView()

Includes Uid, name, start, finish and work resource columns.

Returns: ProjectView - a view which contains a list of ResourceViewColumn.

getDefaultTaskSheetView()

public static ProjectView getDefaultTaskSheetView()

Includes id, indicators, name, duration, start, finish, predecessors and resource names task columns.

Returns: ProjectView - a view which contains a list of GanttChartColumn.