User Guide
1063
38
CHAPTER 38
RectBorder class
The RectBorder class is used as the border of most components. A separate implementation of
this class is provided by each theme, which has its own set of border styles and properties that
it supports.
You interact with the RectBorder class primarily by setting styles on other components. For
example, when you include a List component in a document and set the
borderStyle style
property, the List component creates a RectBorder instance that uses the list’s
borderStyle
setting. You can also create a custom RectBorder implementation to skin the border of all
components that use RectBorder.
The RectBorder class has four standard display styles:
none, inset, outset, and solid.
The Halo theme also adds four special display styles, which are used by specific components.
The RectBorder behavior and style properties described here are consistent for all components
that use the RectBorder class.
Special style Component that uses it
default
Window
alert
Alert
dropDown
ComboBox and DateField
menuBorder
Menu and MenuBar