ca.odell.glazedlists.swing
Class MutableTableModelEvent
java.lang.Object
java.util.EventObject
javax.swing.event.TableModelEvent
ca.odell.glazedlists.swing.MutableTableModelEvent
- All Implemented Interfaces:
- java.io.Serializable
public final class MutableTableModelEvent
- extends javax.swing.event.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
Fields inherited from class javax.swing.event.TableModelEvent |
ALL_COLUMNS, column, DELETE, firstRow, HEADER_ROW, INSERT, lastRow, type, UPDATE |
Fields inherited from class java.util.EventObject |
source |
Constructor Summary |
MutableTableModelEvent(javax.swing.table.TableModel source)
Constructors simply call the same on the superclass. |
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. |
Methods inherited from class javax.swing.event.TableModelEvent |
getColumn, getFirstRow, getLastRow, getType |
Methods inherited from class java.util.EventObject |
getSource, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
MutableTableModelEvent
public MutableTableModelEvent(javax.swing.table.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 pbuilder at 2013-07-04 20:55