org.cb.cardboard
Interface CardBoardModelListener

All Superinterfaces:
java.util.EventListener

public interface CardBoardModelListener
extends java.util.EventListener

An interface that all CardBoardModel listeners must implement.

Version:
$Id: CardBoardModelListener.java 129 2004-04-15 05:00:43Z jerome $
Author:
jerome@coffeebreaks.org - last modified by $LastChangedBy: jerome $

Method Summary
 void contentsChanged(CardBoardEvent e)
          Sent when the contents of the board has changed in a way that's too complex to characterize with the previous methods.
 void intervalAdded(CardBoardEvent e)
          Sent after the indices in the index0,index1 interval have been inserted in the data model.
 void intervalRemoved(CardBoardEvent e)
          Sent after the indices in the index0,index1 interval have been removed from the data model.
 

Method Detail

intervalAdded

public void intervalAdded(CardBoardEvent e)
Sent after the indices in the index0,index1 interval have been inserted in the data model. The new interval includes both index0 and index1.

Parameters:
e - a CardBoardEvent encapsulating the event information

intervalRemoved

public void intervalRemoved(CardBoardEvent e)
Sent after the indices in the index0,index1 interval have been removed from the data model. The interval includes both index0 and index1.

Parameters:
e - a CardBoardEvent encapsulating the event information

contentsChanged

public void contentsChanged(CardBoardEvent e)
Sent when the contents of the board has changed in a way that's too complex to characterize with the previous methods. For example, this is sent when an item has been replaced. Index0 and index1 bracket the change.

Parameters:
e - a CardBoardEvent encapsulating the event information


Copyright © 2004 CoffeeBreaks. All Rights Reserved.