Gridlines

Inheritance: java.lang.Object

public class Gridlines

Represents gridlines that appear in a GanttChart view.

Constructors

ConstructorDescription
Gridlines()

Methods

MethodDescription
getInterval()Gets the number from 0 to 99 that specifies the interval between gridlines.
getIntervalColor()Gets the color of secondary gridlines.
getIntervalPattern()Gets the line pattern for secondary gridlines.
getNormalColor()Gets the color of normal gridlines.
getNormalPattern()Gets the line pattern for normal gridlines.
getType()Gets the gridline type.
setInterval(int value)Sets the number from 0 to 99 that specifies the interval between gridlines.
setIntervalColor(Color value)Sets the color of secondary gridlines.
setIntervalPattern(int value)Sets the line pattern for secondary gridlines.
setNormalColor(Color value)Sets the color of normal gridlines.
setNormalPattern(int value)Sets the line pattern for normal gridlines.
setType(int value)Sets the gridline type.

Gridlines()

public Gridlines()

getInterval()

public final int getInterval()

Gets the number from 0 to 99 that specifies the interval between gridlines.

Returns: int - the number from 0 to 99 that specifies the interval between gridlines.

getIntervalColor()

public final Color getIntervalColor()

Gets the color of secondary gridlines.

Returns: java.awt.Color - the color of secondary gridlines.

getIntervalPattern()

public final int getIntervalPattern()

Gets the line pattern for secondary gridlines.

Returns: int - the line pattern for secondary gridlines.

getNormalColor()

public final Color getNormalColor()

Gets the color of normal gridlines.

Returns: java.awt.Color - the color of normal gridlines.

getNormalPattern()

public final int getNormalPattern()

Gets the line pattern for normal gridlines.

Returns: int - the line pattern for normal gridlines.

getType()

public final int getType()

Gets the gridline type.

Returns: int - the gridline type.

setInterval(int value)

public final void setInterval(int value)

Sets the number from 0 to 99 that specifies the interval between gridlines.

Parameters:

ParameterTypeDescription
valueintthe number from 0 to 99 that specifies the interval between gridlines.

setIntervalColor(Color value)

public final void setIntervalColor(Color value)

Sets the color of secondary gridlines.

Parameters:

ParameterTypeDescription
valuejava.awt.Colorthe color of secondary gridlines.

setIntervalPattern(int value)

public final void setIntervalPattern(int value)

Sets the line pattern for secondary gridlines.

Parameters:

ParameterTypeDescription
valueintthe line pattern for secondary gridlines.

setNormalColor(Color value)

public final void setNormalColor(Color value)

Sets the color of normal gridlines.

Parameters:

ParameterTypeDescription
valuejava.awt.Colorthe color of normal gridlines.

setNormalPattern(int value)

public final void setNormalPattern(int value)

Sets the line pattern for normal gridlines.

Parameters:

ParameterTypeDescription
valueintthe line pattern for normal gridlines.

setType(int value)

public final void setType(int value)

Sets the gridline type.

Parameters:

ParameterTypeDescription
valueintthe gridline type.