borland Packages  Class Hierarchy  jbcl.dataset Package  Index 

NavigationListener interface

java.util.EventListener
   +----borland.jbcl.dataset.NavigationListener

About the NavigationListener interface

Methods  

Implemented by JdbComboBox, JdbLabel, JdbList, JdbNavComboBox, JdbNavList, JdbNavToolBar, JdbStatusLabel, JdbTable, JdbTextArea, JdbTextField, JdbTextPane, CheckboxControl, ChoiceControl, FieldControl, GridControl, ImageControl, LabelControl, ListControl, LocatorControl, NavigatorControl, StatusBar, TextAreaControl, TextFieldControl, SingletonDataSetManager

This interface is used as a notification that current row position has changed, or navigated, from a row. This is used for data-aware controls so that the UI can respond to the change in cursor location. For example, a status bar can change its display from "1 of 10" to "2 of 10" when the user moves from the first row to the second.


NavigationListener methods

Methods defined in this interface


NavigationListener methods

navigated(borland.jbcl.dataset.NavigationEvent)

  public void navigated(borland.jbcl.dataset.NavigationEvent event)

This is an event to notify listeners that the current row has changed, that a user has moved from one row to another.

Parameters:

event
The event that called the listener, indicating in this case that the current row has been changed.