|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IStatusBarPolicy
A policy that is used to provide the information shown in the status bar. The
status bar displays time points and time spans. Depending on the currently
used dateline model these time points and time spans need to be rendered very
differently. The SimpleGranularityDatelineModel
requires the status
bar to show time points as numbers (1, 2, 3, ....) and time spans as pairs of
numbers (1 - 10, 10 - 20, ...). The TimeGranularityDatelineModel
needs the status bar to display standard time information such as "Mon. Jan
5th".
Method Summary | |
---|---|
java.lang.String |
getTimeNowString(IDatelineModel model,
long time)
Returns a string representing the given time point, which represents time now. |
java.lang.String |
getTimeSpanString(IDatelineModel model,
ITimeSpan span)
Returns a string representing the given time span. |
java.lang.String |
getTimeString(IDatelineModel model,
long time)
Returns a string representing the given time point. |
boolean |
isStatusBarFieldVisible(StatusBarField field)
Determines whether the given status bar field is visible in the Gantt chart status bar or not. |
Method Detail |
---|
java.lang.String getTimeString(IDatelineModel model, long time)
model
- the dateline model currently used by the Gantt charttime
- the time point for which to return a string
java.lang.String getTimeSpanString(IDatelineModel model, ITimeSpan span)
model
- the dateline model currently used by the Gantt chartspan
- the time span for which to return a string
java.lang.String getTimeNowString(IDatelineModel model, long time)
model
- the dateline model currently used by the Gantt charttime
- the time (now) point for which to return a string
boolean isStatusBarFieldVisible(StatusBarField field)
field
- the field to check for visibility
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |