TabBase.setDisplayRectSize

Overview | Methods | This Package | All Packages

TabBase.setDisplayRectSize

Sets the size the display rectangle for this control.

Syntax

public final void setDisplayRectSize( int width, int height )

public final void setDisplayRectSize( Point p )

Parameters

width

The width of the display rectangle.

height

The height of the display rectangle.

p

A Point object that contains the width and height of the display rectangle.

Remarks

The size of this control adjusts to the size of the display rectangle. The size of the display rectangle can change from the value set with this method when tabs are added or deleted and the number of rows of tabs displayed changes.