Class SimpleSaveOptions

    • Constructor Detail

      • SimpleSaveOptions

        public SimpleSaveOptions()
    • Method Detail

      • getSaveFormat

        public final int getSaveFormat()

        Gets the format in which the document will be saved if this save options object is used.

        Returns:
        the SaveFileFormat in which the document will be saved.
      • getTasksComparer

        public final Comparator<Task> getTasksComparer()

        Gets the comparer to sort tasks on Gantt chart and Task Sheet chart.

        Returns:
        the comparer to sort tasks on Gantt chart and Task Sheet chart.
      • setTasksComparer

        public final void setTasksComparer​(Comparator<Task> value)

        Sets the comparer to sort tasks on Gantt chart and Task Sheet chart.

        Parameters:
        value - the comparer to sort tasks on Gantt chart and Task Sheet chart.
      • getTasksFilter

        public final ICondition<Task> getTasksFilter()

        Gets the condition which is used to filter tasks rendered on Gantt, Task Sheet and Task Usage charts.


        If value is not specified the default filter is used which removes non-visible tasks -- i.e. descendant tasks of collapsed tasks.

        Returns:
        the condition which is used to filter tasks rendered on Gantt, Task Sheet and Task Usage charts.
      • setTasksFilter

        public final void setTasksFilter​(ICondition<Task> value)

        Sets the condition which is used to filter tasks rendered on Gantt, Task Sheet and Task Usage charts.


        If value is not specified the default filter is used which removes non-visible tasks -- i.e. descendant tasks of collapsed tasks.

        Parameters:
        value - the condition which is used to filter tasks rendered on Gantt, Task Sheet and Task Usage charts.