|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IGridLinePolicy
The grid line policy controls the behaviour of the major and minor grid
lines. In general the GridLayer
is capable of displaying either the
minor grid lines, or the major grid lines or both at the same time. Usually
the major grid lines are located on top of a minor grid lines. Depending on
the dateline model however there might be situations where this is not the
case (e.g. the TimeGranularityDatelineModel
showing major grid lines
for months and minor grid lines for 14 days). In these cases it is favourable
to not show the major grid lines at all. This kind of logic can be expressed
by the grid line policy.
GridLayer
,
IDatelineModel.getGrid(int, int, boolean)
,
GridLineMode
,
AbstractGanttChart.setGridLineMode(GridLineMode)
Method Summary | |
---|---|
boolean |
isMajorGridLinesVisible(IDatelineModel model,
GridLineMode mode)
Determines whether the grid lines for the major time units will be shown or not. |
boolean |
isMinorGridLinesVisible(IDatelineModel model,
GridLineMode mode)
Determines whether the grid lines for the minor time units will be shown or not. |
Method Detail |
---|
boolean isMajorGridLinesVisible(IDatelineModel model, GridLineMode mode)
model
- the dateline model currently used by the datelinemode
- the grid mode (show no grid, minor grid, major grid, combined
grid)
boolean isMinorGridLinesVisible(IDatelineModel model, GridLineMode mode)
model
- the dateline model currently used by the datelinemode
- the grid mode (show no grid, minor grid, major grid, combined
grid)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |