public class ShaderControl extends ConfigControl
| Constructor and Description |
|---|
ShaderControl(MultiConfigger configger,
ToggleButtonModel auxLockModel)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
configureForLayers(TopcatLayer[] tclayers,
int iz)
Configures state according to the current state of the control stack.
|
uk.ac.starlink.ttools.plot2.ShadeAxisFactory |
createShadeAxisFactory(TopcatLayer[] tclayers,
int iz,
uk.ac.starlink.ttools.plot2.config.ConfigMap config)
Returns an object which can turn a range into a ShadeAxis
based on current config of this component and a set of layers.
|
uk.ac.starlink.ttools.plot2.Span |
getFixSpan()
Returns an aux value range explicitly fixed by the user.
|
uk.ac.starlink.ttools.plot2.Subrange |
getSubrange()
Returns an aux value subrange set by the user.
|
addSpecifierTab, getConfig, getConfigSpecifiersaddActionListener, addControlTab, addZoneTab, getActionForwarder, getControlIcon, getControlLabel, getPanel, getTabber, removeActionListenerpublic ShaderControl(MultiConfigger configger, ToggleButtonModel auxLockModel)
configger - config source containing some plot-wide config,
specifically captioner styleauxLockModel - toggle to control whether aux ranges are
updated dynamically or held fixed;
may be nullpublic uk.ac.starlink.ttools.plot2.Span getFixSpan()
public uk.ac.starlink.ttools.plot2.Subrange getSubrange()
public uk.ac.starlink.ttools.plot2.ShadeAxisFactory createShadeAxisFactory(TopcatLayer[] tclayers, int iz, uk.ac.starlink.ttools.plot2.config.ConfigMap config)
tclayers - list of layers to which the axis will applyiz - zone index to which axis factory applies,
or -1 for all zonesconfig - configuration for shade axispublic void configureForLayers(TopcatLayer[] tclayers, int iz)
tclayers - list of layers relevant to this shadingiz - zone index, or -1Copyright © 2003-2025 CCLRC: Council for the Central Laboratory of the Research Councils. All Rights Reserved.