Package com.aspose.tasks
Class Gridline
- java.lang.Object
-
- com.aspose.tasks.Gridline
-
public class Gridline extends Object
The horizontal or vertical line that appears in the project view.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
Returns a flag indicating whether this instance is equal to the specified object.Color
getColor()
int
getGridlineType()
int
getPattern()
Gets theLinePattern
of a gridline.int
hashCode()
Returns a hash code value for the instance of theGridline
class.void
setColor(Color value)
void
setGridlineType(int value)
void
setPattern(int value)
Sets theLinePattern
of a gridline.
-
-
-
Constructor Detail
-
Gridline
public Gridline()
Initializes a new instance of the
Gridline
class.
-
-
Method Detail
-
equals
public boolean equals(Object obj)
Returns a flag indicating whether this instance is equal to the specified object.
-
getColor
public final Color getColor()
Gets the
Color
(getColor()
/#setColor(Color)
) of a gridline.- Returns:
- the
Color
(getColor()
/#setColor(Color)
) of a gridline.
-
setColor
public final void setColor(Color value)
Sets the
Color
(getColor()
/#setColor(Color)
) of a gridline.- Parameters:
value
- theColor
(getColor()
/#setColor(Color)
) of a gridline.
-
getGridlineType
public final int getGridlineType()
Gets the type of gridline (
GridlineType
(getGridlineType()
/setGridlineType(int)
)).- Returns:
- the type of gridline (
GridlineType
(getGridlineType()
/setGridlineType(int)
)).
-
setGridlineType
public final void setGridlineType(int value)
Sets the type of gridline (
GridlineType
(getGridlineType()
/setGridlineType(int)
)).- Parameters:
value
- the type of gridline (GridlineType
(getGridlineType()
/setGridlineType(int)
)).
-
getPattern
public final int getPattern()
Gets the
LinePattern
of a gridline.- Returns:
- the
LinePattern
of a gridline.
-
setPattern
public final void setPattern(int value)
Sets the
LinePattern
of a gridline.- Parameters:
value
- theLinePattern
of a gridline.
-
-