com.dlsc.flexgantt.model.paging
Interface IPagingModelListener

All Superinterfaces:
java.util.EventListener
All Known Implementing Classes:
AbstractGanttChart, DualGanttChart, GanttChart, PagingControlPanel, PrintGanttChart, SimpleGranularityDualGanttChart, SimpleGranularityGanttChart, TreeTableContainer

public interface IPagingModelListener
extends java.util.EventListener

A listener that can be attached to a paging model. Implementors will be informed about changes occuring in the observed paging model.

Since:
1.0
Author:
Dirk Lemmermann
See Also:
IPagingModel.addPagingModelListener(IPagingModelListener)

Method Summary
 void pageChanged(PagingEvent evt)
          Listener callback method that will be invoked after the page model was changed.
 void pageWillChange(PagingEvent evt)
          Listener callback method that will be invoked before the page model gets changed.
 

Method Detail

pageWillChange

void pageWillChange(PagingEvent evt)
                    throws PagingVetoException
Listener callback method that will be invoked before the page model gets changed. Listeners are free to observe the change and to throw a veto exception if they can not permit the change to the model to continue.

Parameters:
evt - an event object that informs the listeners about the change that is about to happen
Throws:
PagingVetoException - if the listener objects to the change to the model
Since:
1.0

pageChanged

void pageChanged(PagingEvent evt)
Listener callback method that will be invoked after the page model was changed.

Parameters:
evt - an event object that informs the listeners about the change that has happened
Since:
1.0