ToolBarButton.setImageIndex

Overview | Methods | This Package | All Packages

ToolBarButton.setImageIndex

Sets the index for the image associated with this button.

Syntax

public final void setImageIndex( int index )

Parameters

index

The index of the image.

Remarks

The index parameter references an image in the parent toolbar's image list. For more information on associating an image list with a toolbar, see ToolBar.setImageList.