Ontimize 5.2072EN

com.ontimize.gui
Interface DataNavigationListener

All Superinterfaces:
java.util.EventListener
All Known Implementing Classes:
DetailForm, FormManager, InteractionManager

public interface DataNavigationListener
extends java.util.EventListener

Interface that determines the methods that controls the navigation among records of forms. Notifies when a record is going to check to perform the necessary operations if the change is not permitted and notifies when a change was performed.


Method Summary
 void dataChanged(DataNavigationEvent event)
          Notifies that the data in the form has changed.
 boolean dataWillChange(DataNavigationEvent event)
          Called when a form is going to change the status.
 

Method Detail

dataWillChange

public boolean dataWillChange(DataNavigationEvent event)
Called when a form is going to change the status. In order to allow the change, this method must return true.

Parameters:
event -
Returns:
true if the change can be done; false otherwise

dataChanged

public void dataChanged(DataNavigationEvent event)
Notifies that the data in the form has changed.

Parameters:
event -

Ontimize