BorderType
Inheritance: java.lang.Object
public final class BorderType
Enumerates the border line and diagonal line types.
Fields
Field | Description |
---|---|
BOTTOM_BORDER | Represents bottom border line. |
DIAGONAL | Special combination of multiple borders for user’s convenience for some APIs. |
DIAGONAL_DOWN | Represents the diagonal line from top left to right bottom. |
DIAGONAL_UP | Represents the diagonal line from bottom left to right top. |
DYNAMIC_STYLE_BORDERS | Indicates VERTICAL and HORIZONTAL of dynamic style. |
HORIZONTAL | Only for dynamic style, such as conditional formatting. |
LEFT_BORDER | Represents left border line. |
NONE | No border has been specified. |
RIGHT_BORDER | Represents right border line exists. |
SIDE_BORDERS | Indicates the four side borders: LEFT_BORDER, RIGHT_BORDER, TOP_BORDER and BOTTOM_BORDER. |
TOP_BORDER | Represents top border line. |
VERTICAL | Only for dynamic style, such as conditional formatting. |
Methods
Method | Description |
---|---|
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:
Parameter | Type | Description |
---|---|---|
arg0 | java.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:
Parameter | Type | Description |
---|---|---|
arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long | |
arg1 | int |