|
||||||||||
| 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 AbstractListTypeTableModel| Method Detail |
|---|
public void domChanged(DOMChangeEvent event)
domChanged in interface DOMChangeListenerevent - a DOMChangeEvent that occuredpublic java.lang.Class getColumnClass(int columnIndex)
getColumnClass in interface javax.swing.table.TableModelgetColumnClass in class javax.swing.table.AbstractTableModelcolumnIndex - the index of the column
public abstract int getColumnCount()
getColumnCount in interface javax.swing.table.TableModelpublic abstract java.lang.String getColumnName(int column)
getColumnName in interface javax.swing.table.TableModelgetColumnName in class javax.swing.table.AbstractTableModelpublic ListType getList()
public int getRowCount()
getRowCount in interface javax.swing.table.TableModelpublic Type getType(int rowIndex)
rowIndex - row position
public abstract java.lang.Object getValueAt(int rowIndex,
int columnIndex)
getValueAt in interface javax.swing.table.TableModelrowIndex - row positioncolumnIndex - column position
public boolean isCellEditable(int row,
int column)
isCellEditable in interface javax.swing.table.TableModelisCellEditable in class javax.swing.table.AbstractTableModelrow - row positioncolumn - column position
public abstract void setValueAt(java.lang.Object aValue,
int rowIndex,
int columnIndex)
setValueAt in interface javax.swing.table.TableModelsetValueAt in class javax.swing.table.AbstractTableModelaValue - 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 | |||||||||