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