|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.swing.table.AbstractTableModel
javax.swing.table.DefaultTableModel
com.lightdev.lib.xml.ui.AttributeTableModel
public class AttributeTableModel
A table model for attributes
| Constructor Summary | |
|---|---|
AttributeTableModel()
constructor |
|
| Method Summary | |
|---|---|
AttributeSet |
getAttributes()
get the attributes in this table model |
int |
getColumnCount()
Returns the number of columns in the model. |
boolean |
isCellEditable(int rowIndex,
int columnIndex)
Returns true if the cell at rowIndex and columnIndex is editable. |
void |
setAttributes(AttributeSet a)
set the attributes of this table model |
| Methods inherited from class javax.swing.table.DefaultTableModel |
|---|
addColumn, addColumn, addColumn, addRow, addRow, getColumnName, getDataVector, getRowCount, getValueAt, insertRow, insertRow, moveRow, newDataAvailable, newRowsAdded, removeRow, rowsRemoved, setColumnCount, setColumnIdentifiers, setColumnIdentifiers, setDataVector, setDataVector, setNumRows, setRowCount, setValueAt |
| Methods inherited from class javax.swing.table.AbstractTableModel |
|---|
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, removeTableModelListener |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AttributeTableModel()
| Method Detail |
|---|
public void setAttributes(AttributeSet a)
a - AttributeSet the attributespublic AttributeSet getAttributes()
public int getColumnCount()
getColumnCount in interface TableModelgetColumnCount in class DefaultTableModel
public boolean isCellEditable(int rowIndex,
int columnIndex)
rowIndex and columnIndex is editable.
isCellEditable in interface TableModelisCellEditable in class DefaultTableModelrowIndex - the row whose value to be queriedcolumnIndex - the column whose value to be queried
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||