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 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 final 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 final 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 final int getIntervalPattern()

        Gets a line pattern for secondary grid line.

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

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

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

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

        public final int getNormalPattern()

        Returns a line pattern for normal grid line.

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

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

        public final int getType()

        Returns a grid line type. Read/write GridlineType.

        Returns:
        GridlineType enumerated type value.
      • setType

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