com.dlsc.flexgantt.model.dateline
Interface IDatelineModelListener

All Superinterfaces:
java.util.EventListener
All Known Implementing Classes:
Dateline, GanttChartStatusBar, LayerContainer, LayerContainerScrollPane, OverviewPalette, PreviewDialog, PrintGanttChart, SimpleDateline

public interface IDatelineModelListener
extends java.util.EventListener

An event listener that can be attached to instances of IDatelineModel. The listener will be informed about such things as time span and time zone changes.

Since:
1.0
Author:
Dirk Lemmermann
See Also:
IDatelineModel.addDatelineModelListener(IDatelineModelListener)

Method Summary
 void datelineModelChanged(DatelineModelEvent evt)
          The listener's callback method that gets invoked when the model's time span or time zone changes.
 void datelineModelWillChange(DatelineModelEvent evt)
          The listener's callback method that gets invoked when the model's time span or time zone will change.
 

Method Detail

datelineModelWillChange

void datelineModelWillChange(DatelineModelEvent evt)
                             throws DatelineModelVetoException
The listener's callback method that gets invoked when the model's time span or time zone will change.

Parameters:
evt - the event that occured on the dateline
Throws:
DatelineModelVetoException - if the listener does not want the change to happen
Since:
1.0

datelineModelChanged

void datelineModelChanged(DatelineModelEvent evt)
The listener's callback method that gets invoked when the model's time span or time zone changes.

Parameters:
evt - the event that occured on the dateline
Since:
1.0