com.aspose.tasks

Interfaces

Classes

Exceptions

com.aspose.tasks

Class Gridlines



  • public class Gridlines
    extends Object

    Represents gridlines that appear in a GanttChart view.

    • Constructor Detail

      • Gridlines

        public Gridlines()
    • Method Detail

      • getInterval

        public int getInterval()

        Gets a number from 0 to 99 that specifies the interval between grid lines.

        Returns:
        a number from 0 to 99 that specifies the interval between grid lines.
      • setInterval

        public void setInterval(int value)
        Sets a number from 0 to 99 that specifies the interval between grid lines.
        Parameters:
        value - a number from 0 to 99 that specifies the interval between grid lines.
      • getIntervalColor

        public Color getIntervalColor()
        Gets a color of secondary grid line.
        Returns:
        a color of secondary grid line.
      • setIntervalColor

        public void setIntervalColor(Color value)
        Sets a color of secondary grid line.
        Parameters:
        value - a color of secondary grid line.
      • getIntervalPattern

        public int getIntervalPattern()

        Gets a line pattern for secondary grid line.

        Returns:
        a line pattern for secondary grid line.
      • setIntervalPattern

        public void setIntervalPattern(int value)
        Sets a line pattern for secondary grid line.
        Parameters:
        value - a line pattern for secondary grid line.
      • getNormalColor

        public Color getNormalColor()
        Returns a color of normal grid line.
        Returns:
        a color of normal grid line.
      • setNormalColor

        public void setNormalColor(Color value)
        Sets a color of normal grid line.
        Parameters:
        value - a color of normal grid line.
      • getNormalPattern

        public int getNormalPattern()

        Returns a line pattern for normal grid line.

        Returns:
        a line pattern for normal grid line.
      • setNormalPattern

        public void setNormalPattern(int value)
        Sets a line pattern for normal grid line.
        Parameters:
        value - a line pattern for normal grid line.
      • getType

        public int getType()

        Returns a grid line type. Read/write GridlineType.

        Returns:
        GridlineType enumerated type value.
      • setType

        public void setType(int value)
        Sets a gridline type.
        Parameters:
        value - GridlineType enumerated type value.