|
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
public abstract class 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 java.lang.Class |
doGetColumnClass(int column)
Attribute specific getColumnClass(). |
protected abstract java.lang.String |
doGetColumnName(int column)
Attribute specific getColumnName(). |
protected abstract java.lang.Object |
doGetValueAt(int row,
int column)
Attribute specific getValueAt(). |
java.lang.Class |
getColumnClass(int column)
|
java.lang.String |
getColumnName(int column)
|
abstract int |
getColumnWidth(int column)
Get the width of a specified column in pixels. |
javax.swing.table.TableColumnModel |
getTableColumnModel()
Get the associated table column model. |
java.lang.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(javax.swing.table.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)
isCellEditable in interface javax.swing.table.TableModelisCellEditable in class javax.swing.table.AbstractTableModelpublic java.lang.String getColumnName(int column)
getColumnName in interface javax.swing.table.TableModelgetColumnName in class javax.swing.table.AbstractTableModelpublic java.lang.Class getColumnClass(int column)
getColumnClass in interface javax.swing.table.TableModelgetColumnClass in class javax.swing.table.AbstractTableModel
public java.lang.Object getValueAt(int row,
int column)
public javax.swing.table.TableColumnModel getTableColumnModel()
public void setTableColumnModel(javax.swing.table.TableColumnModel tableColumnModel)
tableColumnModel - the modelpublic abstract int getColumnWidth(int column)
column - the index ofthe column in the table model
protected abstract java.lang.Object doGetValueAt(int row,
int column)
row - the row numbercolumn - the column number
protected abstract java.lang.String doGetColumnName(int column)
column - the column number
protected abstract java.lang.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 | ||||||||