Package uk.ac.starlink.ttools.plot2.geom
Class XyKeyPair<T>
java.lang.Object
uk.ac.starlink.ttools.plot2.geom.XyKeyPair<T>
Represents a pair of configuration keys that apply to the X and Y
axes of a plane plot.
- Since:
- 22 Aug 2023
- Author:
- Mark Taylor
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
XyKeyPair
Constructor.- Parameters:
keyFactory
- maps an axis name (such as "X" or "Y") to a configuration key
-
-
Method Details
-
getKeyX
Returns the config key for the X axis.- Returns:
- X config key
-
getKeyY
Returns the config key for the Y axis.- Returns:
- Y config key
-
createKey
Creates a new key of this type with a named axis.- Parameters:
axName
- axis name- Returns:
- config key for named axis
-