com.eliad.model
Interface SpanModel

All Known Subinterfaces:
CollectionSpanModel, DirectSpanModel, QuerySpanModel
All Known Implementing Classes:
AbstractSpanModel, NullSpanModel

public interface SpanModel

The model of overspanning information between cells of a rectangular array. A (1,1) span is still considered a span.

Actually, we have here no methods directly concerned by spans! They will be defined in one of the extending interfaces, DirectSpanModel, and QuerySpanModel

Version:
0.90 00/04/08
Author:
Patrick Mérissert-Coffinières

Method Summary
 void addSpanModelListener(SpanModelListener l)
          Adds a listener to the list that's notified each time a change to the span model occurs.
 void removeSpanModelListener(SpanModelListener l)
          Removes a listener from the list that's notified each time a change to the span model occurs.
 

Method Detail

addSpanModelListener

public void addSpanModelListener(SpanModelListener l)
Adds a listener to the list that's notified each time a change to the span model occurs. This is part of the SpanModelEventSource contract, and should respect an obvious relation with the removeXXX and fireXXX functions.
Parameters:
l - the SpanModelListener
See Also:
SpanModelEvent, SpanModelListener

removeSpanModelListener

public void removeSpanModelListener(SpanModelListener l)
Removes a listener from the list that's notified each time a change to the span model occurs.
Parameters:
l - the SpanModelListener
See Also:
SpanModelEvent, SpanModelListener