|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.owasp.webscarab.util.swing.ColumnDataModel
public abstract class ColumnDataModel
Represents a column of data, which can be looked up using a specific Object as a key
| Field Summary | |
|---|---|
protected javax.swing.event.EventListenerList |
_listenerList
Maintains the list of listeners |
| Constructor Summary | |
|---|---|
protected |
ColumnDataModel()
Creates a new ColumnDataModel |
| Method Summary | |
|---|---|
void |
addColumnDataListener(ColumnDataListener l)
Adds a listener to the column model |
void |
fireValueChanged(java.lang.Object key)
notifies listeners that a single value has changed, and that the composing table should update its cells |
void |
fireValuesChanged()
notifies listeners that all values in the column have changed, and that the composing table should update its cells |
java.lang.Class |
getColumnClass()
Used by the "composing" table model to determine what the class of the column objects is. |
abstract java.lang.String |
getColumnName()
used to determine the name of this column |
abstract java.lang.Object |
getValue(java.lang.Object key)
Used to determine the value of the particular cell of the column, corresponding to the supplied key object |
void |
removeColumnDataListener(ColumnDataListener l)
removes a listener from the column model |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected javax.swing.event.EventListenerList _listenerList
| Constructor Detail |
|---|
protected ColumnDataModel()
| Method Detail |
|---|
public java.lang.Class getColumnClass()
public abstract java.lang.String getColumnName()
public abstract java.lang.Object getValue(java.lang.Object key)
key - the "index" object
public void addColumnDataListener(ColumnDataListener l)
l - the listener to addpublic void removeColumnDataListener(ColumnDataListener l)
l - the listener to removepublic void fireValueChanged(java.lang.Object key)
key - the index object that has changedpublic void fireValuesChanged()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||