org.oddjob.arooa.design.view.multitype
Class AbstractMultiTypeModel

java.lang.Object
  extended by org.oddjob.arooa.design.view.multitype.AbstractMultiTypeModel
All Implemented Interfaces:
MultiTypeModel
Direct Known Subclasses:
MultiTypeDesignModel

public abstract class AbstractMultiTypeModel
extends Object
implements MultiTypeModel

Shared model implementation.

Author:
rob

Constructor Summary
AbstractMultiTypeModel()
           
 
Method Summary
 void addMultiTypeListener(MultiTypeListener listener)
          Add a listener that will receive notification of changes to this model.
protected  void fireRowChanged(int rowIndex)
           
protected  void fireRowInserted(int rowIndex)
           
protected  void fireRowRemoved(int rowIndex)
           
 void removeMultiTypeListener(MultiTypeListener listener)
          Remove a listener.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.oddjob.arooa.design.view.multitype.MultiTypeModel
createRow, getDeleteOption, getRow, getRowCount, getTypeOptions, removeRow, swapRow
 

Constructor Detail

AbstractMultiTypeModel

public AbstractMultiTypeModel()
Method Detail

addMultiTypeListener

public void addMultiTypeListener(MultiTypeListener listener)
Description copied from interface: MultiTypeModel
Add a listener that will receive notification of changes to this model.

Specified by:
addMultiTypeListener in interface MultiTypeModel
Parameters:
listener - The listener.

removeMultiTypeListener

public void removeMultiTypeListener(MultiTypeListener listener)
Description copied from interface: MultiTypeModel
Remove a listener.

Specified by:
removeMultiTypeListener in interface MultiTypeModel
Parameters:
listener - The listener.

fireRowChanged

protected void fireRowChanged(int rowIndex)

fireRowInserted

protected void fireRowInserted(int rowIndex)

fireRowRemoved

protected void fireRowRemoved(int rowIndex)