|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.cb.cardboard.AbstractCardBoardModel
Abstract CardBoardModel implementation. Provides methods to register remove listeners.
Constructor Summary | |
AbstractCardBoardModel()
|
Method Summary | |
void |
addBoardDataListener(CardBoardModelListener listener)
Adds the specified listener to the instance's listener's list. |
protected void |
fireContentsChanged(CardBoardEvent event)
Fire the specified contents changed event |
protected void |
fireIntervalAdded(CardBoardEvent event)
Fire the specified interval added event |
protected void |
fireIntervalRemoved(CardBoardEvent event)
Fire the specified interval removed event |
void |
removeBoardDataListener(CardBoardModelListener listener)
Removes the specified listener to the instance's listener's list. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.cb.cardboard.CardBoardModel |
getElementAt, getElements, getSize |
Constructor Detail |
public AbstractCardBoardModel()
Method Detail |
public void addBoardDataListener(CardBoardModelListener listener)
addBoardDataListener
in interface CardBoardModel
listener
- the listener to addpublic void removeBoardDataListener(CardBoardModelListener listener)
removeBoardDataListener
in interface CardBoardModel
listener
- the listener to removeprotected final void fireContentsChanged(CardBoardEvent event)
event
- CardBoardModelListener.contentsChanged(org.cb.cardboard.CardBoardEvent)
protected final void fireIntervalAdded(CardBoardEvent event)
event
- CardBoardModelListener.intervalAdded(org.cb.cardboard.CardBoardEvent)
protected final void fireIntervalRemoved(CardBoardEvent event)
event
- CardBoardModelListener.intervalRemoved(org.cb.cardboard.CardBoardEvent)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |