Gridline

Inheritance: java.lang.Object

public class Gridline

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

Constructors

ConstructorDescription
Gridline()Initializes a new instance of the Gridline class.

Methods

MethodDescription
equals(Object obj)Returns a flag indicating whether this instance is equal to the specified object.
getColor()Gets the Color (getColor()/setColor(java.awt.Color)) of a gridline.
getGridlineType()Gets the type of gridline ( GridlineType (getGridlineType()/setGridlineType(int))).
getPattern()Gets the LinePattern of a gridline.
hashCode()Returns a hash code value for the instance of the Gridline class.
setColor(Color value)Sets the Color (getColor()/setColor(java.awt.Color)) of a gridline.
setGridlineType(int value)Sets the type of gridline ( GridlineType (getGridlineType()/setGridlineType(int))).
setPattern(int value)Sets the LinePattern of a gridline.

Gridline()

public Gridline()

Initializes a new instance of the Gridline class.

equals(Object obj)

public boolean equals(Object obj)

Returns a flag indicating whether this instance is equal to the specified object.

Parameters:

ParameterTypeDescription
objjava.lang.Objectthe specified object to compare to this instance.

Returns: boolean - a flag indicating whether this instance is equal to the specified object.

getColor()

public final Color getColor()

Gets the Color (getColor()/setColor(java.awt.Color)) of a gridline.

Returns: java.awt.Color - the Color (getColor()/setColor(java.awt.Color)) of a gridline.

getGridlineType()

public final int getGridlineType()

Gets the type of gridline ( GridlineType (getGridlineType()/setGridlineType(int))).

Returns: int - the type of gridline ( GridlineType (getGridlineType()/setGridlineType(int))).

getPattern()

public final int getPattern()

Gets the LinePattern of a gridline.

Returns: int - the LinePattern of a gridline.

hashCode()

public int hashCode()

Returns a hash code value for the instance of the Gridline class.

Returns: int - returns a hash code value for this object.

setColor(Color value)

public final void setColor(Color value)

Sets the Color (getColor()/setColor(java.awt.Color)) of a gridline.

Parameters:

ParameterTypeDescription
valuejava.awt.Colorthe Color (getColor()/setColor(java.awt.Color)) of a gridline.

setGridlineType(int value)

public final void setGridlineType(int value)

Sets the type of gridline ( GridlineType (getGridlineType()/setGridlineType(int))).

Parameters:

ParameterTypeDescription
valueintthe type of gridline ( GridlineType (getGridlineType()/setGridlineType(int))).

setPattern(int value)

public final void setPattern(int value)

Sets the LinePattern of a gridline.

Parameters:

ParameterTypeDescription
valueintthe LinePattern of a gridline.