|
ej-technologies | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.table.AbstractTableModel
org.gjt.jclasslib.browser.detail.attributes.AbstractAttributeTableModel
Base class for all table models for attributes displayed by a AbstractAttributeListDetailPane.
Field Summary | |
protected AttributeInfo |
attribute
The associated attribute. |
protected static int |
BASE_COLUMN_COUNT
Number of default columns. |
Fields inherited from class javax.swing.table.AbstractTableModel |
listenerList |
Constructor Summary | |
protected |
AbstractAttributeTableModel(AttributeInfo attribute)
Constructor. |
Method Summary | |
protected abstract Class |
doGetColumnClass(int column)
Attribute specific getColumnClass(). |
protected abstract String |
doGetColumnName(int column)
Attribute specific getColumnName(). |
protected abstract Object |
doGetValueAt(int row,
int column)
Attribute specific getValueAt(). |
Class |
getColumnClass(int column)
|
String |
getColumnName(int column)
|
abstract int |
getColumnWidth(int column)
Get the width of a specified column in pixels. |
TableColumnModel |
getTableColumnModel()
Get the associated table column model. |
Object |
getValueAt(int row,
int column)
|
boolean |
isCellEditable(int rowIndex,
int columnIndex)
|
void |
link(int row,
int column)
Link to the destination described by the target of the hyperlink contained in a specific cell. |
void |
setTableColumnModel(TableColumnModel tableColumnModel)
Set the associated table column model. |
Methods inherited from class javax.swing.table.AbstractTableModel |
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListener, setValueAt |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.swing.table.TableModel |
getColumnCount, getRowCount |
Field Detail |
protected static final int BASE_COLUMN_COUNT
protected AttributeInfo attribute
Constructor Detail |
protected AbstractAttributeTableModel(AttributeInfo attribute)
attribute
- the associated attribute.Method Detail |
public boolean isCellEditable(int rowIndex, int columnIndex)
public String getColumnName(int column)
public Class getColumnClass(int column)
public Object getValueAt(int row, int column)
public TableColumnModel getTableColumnModel()
public void setTableColumnModel(TableColumnModel tableColumnModel)
tableColumnModel
- the modelpublic abstract int getColumnWidth(int column)
column
- the index ofthe column in the table model
protected abstract Object doGetValueAt(int row, int column)
row
- the row numbercolumn
- the column number
protected abstract String doGetColumnName(int column)
column
- the column number
protected abstract Class doGetColumnClass(int column)
column
- the column number
public void link(int row, int column)
row
- the row number of the hyperlinkcolumn
- the column number of the hyperlink
|
ej-technologies | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |