|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.swing.table.AbstractTableModel com.jidesoft.grid.TreeTableModel<T> com.jidesoft.grid.PropertyTableModel<T> com.jidesoft.grid.AbstractPropertyTableModel<T>
public abstract class AbstractPropertyTableModel<T extends Property>
The table model is used by PropertyTable. Different from PropertyTableModel, this class doesn't require a list of properties to pass into the constructor. Instead, subclass just need to implement two abstract methods.
Field Summary |
---|
Fields inherited from class com.jidesoft.grid.PropertyTableModel |
---|
_indentNonCategoryRow, CATEGORIZED, SORTED, UNSORTED |
Fields inherited from class com.jidesoft.grid.TreeTableModel |
---|
_filtersApplied |
Fields inherited from class javax.swing.table.AbstractTableModel |
---|
listenerList |
Fields inherited from interface com.jidesoft.grid.EditorStyleTableModel |
---|
EDITOR_STYLE_EDITABLE, EDITOR_STYLE_NORMAL, EDITOR_STYLE_READ_ONLY, EDITOR_STYLE_SELECT_ONLY |
Fields inherited from interface com.jidesoft.grid.MultiTableModel |
---|
FOOTER_COLUMN, HEADER_COLUMN, REGULAR_COLUMN |
Constructor Summary | |
---|---|
AbstractPropertyTableModel()
Creates an empty AbstractPropertyTableModel. |
Method Summary | |
---|---|
protected List<T> |
createPropertyList()
|
abstract T |
getProperty(int index)
Gets the property at the index. |
abstract int |
getPropertyCount()
Gets the number of properties. |
Methods inherited from class javax.swing.table.AbstractTableModel |
---|
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, removeTableModelListener |
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 |
---|
addTableModelListener, getColumnClass, removeTableModelListener |
Constructor Detail |
---|
public AbstractPropertyTableModel()
Method Detail |
---|
protected List<T> createPropertyList()
public abstract int getPropertyCount()
public abstract T getProperty(int index)
index
- the index
|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |