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 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. Read/write GridlineType.

        Returns:
        the gridline type.
      • setType

        public final void setType(int value)

        Sets the gridline type. Read/write GridlineType.

        Parameters:
        value - the gridline type.