|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
T
- The type of the bases unit of the scale, for example Date or Integer.S
- The type of the GanttEntries in the model.public interface GanttModel<T,S extends GanttEntry<T>>
GanttModel
is the model for GanttChart
. It specifies methods that GanttChart
will use to interrogate the underlying gantt entires.
Method Summary | |
---|---|
void |
addGanttModelListener(GanttModelListener listener)
Adds a GanttModelListener. |
S |
getEntryAt(int index)
Gets the entry at the entry index. |
int |
getEntryCount()
Gets the total entry count. |
GanttEntryRelationModel<S> |
getGanttEntryRelationModel()
Gets the model that defines the relationship among gantt entries. |
int |
getIndexOf(S entry)
Gets the index of the entry. |
Range<T> |
getRange()
Gets the range of the GanttModel . |
ScaleModel<T> |
getScaleModel()
Gets the ScaleModel. |
ITreeTableModel<S> |
getTreeTableModel()
Returns the TreeTableModel instance. |
void |
removeGanttModelListener(GanttModelListener listener)
Removes a GanttModelListener. |
Method Detail |
---|
int getEntryCount()
S getEntryAt(int index)
index
- the entry index.
int getIndexOf(S entry)
entry
- the entry
ITreeTableModel<S> getTreeTableModel()
TreeTableModel
instance.
The returned model should also be a TableModel
instance! Enforcing this through the type system would
introduce another generic type.
Range<T> getRange()
GanttModel
. It is the union of the ranges in all the gantt entries.
ScaleModel<T> getScaleModel()
GanttEntryRelationModel<S> getGanttEntryRelationModel()
void addGanttModelListener(GanttModelListener listener)
listener
- the GanttModelListener.void removeGanttModelListener(GanttModelListener listener)
listener
- a GanttModelListener.
|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |