ToolBarButton.getImageIndex

Overview | Methods | This Package | All Packages

ToolBarButton.getImageIndex

Retrieves the index of the image displayed on this button.

Syntax

public final int getImageIndex()

Return Value

Returns the index of the image, if one is associated with this button; otherwise, returns -1.

Remarks

The value returned by this method specifies an image in the parent toolbar's image list.