ColumnHeader.setWidth

Overview | Methods | This Package | All Packages

ColumnHeader.setWidth

Sets the width of the column header.

Syntax

public void setWidth( int width )

Parameters

width

The width, in pixels, of the column header. Set to -1 if you want the width of the column header to adjust to the width of the text of the items in the column. Set to -2 if you want the width of the column header to adjust to the width of the text of the column header. The default value is 60.

See Also   getWidth