BorderType

Inheritance: java.lang.Object

public final class BorderType

Enumerates the border line and diagonal line types.

Fields

FieldDescription
BOTTOM_BORDERRepresents bottom border line.
DIAGONAL_DOWNRepresents the diagonal line from top left to right bottom.
DIAGONAL_UPRepresents the diagonal line from bottom left to right top.
HORIZONTALOnly for dynamic style,such as conditional formatting.
LEFT_BORDERRepresents left border line.
RIGHT_BORDERRepresents right border line exists.
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_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.

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.

RIGHT_BORDER

public static final int RIGHT_BORDER

Represents right border line exists.

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