DhStyleBase.setBorder

Overview | Methods | Fields | This Package | All Packages

DhStyleBase.setBorder

Sets border values for all sides of the item.

Syntax

public void setBorder( int borderStyle, int borderWidth, int borderWidthUnit, Color borderColor )

Parameters

borderStyle

The border style. This must be one of the DhBorderStyle constants.

borderWidth

The integer border width.

borderWidthUnit

The border width unit. This must be one of the DhUnits constants.

borderColor

The border color.

See Also   DhBorderStyle, DhUnits, Color