public class Gridline extends Object
The horizontal or vertical line that appears in the project view.
Constructor and Description |
---|
Gridline()
Initializes a new instance of the
Gridline class. |
Modifier and Type | Method and 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 the
LinePattern of a gridline. |
int |
hashCode()
Returns a hash code value for the instance of the
Gridline class. |
void |
setColor(Color value)
|
void |
setGridlineType(int value)
|
void |
setPattern(int value)
Sets the
LinePattern of a gridline. |
public Gridline()
Initializes a new instance of the Gridline
class.
public boolean equals(Object obj)
Returns a flag indicating whether this instance is equal to the specified object.
public final Color getColor()
Gets the Color
(getColor()
/setColor(Color)
) of a gridline.
Color
(getColor()
/setColor(Color)
) of a gridline.public final void setColor(Color value)
Sets the Color
(getColor()
/setColor(Color)
) of a gridline.
value
- the Color
(getColor()
/setColor(Color)
) of a gridline.public final int getGridlineType()
Gets the type of gridline (GridlineType
(getGridlineType()
/setGridlineType(int)
)).
GridlineType
(getGridlineType()
/setGridlineType(int)
)).public final void setGridlineType(int value)
Sets the type of gridline (GridlineType
(getGridlineType()
/setGridlineType(int)
)).
value
- the type of gridline (GridlineType
(getGridlineType()
/setGridlineType(int)
)).public final int getPattern()
Gets the LinePattern
of a gridline.
LinePattern
of a gridline.public final void setPattern(int value)
Sets the LinePattern
of a gridline.
value
- the LinePattern
of a gridline.