|
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 com.jidesoft.gantt.DefaultGanttTreeTableModel<T>
public class DefaultGanttTreeTableModel<T extends Row>
This is a TreeTableModel implementation for DefaultGanttModel. It will automatically return 4 columns with the corresponding
column name. It will also try to listen to the table model event from sub entry changes then fire a customized table
model event so that the DefaultGanttModel
could fire correct GanttModelEvent
with correct SubEntryGanttEntry
information.
Field Summary |
---|
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.MultiTableModel |
---|
FOOTER_COLUMN, HEADER_COLUMN, REGULAR_COLUMN |
Constructor Summary | |
---|---|
DefaultGanttTreeTableModel()
Default constructor. |
|
DefaultGanttTreeTableModel(List<? extends T> rows)
Constructor. |
Method Summary | |
---|---|
protected ExpandableRow |
createRoot()
Creates ExpandableRow which will be used as the root row. |
int |
getColumnCount()
|
String |
getColumnName(int column)
|
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 DefaultGanttTreeTableModel()
public DefaultGanttTreeTableModel(List<? extends T> rows)
rows
- the gantt entries.Method Detail |
---|
public int getColumnCount()
public String getColumnName(int column)
getColumnName
in interface TableModel
getColumnName
in class AbstractTableModel
protected ExpandableRow createRoot()
TreeTableModel
ExpandableRow
which will be used as the root row.
createRoot
in class TreeTableModel
RootExpandableRow
.
|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |