|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.eliad.model.AbstractGenericModel | +--com.eliad.model.AbstractSpanModel
A base for SpanModel
, providing a standard handling
of listeners
Fields inherited from class com.eliad.model.AbstractGenericModel |
listeners_ |
Constructor Summary | |
AbstractSpanModel()
|
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 |
fireSpanAdded(int anchorRow,
int anchorColumn,
int newRowCount,
int newColumnCount)
Forwards the given notification event to all SpanModelListeners that registered
themselves as listeners for this table model. |
void |
fireSpanColumnsDeleted(int firstColumn,
int columnCount)
Forwards a "columns removed" notification event to all SpanModelListeners that registered
themselves as listeners for this span model. |
void |
fireSpanColumnsInserted(int firstColumn,
int columnCount)
Forwards a "columns added" notification event to all SpanModelListeners that registered
themselves as listeners for this span model. |
void |
fireSpanModelChanged()
Forwards the given notification event to all SpanModelListeners that registered
themselves as listeners for this table model. |
void |
fireSpanRemoved(int anchorRow,
int anchorColumn,
int oldRowCount,
int oldColumnCount)
Forwards the given notification event to all SpanModelListeners that registered
themselves as listeners for this table model. |
void |
fireSpanRowsDeleted(int firstRow,
int rowCount)
Forwards a "rows removed" notification event to all SpanModelListeners that registered
themselves as listeners for this span model. |
void |
fireSpanRowsInserted(int firstRow,
int rowCount)
Forwards a "rows added" notification event to all SpanModelListeners that registered
themselves as listeners for this span model. |
protected void |
fireSpanStructureChanged(int type,
int first,
int count)
Forwards a "structure incrementally changed" notification event to all SpanModelListeners that registered
themselves as listeners for this span model. |
void |
fireSpanUpdated(int anchorRow,
int anchorColumn,
int oldRowCount,
int oldColumnCount,
int newRowCount,
int newColumnCount)
Forwards the given notification event to all SpanModelListeners that registered
themselves as listeners for this table model. |
protected void |
propagateDataChange(SpanModelEvent e)
Implements the mechanism thats fires an event-oriented data change. |
protected void |
propagateModelChange(SpanModelEvent e)
Implements the mechanism that fires an event-oriented model change. |
protected void |
propagateStructureChange(SpanModelEvent e)
this method implements the mechanism to fire a event oriented structure changed. |
void |
removeSpanModelListener(SpanModelListener l)
Removes a listener from the list that's notified each time a change to the data model occurs. |
Methods inherited from class com.eliad.model.AbstractGenericModel |
getListenerCount,
getListeners |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public AbstractSpanModel()
Method Detail |
public void addSpanModelListener(SpanModelListener l)
l
- the SpanModelListenerpublic void removeSpanModelListener(SpanModelListener l)
l
- the SpanModelListenerprotected void propagateDataChange(SpanModelEvent e)
protected void propagateModelChange(SpanModelEvent e)
protected void propagateStructureChange(SpanModelEvent e)
public void fireSpanModelChanged()
SpanModelListeners
that registered
themselves as listeners for this table model.addSpanModelListener(com.eliad.model.SpanModelListener)
,
SpanModelEvent
,
EventListenerList
protected void fireSpanStructureChanged(int type, int first, int count)
SpanModelListeners
that registered
themselves as listeners for this span model.addSpanModelListener(com.eliad.model.SpanModelListener)
,
SpanModelEvent
,
EventListenerList
public void fireSpanAdded(int anchorRow, int anchorColumn, int newRowCount, int newColumnCount)
SpanModelListeners
that registered
themselves as listeners for this table model.e
- the event to be forwardedaddSpanModelListener(com.eliad.model.SpanModelListener)
,
SpanModelEvent
,
EventListenerList
public void fireSpanRemoved(int anchorRow, int anchorColumn, int oldRowCount, int oldColumnCount)
SpanModelListeners
that registered
themselves as listeners for this table model.e
- the event to be forwardedaddSpanModelListener(com.eliad.model.SpanModelListener)
,
SpanModelEvent
,
EventListenerList
public void fireSpanUpdated(int anchorRow, int anchorColumn, int oldRowCount, int oldColumnCount, int newRowCount, int newColumnCount)
SpanModelListeners
that registered
themselves as listeners for this table model.e
- the event to be forwardedaddSpanModelListener(com.eliad.model.SpanModelListener)
,
SpanModelEvent
,
EventListenerList
public void fireSpanRowsInserted(int firstRow, int rowCount)
SpanModelListeners
that registered
themselves as listeners for this span model.addSpanModelListener(com.eliad.model.SpanModelListener)
,
SpanModelEvent
,
EventListenerList
public void fireSpanRowsDeleted(int firstRow, int rowCount)
SpanModelListeners
that registered
themselves as listeners for this span model.addSpanModelListener(com.eliad.model.SpanModelListener)
,
SpanModelEvent
,
EventListenerList
public void fireSpanColumnsInserted(int firstColumn, int columnCount)
SpanModelListeners
that registered
themselves as listeners for this span model.addSpanModelListener(com.eliad.model.SpanModelListener)
,
SpanModelEvent
,
EventListenerList
public void fireSpanColumnsDeleted(int firstColumn, int columnCount)
SpanModelListeners
that registered
themselves as listeners for this span model.addSpanModelListener(com.eliad.model.SpanModelListener)
,
SpanModelEvent
,
EventListenerList
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |