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

      • equals

        public boolean equals(Object obj)
        Returns a flag indicating whether this instance is equal to the specified object.
        Overrides:
        equals in class Object
        Parameters:
        obj - the specified object to compare to this instance.
        Returns:
        a flag indicating whether this instance is equal to the specified object.
      • 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).
      • 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).
      • 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).
      • 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.