public interface Gang
Modifier and Type | Method | Description |
---|---|---|
int |
getNavigationZoneIndex(java.awt.Point pos) |
Returns the zone index for the zone to which navigation gestures
referenced at a particular graphics position should be delegated.
|
int |
getZoneCount() |
Returns the number of zones in this gang.
|
java.awt.Rectangle |
getZonePlotBounds(int iz) |
Returns the data bounds for a given zone.
|
int getZoneCount()
java.awt.Rectangle getZonePlotBounds(int iz)
iz
- index of zoneint getNavigationZoneIndex(java.awt.Point pos)
In most cases, if the position falls within the data bounds of a given zone, that zone index will be returned, but if the position falls outside of any zones, it may still be useful to return the index of a zone whose navigator can take care of it. A negative value may be returned to indicate no zone, but generally it's better to indicate some zone rather than none.
pos
- graphics position relating to user navigation gestureCopyright © 2018 Central Laboratory of the Research Councils. All Rights Reserved.