ca.odell.glazedlists.swing
Class MutableTableModelEvent
java.lang.Object
java.util.EventObject
javax.swing.event.TableModelEvent
ca.odell.glazedlists.swing.MutableTableModelEvent
- All Implemented Interfaces:
- Serializable
public final class MutableTableModelEvent
- extends TableModelEvent
A frequently changing table or a table that changes in several
places simultaneously will cause several TableModelEvents to
be created. This hurts speed. This is a mutable table model
event, so that the object can be recycled.
- Author:
- Jesse Wilson
- See Also:
- Serialized Form
Method Summary |
void |
setAllDataChanged()
Sets the table model event to notify that all table data
has changed. |
void |
setRange(int firstRow,
int lastRow)
Changes this table model event. |
void |
setStructureChanged()
Sets the table model event to notify that the table structure
has changed. |
void |
setType(int type)
|
void |
setValues(int startIndex,
int endIndex,
int listChangeType)
Sets the table model event to reflect the specified changes. |
MutableTableModelEvent
public MutableTableModelEvent(TableModel source)
- Constructors simply call the same on the superclass.
setRange
public void setRange(int firstRow,
int lastRow)
- Changes this table model event. The event must not
be changed while it is being viewed by a listener.
setType
public void setType(int type)
setStructureChanged
public void setStructureChanged()
- Sets the table model event to notify that the table structure
has changed.
setAllDataChanged
public void setAllDataChanged()
- Sets the table model event to notify that all table data
has changed.
setValues
public void setValues(int startIndex,
int endIndex,
int listChangeType)
- Sets the table model event to reflect the specified changes.
Glazed Lists, Copyright © 2003 publicobject.com, O'Dell Engineering.
Documentation build by hbrands at 2015-02-16 14:02