Appendix I - borderStyle Values

ValueComment
WINDOW_BORDER_NONENo border
WINDOW_BORDER_FULLBorder on top, left, right and bottom.
WINDOW_BORDER_HORZBorder on top and bottom.
WINDOW_BORDER_VERTBorder on left and right.
WINDOW_BORDER_KCGRADIENT"horizontal border using the gradient bars" - unlikely to work on custom objects as there is no default texture and currently you can't use custom ones.