|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.dlsc.flexgantt.policy.AbstractPolicy com.dlsc.flexgantt.policy.layer.DefaultGridLinePolicy
public class DefaultGridLinePolicy
The default implmementation of the grid line policy. For a general
description of this policy please refer to the policy interface
IGridLinePolicy
.
Constructor Summary | |
---|---|
DefaultGridLinePolicy()
|
Method Summary | |
---|---|
boolean |
isMajorGridLinesVisible(IDatelineModel datelineModel,
GridLineMode mode)
Determines whether the grid lines for the major time units will be shown or not. |
boolean |
isMinorGridLinesVisible(IDatelineModel datelineModel,
GridLineMode mode)
Determines whether the grid lines for the minor time units will be shown or not. |
Methods inherited from class com.dlsc.flexgantt.policy.AbstractPolicy |
---|
assertClass |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultGridLinePolicy()
Method Detail |
---|
public boolean isMajorGridLinesVisible(IDatelineModel datelineModel, GridLineMode mode)
IGridLinePolicy
isMajorGridLinesVisible
in interface IGridLinePolicy
datelineModel
- the dateline model currently used by the datelinemode
- the grid mode (show no grid, minor grid, major grid, combined
grid)
public boolean isMinorGridLinesVisible(IDatelineModel datelineModel, GridLineMode mode)
IGridLinePolicy
isMinorGridLinesVisible
in interface IGridLinePolicy
datelineModel
- 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 |