com.aspose.tasks

Interfaces

Classes

Exceptions

com.aspose.tasks

Class GanttChartColumn



  • public class GanttChartColumn
    extends ViewColumn

    Project's view class

    • Constructor Detail

      • GanttChartColumn

        public GanttChartColumn(String name,
                                int width,
                                TaskToColumnTextConverter converter,
                                int field)

        Initializes a new instance of the GanttChartColumn class.

        Parameters:
        name - Column's name.
        width - Column's width in pixels.
        converter - Task data to column text converter.
        field - Column field.
      • GanttChartColumn

        public GanttChartColumn(String name,
                                int width,
                                TaskToColumnTextConverter converter)

        Initializes a new instance of the GanttChartColumn class.

        Parameters:
        name - Column's name.
        width - Column's width in pixels.
        converter - Task data to column text converter.
      • GanttChartColumn

        public GanttChartColumn(int width,
                                int field)

        Initializes a new instance of the GanttChartColumn class.

        Parameters:
        width - Column width in pixels.
        field - Column field.
      • GanttChartColumn

        public GanttChartColumn(String name,
                                int width,
                                int field)

        Initializes a new instance of the GanttChartColumn class.

        Parameters:
        name - Column name.
        width - Column width in pixels.
        field - Column field.
    • Method Detail

      • getField

        public int getField()

        Returns column field. Field.

        Specified by:
        getField in class ViewColumn
        Returns:
        column field value.
      • setField

        public void setField(int value)
        Sets column field.
        Specified by:
        setField in class ViewColumn
        Parameters:
        value - column field value.
      • getColumnText

        public String getColumnText(Task task)

        Converts current task to the column text.

        Parameters:
        task - Current task.
        Returns:
        The column text.