|
Copyright © 2011 Citra Technologies. All Rights Reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.citra.table.span.AbstractSpanModel
public abstract class AbstractSpanModel
AbstractSpanModel provides methods for notifying its listeners.
Field Summary | |
---|---|
protected EventListenerList |
listenerList
the list of SpanModelListeners. |
Constructor Summary | |
---|---|
AbstractSpanModel()
Constructs an AbstractSpanModel. |
Method Summary | |
---|---|
void |
addSpanModelListener(SpanModelListener l)
Adds a SpanModelListener that is notified each time a cell merge or split occurs. |
void |
fireSpanCellDeleted(CellSpan cellSpan)
Notifies listeners that a cell span has been removed. |
void |
fireSpanCellInserted(CellSpan cellSpan)
Notifies listeners that a cell span has been inserted. |
void |
fireSpanCellsUpdated(CellSpan cellSpan)
Notifies listeners that a table's area defined by cellSpan has been updated. |
void |
fireSpanChanged(SpanModelEvent e)
Forward the given notification event to all SpanModelListener that registered themselves as listeners for this span model. |
void |
fireSpanDataChanged()
Notifies listeners that the table's cell spans have been updated. |
void |
removeSpanModelListener(SpanModelListener l)
Removes a SpanModelListener that is notified each time a cell merge or split occurs. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.citra.table.span.SpanModel |
---|
getCellSpanAt |
Field Detail |
---|
protected EventListenerList listenerList
Constructor Detail |
---|
public AbstractSpanModel()
Method Detail |
---|
public void addSpanModelListener(SpanModelListener l)
addSpanModelListener
in interface SpanModel
l
- the SpanModelListener to addpublic void fireSpanCellDeleted(CellSpan cellSpan)
cellSpan
- the cell's span.SpanModelEvent
public void fireSpanCellInserted(CellSpan cellSpan)
cellSpan
- the cell's span.SpanModelEvent
public void fireSpanCellsUpdated(CellSpan cellSpan)
cellSpan
- the cell's span.SpanModelEvent
public void fireSpanChanged(SpanModelEvent e)
e
- the spanModel event.SpanModelEvent
public void fireSpanDataChanged()
SpanModelEvent
public void removeSpanModelListener(SpanModelListener l)
removeSpanModelListener
in interface SpanModel
l
- the SpanModelListener to remove
|
Copyright © 2011 Citra Technologies. All Rights Reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |