AssignmentViewColumn

Inheritance: java.lang.Object, com.aspose.tasks.ViewColumn

public class AssignmentViewColumn extends ViewColumn

Project’s view class.

Constructors

ConstructorDescription
AssignmentViewColumn(String name, int width, AssignmentToColumnTextConverter converter)Initializes a new instance of the AssignmentViewColumn class.

Methods

MethodDescription
getColumnText(ResourceAssignment assignment)Converts current resource assignment to the column text.
getField()Returns column field.
setField(int value)Sets column field.

AssignmentViewColumn(String name, int width, AssignmentToColumnTextConverter converter)

public AssignmentViewColumn(String name, int width, AssignmentToColumnTextConverter converter)

Initializes a new instance of the AssignmentViewColumn class.

Parameters:

ParameterTypeDescription
namejava.lang.StringColumn’s name.
widthintColumn’s width in pixels.
converterAssignmentToColumnTextConverterAssignment data to column text converter.

getColumnText(ResourceAssignment assignment)

public String getColumnText(ResourceAssignment assignment)

Converts current resource assignment to the column text.

Parameters:

ParameterTypeDescription
assignmentResourceAssignmentCurrent assignment.

Returns: java.lang.String - The column text.

getField()

public int getField()

Returns column field. Field.

Returns: int - column field value.

setField(int value)

public void setField(int value)

Sets column field.

Parameters:

ParameterTypeDescription
valueintcolumn field value.