|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectkankan.wheel.widget.ItemsRange
public class ItemsRange
Range for visible items.
| Field Summary | |
|---|---|
private int |
count
|
private int |
first
|
| Constructor Summary | |
|---|---|
ItemsRange()
Default constructor. |
|
ItemsRange(int first,
int count)
Constructor |
|
| Method Summary | |
|---|---|
boolean |
contains(int index)
Tests whether item is contained by range |
int |
getCount()
Get items count |
int |
getFirst()
Gets number of first item |
int |
getLast()
Gets number of last item |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private int first
private int count
| Constructor Detail |
|---|
public ItemsRange()
public ItemsRange(int first,
int count)
first - the number of first itemcount - the count of items| Method Detail |
|---|
public int getFirst()
public int getLast()
public int getCount()
public boolean contains(int index)
index - the item number
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||