|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<GridLineMode> com.dlsc.flexgantt.util.GridLineMode
public enum GridLineMode
An enumerator used for controlling the grid that gets applied in the layer
container on the right-hand side of the Gantt chart. The layer container (to
be more precise the GridLayer
) is capable of displaying a major
grid, a minor grid, a combined grid or no grid at all. A minor grid
determines the positions of its vertical lines based on the time granularity
displayed in the bottom half of the dateline. The minor grid uses the upper
half. Example: the major grid uses a days granularity, while the
minor grid would use hours.
AbstractGanttChart.setGridLineMode(GridLineMode)
Enum Constant Summary | |
---|---|
COMBINED_GRID_LINES
A value indicating that vertical grid lines will be drawn at positions dictated by the time granularity displayed in the upper and in the lower half of the dateline. |
|
MAJOR_GRID_LINES
A value indicating that vertical grid lines will be drawn at positions dictated by the time granularity displayed in the upper half of the dateline. |
|
MINOR_GRID_LINES
A value indicating that vertical grid lines will be drawn at positions dictated by the time granularity displayed in the lower half of the dateline. |
|
NO_GRID_LINES
A value indicating that no vertical grid lines are to be drawn by the layer container. |
Method Summary | |
---|---|
static GridLineMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static GridLineMode[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final GridLineMode MAJOR_GRID_LINES
public static final GridLineMode MINOR_GRID_LINES
public static final GridLineMode COMBINED_GRID_LINES
public static final GridLineMode NO_GRID_LINES
Method Detail |
---|
public static final GridLineMode[] values()
for(GridLineMode c : GridLineMode.values()) System.out.println(c);
public static GridLineMode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |