public class IlvNavigationInfo extends Object
Regions are encoded as positive integers according to a hitmap. The integer 0 means "no effect".
IlvHitmapConstants.NAVIGATION_TYPE
Modifier and Type | Field and Description |
---|---|
int |
downTarget
The new focused region after the user presses the down-arrow key,
or 0 if that key has no effect.
|
int |
leftTarget
The new focused region after the user presses the left-arrow key,
or 0 if that key has no effect.
|
int |
rightTarget
The new focused region after the user presses the right-arrow key,
or 0 if that key has no effect.
|
int |
upTarget
The new focused region after the user presses the up-arrow key,
or 0 if that key has no effect.
|
Constructor and Description |
---|
IlvNavigationInfo(int prevTarget,
int nextTarget)
Creates a keyboard navigation info that encodes the targets for the
up-arrow key (acting as "previous item") and the down-arrow key
(acting as "next item").
|
IlvNavigationInfo(int upTarget,
int downTarget,
int leftTarget,
int rightTarget)
Creates a keyboard navigation info that encodes the targets for all
four arrow keys.
|
Modifier and Type | Method and Description |
---|---|
String |
toString()
Converts this navigation info to the form that can be used in the hitmap
info.
|
public int upTarget
public int downTarget
public int leftTarget
public int rightTarget
public IlvNavigationInfo(int prevTarget, int nextTarget)
prevTarget
- The new focused region after the user presses the
up-arrow key, or 0 if that key has no effect.nextTarget
- The new focused region after the user presses the
down-arrow key, or 0 if that key has no effect.public IlvNavigationInfo(int upTarget, int downTarget, int leftTarget, int rightTarget)
upTarget
- The new focused region after the user presses the
up-arrow key, or 0 if that key has no effect.downTarget
- The new focused region after the user presses the
down-arrow key, or 0 if that key has no effect.leftTarget
- The new focused region after the user presses the
left-arrow key, or 0 if that key has no effect.rightTarget
- The new focused region after the user presses the
right-arrow key, or 0 if that key has no effect.© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.