|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CycleListener
Allows to get notified and to stop the process when an item cycles through its list of children, either from bottom to top, top to bottom, left to right or right to left.
Copyright Enough Software 2010
| Field Summary | |
|---|---|
static int |
DIRECTION_BOTTOM_TO_TOP
Direction is from bottom to the top, so currently the bottom item or element is focused and the top one should receive the focus. |
static int |
DIRECTION_LEFT_TO_RIGHT
Direction is from left to the right, so currently the left item or element is focused and the right one should receive the focus. |
static int |
DIRECTION_RIGHT_TO_LEFT
Direction is from right to the left, so currently the right item or element is focused and the left one should receive the focus. |
static int |
DIRECTION_TOP_TO_BOTTOM
Direction is from top to the bottom, so currently the top item or element is focused and the bottom one should receive the focus. |
| Method Summary | |
|---|---|
boolean |
onCycle(Item item,
int direction)
Notifies the listener about a cycle action. |
| Field Detail |
|---|
static final int DIRECTION_TOP_TO_BOTTOM
static final int DIRECTION_BOTTOM_TO_TOP
static final int DIRECTION_LEFT_TO_RIGHT
static final int DIRECTION_RIGHT_TO_LEFT
| Method Detail |
|---|
boolean onCycle(Item item,
int direction)
item - the item that cyclesdirection - the direction
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||