com.aspose.tasks

Interfaces

Classes

Exceptions

com.aspose.tasks

Class Gridline



  • public class Gridline
    extends Object

    The horizontal or vertical line that appears in the project view.

    • Constructor Detail

      • Gridline

        public Gridline()
    • Method Detail

      • getPattern

        public int getPattern()

        Returns LinePattern of a gridline.

        Returns:
        gridline line pattern (LinePattern).
      • setPattern

        public void setPattern(int value)

        Sets LinePattern of a gridline.

        Parameters:
        value - gridline line pattern (LinePattern).
      • getGridlineType

        public int getGridlineType()

        Returns type of gridline (GridlineType).

        Returns:
        gridline type (GridlineType).
      • setGridlineType

        public void setGridlineType(int value)

        Sets type of gridline (GridlineType).

        Parameters:
        value - gridline type (GridlineType).
      • getColor

        public Color getColor()

        Returns Color of a gridline.

        Returns:
        gridline color (java.awt.Color).
      • setColor

        public void setColor(Color value)

        Sets Color of a gridline.

        Parameters:
        value - gridline color (java.awt.Color).
      • equals

        public boolean equals(Object obj)
        Returns a value indicating whether this instance is equal to a specified object.
        Overrides:
        equals in class Object
        Parameters:
        obj - The object to compare with this instance.
        Returns:
        <b>True</b> if obj is a Gridline that has the same gridline type.
      • hashCode

        public int hashCode()
        Returns a hash code for this Gridline.
        Overrides:
        hashCode in class Object
        Returns:
        Returns a hash code value for this object.