AssignmentViewColumn
Contents
[
Hide
]Inheritance: java.lang.Object, com.aspose.tasks.ViewColumn
public class AssignmentViewColumn extends ViewColumn
Project’s view class.
Constructors
Constructor | Description |
---|---|
AssignmentViewColumn(String name, int width, AssignmentToColumnTextConverter converter) | Initializes a new instance of the AssignmentViewColumn class. |
Methods
Method | Description |
---|---|
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:
Parameter | Type | Description |
---|---|---|
name | java.lang.String | Column’s name. |
width | int | Column’s width in pixels. |
converter | AssignmentToColumnTextConverter | Assignment data to column text converter. |
getColumnText(ResourceAssignment assignment)
public String getColumnText(ResourceAssignment assignment)
Converts current resource assignment to the column text.
Parameters:
Parameter | Type | Description |
---|---|---|
assignment | ResourceAssignment | Current 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:
Parameter | Type | Description |
---|---|---|
value | int | column field value. |