Package uk.ac.starlink.topcat.plot2
Class ZoneFactories
java.lang.Object
uk.ac.starlink.topcat.plot2.ZoneFactories
Utility class containing zone factory implementations.
- Since:
- 5 Feb 2016
- Author:
- Mark Taylor
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic ZoneFactory
createIntegerZoneFactory
(boolean autoIncrement) Returns a factory that works with integer-based zone ids.static ZoneFactory
Returns a factory suitable for single-zone use.
-
Field Details
-
FIXED
Single-zone factory.
-
-
Method Details
-
createSingleZoneFactory
Returns a factory suitable for single-zone use.- Parameters:
zid0
- sole zone ID- Returns:
- fixed zone factory
-
createIntegerZoneFactory
Returns a factory that works with integer-based zone ids. Optionally, the default value increments for each subsequent call of getItem.- Parameters:
autoIncrement
- true to force increment of default zone id for each specifier in sequence- Returns:
- factory dispensing integer-based zone ids
-