Package com.aspose.tasks
Class Gridlines
- java.lang.Object
-
- com.aspose.tasks.Gridlines
-
public class Gridlines extends Object
Represents gridlines that appear in a GanttChart view.
-
-
Constructor Summary
Constructors Constructor Description Gridlines()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getInterval()
Gets the number from 0 to 99 that specifies the interval between gridlines.Color
getIntervalColor()
Gets the color of secondary gridlines.int
getIntervalPattern()
Gets the line pattern for secondary gridlines.Color
getNormalColor()
Gets the color of normal gridlines.int
getNormalPattern()
Gets the line pattern for normal gridlines.int
getType()
Gets the gridline type.void
setInterval(int value)
Sets the number from 0 to 99 that specifies the interval between gridlines.void
setIntervalColor(Color value)
Sets the color of secondary gridlines.void
setIntervalPattern(int value)
Sets the line pattern for secondary gridlines.void
setNormalColor(Color value)
Sets the color of normal gridlines.void
setNormalPattern(int value)
Sets the line pattern for normal gridlines.void
setType(int value)
Sets the gridline type.
-
-
-
Method Detail
-
getInterval
public final int getInterval()
Gets the number from 0 to 99 that specifies the interval between gridlines.
- Returns:
- the number from 0 to 99 that specifies the interval between gridlines.
-
setInterval
public final void setInterval(int value)
Sets the number from 0 to 99 that specifies the interval between gridlines.
- Parameters:
value
- the number from 0 to 99 that specifies the interval between gridlines.
-
getIntervalColor
public final Color getIntervalColor()
Gets the color of secondary gridlines.
- Returns:
- the color of secondary gridlines.
-
setIntervalColor
public final void setIntervalColor(Color value)
Sets the color of secondary gridlines.
- Parameters:
value
- the color of secondary gridlines.
-
getIntervalPattern
public final int getIntervalPattern()
Gets the line pattern for secondary gridlines.
- Returns:
- the line pattern for secondary gridlines.
-
setIntervalPattern
public final void setIntervalPattern(int value)
Sets the line pattern for secondary gridlines.
- Parameters:
value
- the line pattern for secondary gridlines.
-
getNormalColor
public final Color getNormalColor()
Gets the color of normal gridlines.
- Returns:
- the color of normal gridlines.
-
setNormalColor
public final void setNormalColor(Color value)
Sets the color of normal gridlines.
- Parameters:
value
- the color of normal gridlines.
-
getNormalPattern
public final int getNormalPattern()
Gets the line pattern for normal gridlines.
- Returns:
- the line pattern for normal gridlines.
-
setNormalPattern
public final void setNormalPattern(int value)
Sets the line pattern for normal gridlines.
- Parameters:
value
- the line pattern for normal gridlines.
-
getType
public final int getType()
Gets the gridline type.
- Returns:
- the gridline type.
-
setType
public final void setType(int value)
Sets the gridline type.
- Parameters:
value
- the gridline type.
-
-