public class IlvNavigationInfoGenerator extends IlvAbstractHitmapInfoGenerator
You can override prepareNavigationInfos()
to
define the logic of keyboard navigation.
IlvHitmapConstants.NAVIGATION_TYPE
Modifier and Type | Field and Description |
---|---|
protected IlvNavigationInfo[] |
relations
An array of
IlvNavigationInfo to keep the navigation information
for each hitmap data item. |
hitmapDefinition
Constructor and Description |
---|
IlvNavigationInfoGenerator(IlvHitmapDefinition hitmapDefinition)
Constructor
|
Modifier and Type | Method and Description |
---|---|
String |
buildInformation(String infoType)
Builds the hitmap information for the given information type.
|
protected String |
getRegionInfo(IlvGraphic graphic,
String infoType)
Gets the string like "[21,20,0,0]".
|
protected IlvNavigationInfo[] |
prepareNavigationInfos()
Prepare accessible information.
|
protected IlvNavigationInfo[] relations
IlvNavigationInfo
to keep the navigation information
for each hitmap data item.public IlvNavigationInfoGenerator(IlvHitmapDefinition hitmapDefinition)
hitmapDefinition
- the IlvHitmapDefinition
instance.public String buildInformation(String infoType)
prepareNavigationInfos()
method.buildInformation
in interface IlvHitmapInfoGenerator
buildInformation
in class IlvAbstractHitmapInfoGenerator
protected IlvNavigationInfo[] prepareNavigationInfos()
accessible:[, [26,19,0,0], [25,26,0,0], [24,25,0,0], [22,24,6,0], [23,24,0,0], [22,23,4,0], [21,20,0,0]]
protected String getRegionInfo(IlvGraphic graphic, String infoType)
getRegionInfo
in class IlvAbstractHitmapInfoGenerator
graphic
- The IlvGraphic
object.infoType
- The type of hitmap information.© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.