|
JBCSolutions - Jbcgrid v1.6 This document is the API specification for the JbcGrid, version 1.6 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.table.AbstractTableModel
jbc.grid.JbcGridAbstractTableModel
public abstract class JbcGridAbstractTableModel
This TableModel extends the AbstractTableModel. You should implement the Abstract classes required by AbstractTableModel. You may extend this class, especially if you are managing huge tables or using a database manager, if you do not want to use vectors or the JbcGridDefaultTableModel.
JbcGridDefaultTableModel
,
Serialized FormConstructor Summary | |
---|---|
JbcGridAbstractTableModel()
|
Method Summary | |
---|---|
javax.swing.JComponent |
getExpandedRowComponent(int row)
You should override this method and return a component that will be used to overload the row. |
javax.swing.JComponent |
getExpandedTreeviewComponent(int row)
You should override this method and return a component that will be used to expand the row. |
boolean |
isExpandableTreeview(int row)
Returns true if this row may be expanded in tree view. |
Methods inherited from class javax.swing.table.AbstractTableModel |
---|
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getColumnName, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAt |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.swing.table.TableModel |
---|
getColumnCount, getRowCount, getValueAt |
Constructor Detail |
---|
public JbcGridAbstractTableModel()
Method Detail |
---|
public boolean isExpandableTreeview(int row)
An expandable row is a row that may answer favourably to the getExpandedTreeviewComponent method.
You should override this method and return true if the specified row is expandable.
isExpandableTreeview
in interface JbcGridInterfaceTableModel
getExpandedTreeviewComponent(int)
public javax.swing.JComponent getExpandedTreeviewComponent(int row)
getExpandedTreeviewComponent
in interface JbcGridInterfaceTableModel
row
- the row index
isExpandableTreeview(int)
public javax.swing.JComponent getExpandedRowComponent(int row)
getExpandedRowComponent
in interface JbcGridInterfaceTableModel
row
- the row index
|
JBCSolutions - Jbcgrid v1.6 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |