|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface INavigationControl
The INavigationControl
is an interface that allows to control the
behavior of the ENTER
and TAB
key in the implementing
controls.
By default the implementing control is assumed to be a row/column based control.
Field Summary | |
---|---|
static int |
NAVIGATION_CELL_AND_FOCUS
When pressing the ENTER /TAB keys the focus should jump
from cell to cell, without changing the row. |
static int |
NAVIGATION_CELL_AND_ROW_AND_FOCUS
When pressing the ENTER /TAB keys the focus should jump
from cell to cell, if the last cell is reached the next row should be
selected. |
static int |
NAVIGATION_NONE
Nothing should happened when pressing the ENTER /TAB keys. |
static int |
NAVIGATION_ROW_AND_FOCUS
When pressing the ENTER /TAB keys the focus should jump
from row to row. |
Method Summary | |
---|---|
int |
getEnterNavigationMode()
Gets the navigation mode for the ENTER key. |
int |
getTabNavigationMode()
Gets the navigation mode for the TAB key. |
void |
setEnterNavigationMode(int pNavigationMode)
Sets the navigation mode for the ENTER key. |
void |
setTabNavigationMode(int pNavigationMode)
Sets the navigation mode for the TAB key. |
Field Detail |
---|
static final int NAVIGATION_NONE
ENTER
/TAB
keys.
static final int NAVIGATION_CELL_AND_FOCUS
ENTER
/TAB
keys the focus should jump
from cell to cell, without changing the row. If the last cell is reached,
the focus should jump to the next control.
static final int NAVIGATION_CELL_AND_ROW_AND_FOCUS
ENTER
/TAB
keys the focus should jump
from cell to cell, if the last cell is reached the next row should be
selected. If the last row and cell is reached, the focus should jump to
the next control.
static final int NAVIGATION_ROW_AND_FOCUS
ENTER
/TAB
keys the focus should jump
from row to row. If the last row is reached, the focus should jump to the
next control.
Method Detail |
---|
int getEnterNavigationMode()
ENTER
key.
ENTER
key.NAVIGATION_NONE
,
NAVIGATION_CELL_AND_FOCUS
,
NAVIGATION_CELL_AND_ROW_AND_FOCUS
,
NAVIGATION_ROW_AND_FOCUS
void setEnterNavigationMode(int pNavigationMode)
ENTER
key.
pNavigationMode
- the navigation mode for the ENTER
key.NAVIGATION_NONE
,
NAVIGATION_CELL_AND_FOCUS
,
NAVIGATION_CELL_AND_ROW_AND_FOCUS
,
NAVIGATION_ROW_AND_FOCUS
int getTabNavigationMode()
TAB
key.
TAB
key.NAVIGATION_NONE
,
NAVIGATION_CELL_AND_FOCUS
,
NAVIGATION_CELL_AND_ROW_AND_FOCUS
,
NAVIGATION_ROW_AND_FOCUS
void setTabNavigationMode(int pNavigationMode)
TAB
key.
pNavigationMode
- the navigation mode for the TAB
key.NAVIGATION_NONE
,
NAVIGATION_CELL_AND_FOCUS
,
NAVIGATION_CELL_AND_ROW_AND_FOCUS
,
NAVIGATION_ROW_AND_FOCUS
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |