kankan.wheel.widget
Interface WheelAdapter


Deprecated. Use WheelViewAdapter

public interface WheelAdapter

Wheel adapter interface


Method Summary
 java.lang.String getItem(int index)
          Deprecated. Gets a wheel item by index.
 int getItemsCount()
          Deprecated. Gets items count
 int getMaximumLength()
          Deprecated. Gets maximum item length.
 

Method Detail

getItemsCount

int getItemsCount()
Deprecated. 
Gets items count

Returns:
the count of wheel items

getItem

java.lang.String getItem(int index)
Deprecated. 
Gets a wheel item by index.

Parameters:
index - the item index
Returns:
the wheel item text or null

getMaximumLength

int getMaximumLength()
Deprecated. 
Gets maximum item length. It is used to determine the wheel width. If -1 is returned there will be used the default wheel width.

Returns:
the maximum item length or -1