Previous ION Java User's Guide: ION Java Class and Method Reference Next

getCurrentIndex()

The getCurrentIndex() method retrieves the index of the current drawable.

Syntax

public int getCurrentIndex()

Return Value

The current drawable index. If no drawable is current, -1 is returned.

Arguments

None.

Exceptions

None.

Example

int index = getCurrentIndex();  

  IDL Online Help (March 06, 2007)