Interface GanttListener
- All Known Implementing Classes:
GanttAdapter
public interface GanttListener
What a
Gantt tells an application about. Extend GanttAdapter to
implement only what is needed.-
Method Summary
Modifier and TypeMethodDescriptionbooleanlinkCreating(Gantt gantt, GanttTask predecessor, GanttTask successor) A link was dragged from one task to another and is about to be made, finish to start.voidtaskChanged(Gantt gantt, GanttTask task) A task was changed by the user and the project has been scheduled again: moved, resized, or given a new progress.booleantaskChanging(Gantt gantt, GanttTask task, long start, long end) A task was dragged or resized and is about to be given new dates, or its progress was dragged, which offers the dates it already has.voidtaskOpened(Gantt gantt, GanttTask task) A task was double tapped, in the table or on the chart.voidtaskSelected(Gantt gantt, GanttTask task) The selection changed.
-
Method Details
-
taskSelected
-
taskOpened
-
taskChanging
A task was dragged or resized and is about to be given new dates, or its progress was dragged, which offers the dates it already has. The project is scheduled again afterwards, so the dates it ends up with are these only where its links and its calendar allow them.
Returns
false to refuse, which leaves the task as it was
-
taskChanged
-
linkCreating
-