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 intgetInterval()Gets the number from 0 to 99 that specifies the interval between gridlines.ColorgetIntervalColor()Gets the color of secondary gridlines.intgetIntervalPattern()Gets the line pattern for secondary gridlines.ColorgetNormalColor()Gets the color of normal gridlines.intgetNormalPattern()Gets the line pattern for normal gridlines.intgetType()Gets the gridline type.voidsetInterval(int value)Sets the number from 0 to 99 that specifies the interval between gridlines.voidsetIntervalColor(Color value)Sets the color of secondary gridlines.voidsetIntervalPattern(int value)Sets the line pattern for secondary gridlines.voidsetNormalColor(Color value)Sets the color of normal gridlines.voidsetNormalPattern(int value)Sets the line pattern for normal gridlines.voidsetType(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.
-
-