BorderType

Inheritance: java.lang.Object

public final class BorderType

Enumerates the border line and diagonal line types.

Fields

FieldDescription
BOTTOM_BORDERRepresents bottom border line.
DIAGONALSpecial combination of multiple borders for user’s convenience for some APIs.
DIAGONAL_DOWNRepresents the diagonal line from top left to right bottom.
DIAGONAL_UPRepresents the diagonal line from bottom left to right top.
DYNAMIC_STYLE_BORDERSIndicates VERTICAL and HORIZONTAL of dynamic style.
HORIZONTALOnly for dynamic style, such as conditional formatting.
LEFT_BORDERRepresents left border line.
NONENo border has been specified.
RIGHT_BORDERRepresents right border line exists.
SIDE_BORDERSIndicates the four side borders: LEFT_BORDER, RIGHT_BORDER, TOP_BORDER and BOTTOM_BORDER.
TOP_BORDERRepresents top border line.
VERTICALOnly for dynamic style, such as conditional formatting.

Methods

MethodDescription
equals(Object arg0)
getClass()
hashCode()
notify()
notifyAll()
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

BOTTOM_BORDER

public static final int BOTTOM_BORDER

Represents bottom border line.

DIAGONAL

public static final int DIAGONAL

Special combination of multiple borders for user’s convenience for some APIs. Indicates diagonal borders of DIAGONAL_UP and DIAGONAL_DOWN.

Remarks

It is combination of multiple borders for user’s convenience and can only be used for some APIs that accept multiple border types.

DIAGONAL_DOWN

public static final int DIAGONAL_DOWN

Represents the diagonal line from top left to right bottom.

DIAGONAL_UP

public static final int DIAGONAL_UP

Represents the diagonal line from bottom left to right top.

DYNAMIC_STYLE_BORDERS

public static final int DYNAMIC_STYLE_BORDERS

Indicates VERTICAL and HORIZONTAL of dynamic style.

Remarks

It is combination of multiple borders for user’s convenience and can only be used for some APIs that accept multiple border types.

HORIZONTAL

public static final int HORIZONTAL

Only for dynamic style, such as conditional formatting.

LEFT_BORDER

public static final int LEFT_BORDER

Represents left border line.

NONE

public static final int NONE

No border has been specified.

Remarks

It can only be used for some APIs that accept none or multiple border types.

RIGHT_BORDER

public static final int RIGHT_BORDER

Represents right border line exists.

SIDE_BORDERS

public static final int SIDE_BORDERS

Indicates the four side borders: LEFT_BORDER, RIGHT_BORDER, TOP_BORDER and BOTTOM_BORDER.

Remarks

It is combination of multiple borders for user’s convenience and can only be used for some APIs that accept multiple border types.

TOP_BORDER

public static final int TOP_BORDER

Represents top border line.

VERTICAL

public static final int VERTICAL

Only for dynamic style, such as conditional formatting.

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int