borland Packages  Class Hierarchy  jbcl.view Package  Index 

HeaderListener interface

java.util.EventListener
   +----borland.jbcl.view.HeaderListener

About the HeaderListener interface

Methods  

Implemented by GridControl, GridView, HeaderAdapter

This interface provides the methods to respond to header events. Header event objects are passed to these methods. Which method receives the event object depends on the type of the event. For example, if the event id is START+_RESIZE, the event object is passed to the the headerItemResizing() method, which then responds to the event.

The three methods to implement are the headerItemClicked method, which is called when the header is clicked with the mouse, the headerItemResizing() method, which is called when a header cell is being resized, and the headerItemMoving(), which is called when a header cell is being moved.


HeaderListener methods

Methods defined in this interface


HeaderListener methods

headerItemClicked(borland.jbcl.view.HeaderEvent)

  void headerItemClicked(borland.jbcl.view.HeaderEvent e)
A header item was clicked.

Parameters:

e
The header event.

headerItemMoving(borland.jbcl.view.HeaderEvent)

  void headerItemMoving(borland.jbcl.view.HeaderEvent e)
A header item is being moved.

Parameters:

e
The header event.

headerItemResizing(borland.jbcl.view.HeaderEvent)

  void headerItemResizing(borland.jbcl.view.HeaderEvent e)
A header item is being resized.

Parameters:

e
The header event.