|
||||||||||
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
public abstract class AbstractListTypeTableModel
This class represents an AbstractListTypeTableModel which is derived from the AbstractTableModel. The AbstractListTypeTableModel acts as a TableModel for tables of Visualizers that hold child Visualizers in a list.
Constructor Summary | |
---|---|
AbstractListTypeTableModel(ListType listType)
AbstractListTypeTableModel constructor. |
Method Summary | |
---|---|
void |
domChanged(DOMChangeEvent event)
Manages DOMChangeEvents for this visualizer. |
java.lang.Class |
getColumnClass(int columnIndex)
Gets the class of the type at the required column position. |
abstract int |
getColumnCount()
Gets the number of columns of the current table. |
abstract java.lang.String |
getColumnName(int column)
Gets the name of the required column. |
ListType |
getList()
Gets the current list type. |
int |
getRowCount()
Gets the number of rows of the current table. |
Type |
getType(int rowIndex)
Gets the type at the required row position. |
abstract java.lang.Object |
getValueAt(int rowIndex,
int columnIndex)
Gets the value of the required table position. |
boolean |
isCellEditable(int row,
int column)
Defines if the required table cell is editable or not. |
abstract void |
setValueAt(java.lang.Object aValue,
int rowIndex,
int columnIndex)
Sets a value at the required table position. |
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 AbstractListTypeTableModel(ListType listType)
listType
- a listType that needs the AbstractListTypeTableModelMethod Detail |
---|
public void domChanged(DOMChangeEvent event)
domChanged
in interface DOMChangeListener
event
- a DOMChangeEvent that occuredpublic java.lang.Class getColumnClass(int columnIndex)
getColumnClass
in interface javax.swing.table.TableModel
getColumnClass
in class javax.swing.table.AbstractTableModel
columnIndex
- the index of the column
public abstract int getColumnCount()
getColumnCount
in interface javax.swing.table.TableModel
public abstract java.lang.String getColumnName(int column)
getColumnName
in interface javax.swing.table.TableModel
getColumnName
in class javax.swing.table.AbstractTableModel
public ListType getList()
public int getRowCount()
getRowCount
in interface javax.swing.table.TableModel
public Type getType(int rowIndex)
rowIndex
- row position
public abstract java.lang.Object getValueAt(int rowIndex, int columnIndex)
getValueAt
in interface javax.swing.table.TableModel
rowIndex
- row positioncolumnIndex
- column position
public boolean isCellEditable(int row, int column)
isCellEditable
in interface javax.swing.table.TableModel
isCellEditable
in class javax.swing.table.AbstractTableModel
row
- row positioncolumn
- column position
public abstract void setValueAt(java.lang.Object aValue, int rowIndex, int columnIndex)
setValueAt
in interface javax.swing.table.TableModel
setValueAt
in class javax.swing.table.AbstractTableModel
aValue
- a new value to be setrowIndex
- row positioncolumnIndex
- column position
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |