|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.table.AbstractTableModel
com.jaxfront.swing.ui.visualizers.AbstractListTypeTableModel
com.jaxfront.swing.ui.visualizers.SimpleTypeListTableModel
public class SimpleTypeListTableModel
This SimpleTypeListTableModel is the ListModel for the SimpleTypeListView
AbstractTableModel
,
Serialized FormConstructor Summary | |
---|---|
SimpleTypeListTableModel(AbstractListType simpleTypeList)
SimpleTypeListTableModel constructor. |
Method Summary | |
---|---|
int |
getColumnCount()
Gets the number of columns of the current table. |
java.lang.String |
getColumnName(int column)
Gets the name of the required column. |
java.lang.Object |
getValueAt(int rowIndex,
int columnIndex)
Returns the value the given row and colum index. |
boolean |
isCellEditable(int row,
int column)
Defines if the required table cell is editable or not. |
void |
setValueAt(java.lang.Object aValue,
int rowIndex,
int columnIndex)
Sets a value at the required table position. |
Methods inherited from class com.jaxfront.swing.ui.visualizers.AbstractListTypeTableModel |
---|
domChanged, getColumnClass, getList, getRowCount, getType |
Methods inherited from class javax.swing.table.AbstractTableModel |
---|
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListener |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimpleTypeListTableModel(AbstractListType simpleTypeList)
simpleTypeList
- the underlying model (type) for this table modelMethod Detail |
---|
public int getColumnCount()
AbstractListTypeTableModel
getColumnCount
in interface javax.swing.table.TableModel
getColumnCount
in class AbstractListTypeTableModel
TableModel.getColumnCount()
public java.lang.String getColumnName(int column)
AbstractListTypeTableModel
getColumnName
in interface javax.swing.table.TableModel
getColumnName
in class AbstractListTypeTableModel
TableModel.getColumnName(int)
public java.lang.Object getValueAt(int rowIndex, int columnIndex)
getValueAt
in interface javax.swing.table.TableModel
getValueAt
in class AbstractListTypeTableModel
rowIndex
- a row indexcolumnIndex
- a column index
public boolean isCellEditable(int row, int column)
AbstractListTypeTableModel
isCellEditable
in interface javax.swing.table.TableModel
isCellEditable
in class AbstractListTypeTableModel
row
- row positioncolumn
- column position
TableModel.isCellEditable(int, int)
public void setValueAt(java.lang.Object aValue, int rowIndex, int columnIndex)
AbstractListTypeTableModel
setValueAt
in interface javax.swing.table.TableModel
setValueAt
in class AbstractListTypeTableModel
aValue
- a new value to be setrowIndex
- row positioncolumnIndex
- column positionTableModel.setValueAt(java.lang.Object, int, int)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |