|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TimeBarModel
Model for a number of rows containing intervals.
Method Summary | |
---|---|
void |
addTimeBarModelListener(TimeBarModelListener tbml)
Add a listener to listen for changes in the model. |
de.jaret.util.date.JaretDate |
getMaxDate()
Retrieve tha latesr dat ein the model. |
de.jaret.util.date.JaretDate |
getMinDate()
Retrieve the earliest date in the model. |
TimeBarRow |
getRow(int row)
Return the row for the given index. |
int |
getRowCount()
Get the number of rows in the model. |
TimeBarRow |
getRowForInterval(de.jaret.util.date.Interval interval)
Retrieve the TimeBarRow for a given interval. |
void |
remTimeBarModelListener(TimeBarModelListener tbml)
Removes a previously added listener. |
Method Detail |
---|
TimeBarRow getRow(int row)
row
- index of the row
int getRowCount()
de.jaret.util.date.JaretDate getMinDate()
de.jaret.util.date.JaretDate getMaxDate()
TimeBarRow getRowForInterval(de.jaret.util.date.Interval interval)
interval
- interval to gt the row for.
null
if no row could be determined.void addTimeBarModelListener(TimeBarModelListener tbml)
tbml
- TimeBarModelListener for watching the modelvoid remTimeBarModelListener(TimeBarModelListener tbml)
tbml
- TimeBarModelListener to be removed
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |